Use leases for leader election

Signed-off-by: Stefan Prodan <stefan.prodan@gmail.com>
This commit is contained in:
Stefan Prodan
2022-05-31 13:01:01 +03:00
parent bfcf288561
commit a0fae153cf
4 changed files with 37 additions and 1 deletions

View File

@@ -21,6 +21,18 @@ rules:
- update
- patch
- delete
- apiGroups:
- "coordination.k8s.io"
resources:
- leases
verbs:
- get
- list
- watch
- create
- update
- patch
- delete
- apiGroups:
- apps
resources: