Skip to content

How to enable leader election in the webhook? #81

Description

@rahul-r-mishra

Hi , we want to enable leader election in the webhook? can you suggest how?

if I try https://github.com/kubernetes/client-go/blob/master/examples/leader-election/main.go , only leader replica becomes healthy other replicas wait for lease and never go in Running state.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions