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
k8s-ci-robot
added
lifecycle/rotten
Denotes an issue or PR that has aged beyond stale and will be auto-closed.
and removed
lifecycle/stale
Denotes an issue or PR has remained open with no activity and has become stale.
labels
May 17, 2024
Is your feature request related to a problem?/Why is this needed
As a side effect of #1099, the provisioner container was restarted.
The lease identity being random, the pod has to wait the lease timeout:
external-provisioner/cmd/csi-provisioner/csi-provisioner.go
Lines 283 to 286 in b377ea4
external-provisioner/cmd/csi-provisioner/csi-provisioner.go
Line 674 in b377ea4
This is not the case for external-attacher for example:
https://github.com/kubernetes-csi/external-attacher/blob/4e13fc2eabc320c779b574bf35bb79dd00feb2e2/cmd/csi-attacher/main.go#L281-L283
NB: default is hostname, i.e. pod name:
https://github.com/kubernetes-csi/csi-lib-utils/blob/f82f9de5b8aeb3c3b236d7f58fc5eeab34438078/leaderelection/leader_election.go#L198-L200
Describe the solution you'd like in detail
Use hostname (i.e Pod name) as identity, like csi-attacher.
Describe alternatives you've considered
Additional context
The text was updated successfully, but these errors were encountered: