New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: deleted the pods that are not unmanaged by Cilium #22911
Conversation
Set operator to remove the label of a pod that existed before the node taint 1. Delete the specified label pod according to the parameter --pod-restart-selector, default value is k8s-app=kube-dns 2. --pod-restart-selector="" Remove all pods Fixes: cilium#21594 Signed-off-by: tigerK <yanru.lv@daocloud.io>
@joestringer @christarazi @aanm @nebril Sorry, please see this,My last pr time was too long there were a lot of other commissions between the two commissions |
/test |
Will this make it into 1.13.1? If so, do we know approximately when 1.13.1 will be released? Thanks! |
The feature was merged for 1.14 release and I don't see any backport labels for 1.13. |
Thanks @christarazi. I see 1.13.1 is being prepped already. We are running into similar issues with cilium adoption and this feature would help a lot. Any chance this can make it to 1.13.2? 😬 |
I'm trying this feature with the operator:
extraArgs: ["--pod-restart-selector="] This seems to be picked up properly as I see in the logs at the operator startup:
And yet unmanaged pods aren't being restarted from what I can see. When I run |
@williamclot If you believe it's a bug, please file an issue and provide reproduction steps. |
Set operator to remove the label of a pod that existed before the node taint
Fixes: #21594
Signed-off-by: tigerK yanru.lv@daocloud.io
Please ensure your pull request adheres to the following guidelines:
description and a
Fixes: #XXX
line if the commit addresses a particularGitHub issue.
Fixes: <commit-id>
tag, thenplease add the commit author[s] as reviewer[s] to this issue.
Fixes: #issue-number