Clear stucked pods after examples
@@ -128,11 +128,13 @@ executions:
make k8s-logs-snapshot
make helm-delete-vpn helm-delete-nsm
make k8s-deconfig k8s-config
+ kubectl delete pods --force --grace-period 0 -n "$NSM_NAMESPACE" --all
on_fail: |
kubectl get pod -o=custom-columns=NAME:.metadata.name,STATUS:.status.phase,NODE:.spec.nodeName --all-namespaces
make k8s-logs-snapshot
make helm-delete-vpn helm-delete-nsm
make k8s-deconfig k8s-config
+ kubectl delete pods --force --grace-period 0 -n "$NSM_NAMESPACE" --all
- name: "Example-helm-icmp"
kind: shell
@@ -149,8 +151,10 @@ executions:
make k8s-logs-snapshot
make helm-delete-icmp-responder helm-delete-nsm
make k8s-deconfig k8s-config
+ kubectl delete pods --force --grace-period 0 -n "$NSM_NAMESPACE" --all
on_fail: |
kubectl get pod -o=custom-columns=NAME:.metadata.name,STATUS:.status.phase,NODE:.spec.nodeName --all-namespaces
make k8s-logs-snapshot
make helm-delete-icmp-responder helm-delete-nsm
make k8s-deconfig k8s-config
+ kubectl delete pods --force --grace-period 0 -n "$NSM_NAMESPACE" --all
