You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This causes Cilium daemonset to be deleted and recreated. This allows for two Cilium pods - one terminating from deleted daemonset, one initializing from new daemonset to coexist at the same node and can cause cni-uninstall.sh to be called after cni-install.sh causing breakage.
The timing on this race is really tight and it would not manifest often, but it happens in our CI, where we delete-recreate daemonsets pretty often.
Tinkering with terminationGracePeriodSeconds and adding sleep ensures that it will be reproduced every time.
The text was updated successfully, but these errors were encountered:
Bug report
How to reproduce the issue
terminationGracePeriodSeconds
to120
preStop
command tocommand: ["sh", "-c", "sleep 60 && /cni-uninstall.sh"]
2
kubectl apply -f install/kubernetes/quick-install.yaml
kubectl delete ds cilium -n kube-system && kubectl apply -f install/kubernetes/quick-install.yaml
This causes Cilium daemonset to be deleted and recreated. This allows for two Cilium pods - one terminating from deleted daemonset, one initializing from new daemonset to coexist at the same node and can cause
cni-uninstall.sh
to be called aftercni-install.sh
causing breakage.The timing on this race is really tight and it would not manifest often, but it happens in our CI, where we delete-recreate daemonsets pretty often.
Tinkering with
terminationGracePeriodSeconds
and addingsleep
ensures that it will be reproduced every time.The text was updated successfully, but these errors were encountered: