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
Monsterlin2018
changed the title
这里是不是不应该标记 leaderworkerset.SetNameLabelKey
Is it inappropriate to mark leaderworkerset.SetNameLabelKey here?
Feb 14, 2025
I think there are incorrect labels, which cause the worker nodes to continuously increase until the names of the pods exceed the limit.
v0.5.1
1、pkg\controllers\pod_controller.go
As a result, the label "leaderworkerset.sigs.k8s.io/name" is added to the worker pods.
2、 pkg\webhooks\pod_webhook.go
Then, a label "leaderworkerset.sigs.k8s.io/worker-index: '0'" is added to the worker pods, making them the leader pods.
3、pkg\controllers\pod_controller.go
Here, the process won't be skipped. Instead, new worker pods will continue to be created, and the process goes back to step 1.
I'm not sure if my understanding is correct.
If my understanding is incorrect, please ignore it.
The text was updated successfully, but these errors were encountered: