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
I have configured a Flag: --blocking-pod-selector=runtime=long to prevent kured to reboot some pods when running (according to the documentation), now Kured pods are in a CrashLoopBackOff status and the logs are:
Error: unknown flag: --blocking-pod-selector
Usage:
kured [flags]
Flags:
--alert-filter-regexp regexp.Regexp alert names to ignore when checking for active alerts
--ds-name string name of daemonset on which to place lock (default "kured")
--ds-namespace string namespace containing daemonset on which to place lock (default "kube-system")
-h, --help help for kured
--lock-annotation string annotation in which to record locking node (default "weave.works/kured-node-lock")
--period duration reboot check period (default 1h0m0s)
--prometheus-url string Prometheus instance to probe for active alerts
--reboot-sentinel string path to file whose existence signals need to reboot (default "/var/run/reboot-required")
--slack-hook-url string slack hook URL for reboot notfications
--slack-username string slack username for reboot notfications (default "kured")
time="2019-03-07T16:57:24Z" level=fatal msg="unknown flag: --blocking-pod-selector"
Which shows like the flag isn't supported. I'm using version 1.1.0 of kured.
The text was updated successfully, but these errors were encountered:
If you check out the source and compare the 1.1.0 tag to master you will notice that the selector isn't supported. To be able to use that flag you will need to build source and create your own container image. I just hit the same problem in my setup and stumbled on your issue trying to troubleshoot. Hope this helps!
I have configured a Flag:
--blocking-pod-selector=runtime=long
to prevent kured to reboot some pods when running (according to the documentation), now Kured pods are in aCrashLoopBackOff
status and the logs are:Which shows like the flag isn't supported. I'm using version
1.1.0
of kured.The text was updated successfully, but these errors were encountered: