-
Notifications
You must be signed in to change notification settings - Fork 1.2k
Closed
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.priority/important-soonMust be staffed and worked on either currently, or very soon, ideally in time for the next release.Must be staffed and worked on either currently, or very soon, ideally in time for the next release.
Milestone
Description
When we create a manager with leader election and a webhook only one manager start but looking into the service the manger creates for the webhook he add all the pod.
Proposed solution:
Use the label statefulset.kubernetes.io/pod-name= for the webhook service and when the election change update the service label(or recreate the service)
More general solution can be to have a general label like controller-leader and just update the leader pod with this label.
alegacy
Metadata
Metadata
Assignees
Labels
kind/bugCategorizes issue or PR as related to a bug.Categorizes issue or PR as related to a bug.priority/important-soonMust be staffed and worked on either currently, or very soon, ideally in time for the next release.Must be staffed and worked on either currently, or very soon, ideally in time for the next release.