Last active
November 16, 2023 17:51
-
-
Save rvc-mf/c2c4c82713cd8da4a95a3bf079d43cb4 to your computer and use it in GitHub Desktop.
K8s Service Helm Chart Statefulset Tests
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Running tool: /usr/local/go/bin/go test -timeout 30s -run ^TestK8SServiceStatefulset$ github.com/gruntwork-io/helm-kubernetes-services/test | |
=== RUN TestK8SServiceStatefulset | |
=== PAUSE TestK8SServiceStatefulset | |
=== CONT TestK8SServiceStatefulset | |
TestK8SServiceStatefulset 2023-11-16T10:38:11-07:00 /home/rogvc/projects/gw-k8s-services/test/client.go:42: Configuring Kubernetes client using config file /home/rogvc/.kube/config with context | |
TestK8SServiceStatefulset 2023-11-16T10:38:11-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: Running command helm with args [install --namespace k8s-service-6gshxi -f /home/rogvc/projects/gw-k8s-services/charts/k8s-service/linter_values.yaml -f /home/rogvc/projects/gw-k8s-services/test/fixtures/main_statefulset_values.yaml k8s-service-6gshxi /home/rogvc/projects/gw-k8s-services/charts/k8s-service] | |
TestK8SServiceStatefulset 2023-11-16T10:38:11-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: NAME: k8s-service-6gshxi | |
TestK8SServiceStatefulset 2023-11-16T10:38:11-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: LAST DEPLOYED: Thu Nov 16 10:38:11 2023 | |
TestK8SServiceStatefulset 2023-11-16T10:38:11-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: NAMESPACE: k8s-service-6gshxi | |
TestK8SServiceStatefulset 2023-11-16T10:38:11-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: STATUS: deployed | |
TestK8SServiceStatefulset 2023-11-16T10:38:11-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: REVISION: 1 | |
TestK8SServiceStatefulset 2023-11-16T10:38:11-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: TEST SUITE: None | |
TestK8SServiceStatefulset 2023-11-16T10:38:11-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: NOTES: | |
TestK8SServiceStatefulset 2023-11-16T10:38:11-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: Check the status of your Deployment by running this comamnd: | |
TestK8SServiceStatefulset 2023-11-16T10:38:11-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: | |
TestK8SServiceStatefulset 2023-11-16T10:38:11-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: kubectl get deployments --namespace k8s-service-6gshxi -l "app.kubernetes.io/name=sts-test,app.kubernetes.io/instance=k8s-service-6gshxi" | |
TestK8SServiceStatefulset 2023-11-16T10:38:11-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: | |
TestK8SServiceStatefulset 2023-11-16T10:38:11-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: | |
TestK8SServiceStatefulset 2023-11-16T10:38:11-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: List the related Pods with the following command: | |
TestK8SServiceStatefulset 2023-11-16T10:38:11-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: | |
TestK8SServiceStatefulset 2023-11-16T10:38:11-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: kubectl get pods --namespace k8s-service-6gshxi -l "app.kubernetes.io/name=sts-test,app.kubernetes.io/instance=k8s-service-6gshxi" | |
TestK8SServiceStatefulset 2023-11-16T10:38:11-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: | |
TestK8SServiceStatefulset 2023-11-16T10:38:11-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: | |
TestK8SServiceStatefulset 2023-11-16T10:38:11-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: Use the following command to view information about the Service: | |
TestK8SServiceStatefulset 2023-11-16T10:38:11-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: | |
TestK8SServiceStatefulset 2023-11-16T10:38:11-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: kubectl get services --namespace k8s-service-6gshxi -l "app.kubernetes.io/name=sts-test,app.kubernetes.io/instance=k8s-service-6gshxi" | |
TestK8SServiceStatefulset 2023-11-16T10:38:11-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: | |
TestK8SServiceStatefulset 2023-11-16T10:38:11-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: | |
TestK8SServiceStatefulset 2023-11-16T10:38:11-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: Get the application URL by running these commands: | |
TestK8SServiceStatefulset 2023-11-16T10:38:11-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: export NODE_PORT=$(kubectl get --namespace k8s-service-6gshxi -o jsonpath="{.spec.ports[0].nodePort}" services k8s-service-6gshxi-sts-test) | |
TestK8SServiceStatefulset 2023-11-16T10:38:11-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: export NODE_IP=$(kubectl get nodes --namespace k8s-service-6gshxi -o jsonpath="{.items[0].status.addresses[0].address}") | |
TestK8SServiceStatefulset 2023-11-16T10:38:11-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: echo http://$NODE_IP:$NODE_PORT | |
TestK8SServiceStatefulset 2023-11-16T10:38:11-07:00 /home/rogvc/projects/gw-k8s-services/test/retry.go:91: Wait for num pods created to match desired count 3. | |
TestK8SServiceStatefulset 2023-11-16T10:38:11-07:00 /home/rogvc/projects/gw-k8s-services/test/client.go:42: Configuring Kubernetes client using config file /home/rogvc/.kube/config with context | |
TestK8SServiceStatefulset 2023-11-16T10:38:11-07:00 /home/rogvc/projects/gw-k8s-services/test/retry.go:103: Wait for num pods created to match desired count 3. returned an error: Desired number of pods (3) matching filter {{ } app.kubernetes.io/name=sts-test,app.kubernetes.io/instance=k8s-service-6gshxi,gruntwork.io/deployment-type=main false false <nil> 0 } not yet created. Sleeping for 5s and will try again. | |
TestK8SServiceStatefulset 2023-11-16T10:38:16-07:00 /home/rogvc/projects/gw-k8s-services/test/retry.go:91: Wait for num pods created to match desired count 3. | |
TestK8SServiceStatefulset 2023-11-16T10:38:16-07:00 /home/rogvc/projects/gw-k8s-services/test/client.go:42: Configuring Kubernetes client using config file /home/rogvc/.kube/config with context | |
TestK8SServiceStatefulset 2023-11-16T10:38:16-07:00 /home/rogvc/projects/gw-k8s-services/test/pod.go:101: Desired number of Pods created | |
TestK8SServiceStatefulset 2023-11-16T10:38:16-07:00 /home/rogvc/projects/gw-k8s-services/test/client.go:42: Configuring Kubernetes client using config file /home/rogvc/.kube/config with context | |
TestK8SServiceStatefulset 2023-11-16T10:38:16-07:00 /home/rogvc/projects/gw-k8s-services/test/retry.go:91: Wait for pod k8s-service-6gshxi-sts-test-0 to be provisioned. | |
TestK8SServiceStatefulset 2023-11-16T10:38:16-07:00 /home/rogvc/projects/gw-k8s-services/test/client.go:42: Configuring Kubernetes client using config file /home/rogvc/.kube/config with context | |
TestK8SServiceStatefulset 2023-11-16T10:38:16-07:00 /home/rogvc/projects/gw-k8s-services/test/pod.go:135: Pod is now available | |
TestK8SServiceStatefulset 2023-11-16T10:38:16-07:00 /home/rogvc/projects/gw-k8s-services/test/retry.go:91: Wait for pod k8s-service-6gshxi-sts-test-1 to be provisioned. | |
TestK8SServiceStatefulset 2023-11-16T10:38:16-07:00 /home/rogvc/projects/gw-k8s-services/test/client.go:42: Configuring Kubernetes client using config file /home/rogvc/.kube/config with context | |
TestK8SServiceStatefulset 2023-11-16T10:38:16-07:00 /home/rogvc/projects/gw-k8s-services/test/pod.go:135: Pod is now available | |
TestK8SServiceStatefulset 2023-11-16T10:38:16-07:00 /home/rogvc/projects/gw-k8s-services/test/retry.go:91: Wait for pod k8s-service-6gshxi-sts-test-2 to be provisioned. | |
TestK8SServiceStatefulset 2023-11-16T10:38:16-07:00 /home/rogvc/projects/gw-k8s-services/test/client.go:42: Configuring Kubernetes client using config file /home/rogvc/.kube/config with context | |
TestK8SServiceStatefulset 2023-11-16T10:38:16-07:00 /home/rogvc/projects/gw-k8s-services/test/pod.go:135: Pod is now available | |
TestK8SServiceStatefulset 2023-11-16T10:38:16-07:00 /home/rogvc/projects/gw-k8s-services/test/client.go:42: Configuring Kubernetes client using config file /home/rogvc/.kube/config with context | |
TestK8SServiceStatefulset 2023-11-16T10:38:16-07:00 /home/rogvc/projects/gw-k8s-services/test/tunnel.go:153: Creating a port forwarding tunnel for resource pod/k8s-service-6gshxi-sts-test-0 routing local port 42969 to remote port 80 | |
TestK8SServiceStatefulset 2023-11-16T10:38:16-07:00 /home/rogvc/projects/gw-k8s-services/test/client.go:42: Configuring Kubernetes client using config file /home/rogvc/.kube/config with context | |
TestK8SServiceStatefulset 2023-11-16T10:38:16-07:00 /home/rogvc/projects/gw-k8s-services/test/tunnel.go:185: Selected pod k8s-service-6gshxi-sts-test-0 to open port forward to | |
TestK8SServiceStatefulset 2023-11-16T10:38:16-07:00 /home/rogvc/projects/gw-k8s-services/test/tunnel.go:198: Using URL https://192.168.49.2:8443/api/v1/namespaces/k8s-service-6gshxi/pods/k8s-service-6gshxi-sts-test-0/portforward to create portforward | |
TestK8SServiceStatefulset 2023-11-16T10:38:16-07:00 /home/rogvc/projects/gw-k8s-services/test/tunnel.go:247: Successfully created port forwarding tunnel | |
TestK8SServiceStatefulset 2023-11-16T10:38:16-07:00 /home/rogvc/projects/gw-k8s-services/test/retry.go:91: HTTP GET to URL http://localhost:42969 | |
TestK8SServiceStatefulset 2023-11-16T10:38:16-07:00 /home/rogvc/projects/gw-k8s-services/test/http_helper.go:59: Making an HTTP GET call to URL http://localhost:42969 | |
TestK8SServiceStatefulset 2023-11-16T10:38:16-07:00 /home/rogvc/projects/gw-k8s-services/test/tunnel.go:153: Creating a port forwarding tunnel for resource pod/k8s-service-6gshxi-sts-test-1 routing local port 36645 to remote port 80 | |
TestK8SServiceStatefulset 2023-11-16T10:38:16-07:00 /home/rogvc/projects/gw-k8s-services/test/client.go:42: Configuring Kubernetes client using config file /home/rogvc/.kube/config with context | |
TestK8SServiceStatefulset 2023-11-16T10:38:16-07:00 /home/rogvc/projects/gw-k8s-services/test/tunnel.go:185: Selected pod k8s-service-6gshxi-sts-test-1 to open port forward to | |
TestK8SServiceStatefulset 2023-11-16T10:38:16-07:00 /home/rogvc/projects/gw-k8s-services/test/tunnel.go:198: Using URL https://192.168.49.2:8443/api/v1/namespaces/k8s-service-6gshxi/pods/k8s-service-6gshxi-sts-test-1/portforward to create portforward | |
TestK8SServiceStatefulset 2023-11-16T10:38:16-07:00 /home/rogvc/projects/gw-k8s-services/test/tunnel.go:247: Successfully created port forwarding tunnel | |
TestK8SServiceStatefulset 2023-11-16T10:38:16-07:00 /home/rogvc/projects/gw-k8s-services/test/retry.go:91: HTTP GET to URL http://localhost:36645 | |
TestK8SServiceStatefulset 2023-11-16T10:38:16-07:00 /home/rogvc/projects/gw-k8s-services/test/http_helper.go:59: Making an HTTP GET call to URL http://localhost:36645 | |
TestK8SServiceStatefulset 2023-11-16T10:38:16-07:00 /home/rogvc/projects/gw-k8s-services/test/tunnel.go:153: Creating a port forwarding tunnel for resource pod/k8s-service-6gshxi-sts-test-2 routing local port 39113 to remote port 80 | |
TestK8SServiceStatefulset 2023-11-16T10:38:16-07:00 /home/rogvc/projects/gw-k8s-services/test/client.go:42: Configuring Kubernetes client using config file /home/rogvc/.kube/config with context | |
TestK8SServiceStatefulset 2023-11-16T10:38:16-07:00 /home/rogvc/projects/gw-k8s-services/test/tunnel.go:185: Selected pod k8s-service-6gshxi-sts-test-2 to open port forward to | |
TestK8SServiceStatefulset 2023-11-16T10:38:16-07:00 /home/rogvc/projects/gw-k8s-services/test/tunnel.go:198: Using URL https://192.168.49.2:8443/api/v1/namespaces/k8s-service-6gshxi/pods/k8s-service-6gshxi-sts-test-2/portforward to create portforward | |
TestK8SServiceStatefulset 2023-11-16T10:38:16-07:00 /home/rogvc/projects/gw-k8s-services/test/tunnel.go:247: Successfully created port forwarding tunnel | |
TestK8SServiceStatefulset 2023-11-16T10:38:16-07:00 /home/rogvc/projects/gw-k8s-services/test/retry.go:91: HTTP GET to URL http://localhost:39113 | |
TestK8SServiceStatefulset 2023-11-16T10:38:16-07:00 /home/rogvc/projects/gw-k8s-services/test/http_helper.go:59: Making an HTTP GET call to URL http://localhost:39113 | |
TestK8SServiceStatefulset 2023-11-16T10:38:16-07:00 /home/rogvc/projects/gw-k8s-services/test/client.go:42: Configuring Kubernetes client using config file /home/rogvc/.kube/config with context | |
TestK8SServiceStatefulset 2023-11-16T10:38:16-07:00 /home/rogvc/projects/gw-k8s-services/test/retry.go:91: Wait for service k8s-service-6gshxi-sts-test to be provisioned. | |
TestK8SServiceStatefulset 2023-11-16T10:38:16-07:00 /home/rogvc/projects/gw-k8s-services/test/client.go:42: Configuring Kubernetes client using config file /home/rogvc/.kube/config with context | |
TestK8SServiceStatefulset 2023-11-16T10:38:16-07:00 /home/rogvc/projects/gw-k8s-services/test/node.go:33: Getting list of nodes from Kubernetes | |
TestK8SServiceStatefulset 2023-11-16T10:38:16-07:00 /home/rogvc/projects/gw-k8s-services/test/client.go:42: Configuring Kubernetes client using config file /home/rogvc/.kube/config with context | |
TestK8SServiceStatefulset 2023-11-16T10:38:16-07:00 /home/rogvc/projects/gw-k8s-services/test/service.go:86: Service is now available | |
TestK8SServiceStatefulset 2023-11-16T10:38:16-07:00 /home/rogvc/projects/gw-k8s-services/test/client.go:42: Configuring Kubernetes client using config file /home/rogvc/.kube/config with context | |
TestK8SServiceStatefulset 2023-11-16T10:38:16-07:00 /home/rogvc/projects/gw-k8s-services/test/node.go:33: Getting list of nodes from Kubernetes | |
TestK8SServiceStatefulset 2023-11-16T10:38:16-07:00 /home/rogvc/projects/gw-k8s-services/test/client.go:42: Configuring Kubernetes client using config file /home/rogvc/.kube/config with context | |
TestK8SServiceStatefulset 2023-11-16T10:38:16-07:00 /home/rogvc/projects/gw-k8s-services/test/retry.go:91: Read Server header returned by nginx | |
TestK8SServiceStatefulset 2023-11-16T10:38:16-07:00 /home/rogvc/projects/gw-k8s-services/test/k8s_service_example_test_helpers.go:323: Successfully saw main nginx tags via service: map[1.14.2:true] | |
TestK8SServiceStatefulset 2023-11-16T10:38:16-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: Running command helm with args [delete --namespace k8s-service-6gshxi k8s-service-6gshxi] | |
TestK8SServiceStatefulset 2023-11-16T10:38:16-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: release "k8s-service-6gshxi" uninstalled | |
TestK8SServiceStatefulset 2023-11-16T10:38:16-07:00 /home/rogvc/projects/gw-k8s-services/test/client.go:42: Configuring Kubernetes client using config file /home/rogvc/.kube/config with context | |
--- PASS: TestK8SServiceStatefulset (5.49s) | |
PASS | |
ok github.com/gruntwork-io/helm-kubernetes-services/test 5.515s |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Running tool: /usr/local/go/bin/go test -timeout 30s -run ^TestK8SServiceCreateStatefulset$ github.com/gruntwork-io/helm-kubernetes-services/test | |
=== RUN TestK8SServiceCreateStatefulset | |
=== PAUSE TestK8SServiceCreateStatefulset | |
=== CONT TestK8SServiceCreateStatefulset | |
TestK8SServiceCreateStatefulset 2023-11-16T10:39:35-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: Running command helm with args [dependency build /home/rogvc/projects/gw-k8s-services/charts/k8s-service] | |
TestK8SServiceCreateStatefulset 2023-11-16T10:39:35-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: Running command helm with args [template --set workloadType=statefulset -f /home/rogvc/projects/gw-k8s-services/charts/k8s-service/linter_values.yaml --show-only templates/statefulset.yaml statefulset /home/rogvc/projects/gw-k8s-services/charts/k8s-service] | |
TestK8SServiceCreateStatefulset 2023-11-16T10:39:35-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: --- | |
TestK8SServiceCreateStatefulset 2023-11-16T10:39:35-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: # Source: k8s-service/templates/statefulset.yaml | |
TestK8SServiceCreateStatefulset 2023-11-16T10:39:35-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: apiVersion: apps/v1 | |
TestK8SServiceCreateStatefulset 2023-11-16T10:39:35-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: kind: StatefulSet | |
TestK8SServiceCreateStatefulset 2023-11-16T10:39:35-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: metadata: | |
TestK8SServiceCreateStatefulset 2023-11-16T10:39:35-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: name: statefulset-linter | |
TestK8SServiceCreateStatefulset 2023-11-16T10:39:35-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: labels: | |
TestK8SServiceCreateStatefulset 2023-11-16T10:39:35-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: # These labels are required by helm. You can read more about required labels in the chart best practices guide: | |
TestK8SServiceCreateStatefulset 2023-11-16T10:39:35-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: # https://docs.helm.sh/chart_best_practices/#standard-labels | |
TestK8SServiceCreateStatefulset 2023-11-16T10:39:35-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: helm.sh/chart: k8s-service-0.0.1-replace | |
TestK8SServiceCreateStatefulset 2023-11-16T10:39:35-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: app.kubernetes.io/name: linter | |
TestK8SServiceCreateStatefulset 2023-11-16T10:39:35-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: app.kubernetes.io/instance: statefulset | |
TestK8SServiceCreateStatefulset 2023-11-16T10:39:35-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: app.kubernetes.io/managed-by: Helm | |
TestK8SServiceCreateStatefulset 2023-11-16T10:39:35-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: spec: | |
TestK8SServiceCreateStatefulset 2023-11-16T10:39:35-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: replicas: 1 | |
TestK8SServiceCreateStatefulset 2023-11-16T10:39:35-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: serviceName: statefulset-linter | |
TestK8SServiceCreateStatefulset 2023-11-16T10:39:35-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: selector: | |
TestK8SServiceCreateStatefulset 2023-11-16T10:39:35-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: matchLabels: | |
TestK8SServiceCreateStatefulset 2023-11-16T10:39:35-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: app.kubernetes.io/name: linter | |
TestK8SServiceCreateStatefulset 2023-11-16T10:39:35-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: app.kubernetes.io/instance: statefulset | |
TestK8SServiceCreateStatefulset 2023-11-16T10:39:35-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: gruntwork.io/deployment-type: main | |
TestK8SServiceCreateStatefulset 2023-11-16T10:39:35-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: template: | |
TestK8SServiceCreateStatefulset 2023-11-16T10:39:35-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: metadata: | |
TestK8SServiceCreateStatefulset 2023-11-16T10:39:35-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: labels: | |
TestK8SServiceCreateStatefulset 2023-11-16T10:39:35-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: app.kubernetes.io/name: linter | |
TestK8SServiceCreateStatefulset 2023-11-16T10:39:35-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: app.kubernetes.io/instance: statefulset | |
TestK8SServiceCreateStatefulset 2023-11-16T10:39:35-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: gruntwork.io/deployment-type: main | |
TestK8SServiceCreateStatefulset 2023-11-16T10:39:35-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: spec: | |
TestK8SServiceCreateStatefulset 2023-11-16T10:39:35-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: | |
TestK8SServiceCreateStatefulset 2023-11-16T10:39:35-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: containers: | |
TestK8SServiceCreateStatefulset 2023-11-16T10:39:35-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: - name: linter | |
TestK8SServiceCreateStatefulset 2023-11-16T10:39:35-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: image: "nginx:stable" | |
TestK8SServiceCreateStatefulset 2023-11-16T10:39:35-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: imagePullPolicy: IfNotPresent | |
TestK8SServiceCreateStatefulset 2023-11-16T10:39:35-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: ports: | |
TestK8SServiceCreateStatefulset 2023-11-16T10:39:35-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: - name: http | |
TestK8SServiceCreateStatefulset 2023-11-16T10:39:35-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: containerPort: 80 | |
TestK8SServiceCreateStatefulset 2023-11-16T10:39:35-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: protocol: TCP | |
TestK8SServiceCreateStatefulset 2023-11-16T10:39:35-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: resources: | |
TestK8SServiceCreateStatefulset 2023-11-16T10:39:35-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: {} | |
TestK8SServiceCreateStatefulset 2023-11-16T10:39:35-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: lifecycle: | |
TestK8SServiceCreateStatefulset 2023-11-16T10:39:35-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: # Include a preStop hook with a shutdown delay for eventual consistency reasons. | |
TestK8SServiceCreateStatefulset 2023-11-16T10:39:35-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: # See https://blog.gruntwork.io/delaying-shutdown-to-wait-for-pod-deletion-propagation-445f779a8304 | |
TestK8SServiceCreateStatefulset 2023-11-16T10:39:35-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: preStop: | |
TestK8SServiceCreateStatefulset 2023-11-16T10:39:35-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: exec: | |
TestK8SServiceCreateStatefulset 2023-11-16T10:39:35-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: command: | |
TestK8SServiceCreateStatefulset 2023-11-16T10:39:35-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: - sleep | |
TestK8SServiceCreateStatefulset 2023-11-16T10:39:35-07:00 /home/rogvc/projects/gw-k8s-services/test/logger.go:66: - "5" | |
--- PASS: TestK8SServiceCreateStatefulset (0.06s) | |
PASS | |
ok github.com/gruntwork-io/helm-kubernetes-services/test 0.084s |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment