We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent de03298 commit 7c27762Copy full SHA for 7c27762
1 file changed
cert-generator/setup-k8s.sh
@@ -89,6 +89,9 @@ echo "Connected to Kubernetes"
89
# Create namespace
90
kubectl create namespace integr8scode --dry-run=client -o yaml | kubectl apply -f -
91
92
+# Clean up stale executor pods from previous runs so they don't consume ResourceQuota
93
+kubectl delete pods -n integr8scode -l component=executor --field-selector=status.phase!=Running --ignore-not-found 2>/dev/null || true
94
+
95
# Create ServiceAccount
96
kubectl apply -f - <<EOF
97
apiVersion: v1
0 commit comments