mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-23 11:50:44 +00:00
Merge pull request #90173 from ialidzhikov/doc/supported-values
Fix doc for leader-elect-resource-lock flag
This commit is contained in:
commit
0a7675eddc
@ -42,7 +42,8 @@ func BindFlags(l *componentbaseconfig.LeaderElectionConfiguration, fs *pflag.Fla
|
|||||||
"of a leadership. This is only applicable if leader election is enabled.")
|
"of a leadership. This is only applicable if leader election is enabled.")
|
||||||
fs.StringVar(&l.ResourceLock, "leader-elect-resource-lock", l.ResourceLock, ""+
|
fs.StringVar(&l.ResourceLock, "leader-elect-resource-lock", l.ResourceLock, ""+
|
||||||
"The type of resource object that is used for locking during "+
|
"The type of resource object that is used for locking during "+
|
||||||
"leader election. Supported options are `endpoints` (default) and `configmaps`.")
|
"leader election. Supported options are 'endpoints', 'configmaps', "+
|
||||||
|
"'leases', 'endpointsleases' and 'configmapsleases'.")
|
||||||
fs.StringVar(&l.ResourceName, "leader-elect-resource-name", l.ResourceName, ""+
|
fs.StringVar(&l.ResourceName, "leader-elect-resource-name", l.ResourceName, ""+
|
||||||
"The name of resource object that is used for locking during "+
|
"The name of resource object that is used for locking during "+
|
||||||
"leader election.")
|
"leader election.")
|
||||||
|
Loading…
Reference in New Issue
Block a user