Last active
April 29, 2024 14:58
-
-
Save qudongfang/caf14a5fddef540edc33b79fbc8db40b to your computer and use it in GitHub Desktop.
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
for c in $(kubectx | grep -v gov | grep -v dev); do | |
echo $c; | |
kubectx $c | |
kubectl delete deployments istiod -n istio-system | |
kubectl delete hpa istiod -n istio-system | |
kubectl delete pdb istiod -n istio-system | |
kubectl delete svc istiod -n istio-system --wait=false | |
kubectl delete cm -n istio-system istio | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment