Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error: unknown flag: --blocking-pod-selector #62

Closed
yosbeleg89 opened this issue Mar 7, 2019 · 3 comments
Closed

Error: unknown flag: --blocking-pod-selector #62

yosbeleg89 opened this issue Mar 7, 2019 · 3 comments

Comments

@yosbeleg89
Copy link

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.

@tbauers
Copy link

tbauers commented Mar 28, 2019

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!

https://github.com/weaveworks/kured/blob/1.1.0/cmd/kured/main.go

@yosbeleg89
Copy link
Author

Thanks @tbauers for let me know that. I will go with that option if there is no plan to release soon an oficial updated release of kured.

@awh is there an estimated date for a next official release of kured? Thanks

@awh
Copy link
Contributor

awh commented May 16, 2019

@awh awh closed this as completed May 16, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

3 participants