mirror of
https://github.com/kubereboot/kured.git
synced 2026-08-19 19:36:18 +00:00
Renaming flag as suggested.
This commit is contained in:
@@ -74,7 +74,7 @@ The following arguments can be passed to kured via the daemonset pod template:
|
||||
|
||||
```
|
||||
Flags:
|
||||
--annotationTTL time force clean annotation after this ammount of time (default 0, disabled)
|
||||
--annotation-ttl time force clean annotation after this ammount of time (default 0, disabled)
|
||||
--alert-filter-regexp regexp.Regexp alert names to ignore when checking for active alerts
|
||||
--blocking-pod-selector stringArray label selector identifying pods whose presence should prevent reboots
|
||||
--ds-name string name of daemonset on which to place lock (default "kured")
|
||||
@@ -266,7 +266,7 @@ kubectl -n kube-system annotate ds kured weave.works/kured-node-lock-
|
||||
In exceptional circumstances (especially when used with cluster-autoscaler) a node
|
||||
which holds lock might be killed thus annotation will stay there for ever.
|
||||
|
||||
Using `--annotationTTL=30m` will allow other nodes to take over if TTL has expired (in this case 30min) and continue reboot process.
|
||||
Using `--annotation-ttl=30m` will allow other nodes to take over if TTL has expired (in this case 30min) and continue reboot process.
|
||||
|
||||
## Building
|
||||
|
||||
|
||||
+1
-1
@@ -99,7 +99,7 @@ func main() {
|
||||
rootCmd.PersistentFlags().StringVar(&timezone, "time-zone", "UTC",
|
||||
"use this timezone for schedule inputs")
|
||||
|
||||
rootCmd.PersistentFlags().DurationVar(&annotationTTL, "annotationTTL", 0,
|
||||
rootCmd.PersistentFlags().DurationVar(&annotationTTL, "annotation-ttl", 0,
|
||||
"force clean annotation after this ammount of time (default 0, disabled)")
|
||||
|
||||
if err := rootCmd.Execute(); err != nil {
|
||||
|
||||
Reference in New Issue
Block a user