Skip to content

Instantly share code, notes, and snippets.

View rvennam's full-sized avatar

Ram Vennam rvennam

View GitHub Profile
echo "====== Cleaning"
kubectl -n istio-operator get IstioControlPlane example-istiocontrolplane -o=json | jq '.metadata.finalizers = null' | kubectl delete -f -
kubectl -n istio-operator get IstioControlPlane managed-istiocontrolplane -o=json | jq '.metadata.finalizers = null' | kubectl delete -f -
sleep 60
kubectl delete ns istio-operator --grace-period=0 --force
kubectl delete ns istio-system --grace-period=0 --force
sleep 30
echo "====== Installing Operator"
kubectl apply -f https://istio.io/operator.yaml