Skip to content
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

[BUG] When draining a node, an error about unknown DaemonSet occurs. #1831

Open
alexey-gavrilov-flant opened this issue Nov 19, 2024 · 0 comments
Assignees
Labels
kind/bug Something isn't working

Comments

@alexey-gavrilov-flant
Copy link

What happened:
The drain from kubelet cannot correctly map kind: DaemonSet from kruise to its pod.
kubectl drain s-shared-ks-loadbalancer-d421333b-7c596-w4snd

image
image

Also there is an assumption that the same behavior for StatefulSet and Deployments.

What you expected to happen:
No errors when executing drain node.

How to reproduce it (as minimally and precisely as possible):

  1. usage DaemonSet kruise
  2. kubectl drain node

Anything else we need to know?:

A patch was made for DaemonSet in upstrim.
I hope that you can add a drain fix for the other components.
kubernetes/kubernetes#128779
kubernetes/kubernetes#101556
kubernetes/kubernetes#101557

Environment:

  • Kruise version: 1.7.2
  • Kubernetes version (use kubectl version): "v1.27.16
  • Install details (e.g. helm install args): custom
  • Others: We use only part of the controllers and CustomResourceDefinition components for DaemonSet
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Something isn't working
Projects
None yet
Development

No branches or pull requests

2 participants