Skip to content

Instantly share code, notes, and snippets.

View qudongfang's full-sized avatar
😃
Focusing

Dongfang Qu qudongfang

😃
Focusing
  • Dublin, Ireland
  • 13:03 (UTC +01:00)
View GitHub Profile
for c in $(kubectx | grep -v gov | grep -v dev); do
echo $c;
kubectx $c
kubectl -n istio-system patch iop istio-control-plane --type=json --patch='[ { "op": "remove", "path": "/metadata/finalizers" } ]'
istioctl tag set default --revision 1-20-5 --overwrite
kubectl -n flux-system --wait=false delete kustomization/istio-operator-bootstrap
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
@qudongfang
qudongfang / flux change flowchart.md
Last active February 14, 2025 10:57
flux change flowchart

happy flow

All issues were found during the Checks&Tests. No bad changes were rolled out.

flowchart TD
    A[stage 0/PR] --> B[github actions/localstack];
    B -- Yes --> C[stage 1 rollout];
    B -- No  --> D[block PR merge];