Skip to content

ignoreDaemonSets is not working  #3530

@Duranna66

Description

@Duranna66

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):

  • OS: [e.g. Linux]
  • Environment [e.g. container]

Additional context

Metadata

Metadata

Assignees

No one assigned

    Labels

    lifecycle/rottenDenotes an issue or PR that has aged beyond stale and will be auto-closed.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions