-
Notifications
You must be signed in to change notification settings - Fork 1.9k
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
ignoreDaemonSets is not working #3530
Comments
Can you provide more details about what you expect and what you are seeing? |
This is how we check for membership in the DaemonSet: Specifically looking for an owner reference with kind Can you share the YAML for that calico pod ( |
ownerReferences:
|
Okey, let's check this code from your link for (V1Pod pod : allPods.getItems()) {
|
maybe try this one boolean isDaemonSetPod; |
We'd be happy to take a PR with any improvements to that code. |
Oh, I see you sent #3537 thank you! I will review it. |
The Kubernetes project currently lacks enough contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle stale |
The Kubernetes project currently lacks enough active contributors to adequately respond to all issues. This bot triages un-triaged issues according to the following rules:
You can:
Please send feedback to sig-contributor-experience at kubernetes/community. /lifecycle rotten |
Describe the bug
A clear and concise description of what the bug is.
Client Version
e.g.
19.0.0
Kubernetes Version
e.g.
1.19.3
Java Version
e.g. Java 17
To Reproduce
Steps to reproduce the behavior:
Kubectl.drain()
.ignoreDaemonSets()
.force()
.name("nodeExample")
.execute();
Expected behavior
while drain daemonSets pods starts delete .
KubeConfig
exmaple:
clusters:
- cluster:
certificate-authority-data: example
server: "exmaple"
name: exmaple
contexts:
- context:
cluster: exmaple
namespace: aclever-users
user: users.tech-user-test
name: exmaple-tech-user-test
current-context: exmaple
kind: Config
preferences: { }
users:
- name: users.tech-user-test
user:
privateKey:
token: "shifr".
Server (please complete the following information):
Additional context
The text was updated successfully, but these errors were encountered: