GithubHelp home page GithubHelp logo

Comments (23)

SerialVelocity avatar SerialVelocity commented on July 21, 2024 4

@awh Is it possible to get a new release tagged so kured works on K8s 1.16?

from kured.

dholbach avatar dholbach commented on July 21, 2024 4

1.3.0 is out now: https://github.com/weaveworks/kured/releases/tag/1.3.0 🎆

from kured.

ReSearchITEng avatar ReSearchITEng commented on July 21, 2024 2

we need both image and helm chart update.
I can take care of the helm chart once image is ready.

from kured.

stealthybox avatar stealthybox commented on July 21, 2024 1

Thanks all.
As a workaround, you should be able to use weaveworks/kured:master-4beddb5.
That should have the AppsV1 change as well as the new --reboot-days feature.

You can specify this image tag as an override for the current helm chart

Related.
#66 (comment)

from kured.

nicolas-marcq avatar nicolas-marcq commented on July 21, 2024 1

On kubernetes 1.14 I had to add a permission on the Cluster role:

- apiGroups: ["apps"]
  resources: ["daemonsets"]
  verbs:     ["get"]

from kured.

ujoergen avatar ujoergen commented on July 21, 2024

Hi @HansK-p

Did you get it to run on 1.16?

from kured.

lundsec avatar lundsec commented on July 21, 2024

seems to work if you enable this on your api-servers
--runtime-config=extensions/v1beta1/daemonsets=true

see https://github.com/kubernetes/kubernetes/blob/master/CHANGELOG-1.16.md#deprecations-and-removals

from kured.

HansK-p avatar HansK-p commented on July 21, 2024

It worked well for me on a kubeadm 1.16 created K8s cluster after I compiled kured using the latest source code. Kured have rebooted my kubernetes nodes more than once without any issues related to kured running on K8s v. 1.16.

from kured.

evrardjp avatar evrardjp commented on July 21, 2024

Please also watch #97

from kured.

nicolas-marcq avatar nicolas-marcq commented on July 21, 2024

@stealthybox . The last docker image seems locked.

 Error response from daemon: pull access denied for weaveworks/master-4beddb5, repository does not exist or may require 'docker login': denied: requested access to the resource is denied

from kured.

nicolas-marcq avatar nicolas-marcq commented on July 21, 2024

New error on the image kured:master-4beddb5

 Error: unknown flag: --reboot-days sa,su
Usage:
  kured [flags]
Flags:
      --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")
      --ds-namespace string                 namespace containing daemonset on which to place lock (default "kube-system")
      --end-time string                     schedule reboot only before this time of day (default "23:59:59")
  -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-days strings                 schedule reboot on these days (default [su,mo,tu,we,th,fr,sa])
      --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")
      --start-time string                   schedule reboot only after this time of day (default "0:00")
      --time-zone string                    use this timezone for schedule inputs (default "UTC")
time="2019-11-20T16:06:37Z" level=fatal msg="unknown flag: --reboot-days sa,su" 

from kured.

nicolas-marcq avatar nicolas-marcq commented on July 21, 2024

Ok, it seems that we cannot use flags like described in the doc.
This doesn't work:

--reboot-days sat,sun

This is ok

--reboot-days=sat,sun

from kured.

SerialVelocity avatar SerialVelocity commented on July 21, 2024

@nicolas-marcq you can use flags like described in the doc. It looks like you have done the equivalent of "--reboot-days sat,sun". I'm assuming this is because you used kubernetes and instead of:

 - --reboot-days
 - sat,sun

you did:

  - --reboot-days sat,sun

from kured.

nicolas-marcq avatar nicolas-marcq commented on July 21, 2024

You are right @SerialVelocity

from kured.

archmangler avatar archmangler commented on July 21, 2024

This does not seem to be working even with the right yaml syntax in 1.2.0. See issue #101

from kured.

SerialVelocity avatar SerialVelocity commented on July 21, 2024

@archmangler Why would it work with 1.2.0? It says above you need to use weaveworks/kured:master-4beddb5

from kured.

dholbach avatar dholbach commented on July 21, 2024

I just tested this with 2 node cluster with kubeadm 1.16.2 and kured (master-f6e4062).

Any more feedback from other testers? Please speak up, as we'd like to get 1.3.0 out some time soon.

from kured.

onedr0p avatar onedr0p commented on July 21, 2024

@dholbach I am currently running Kubernetes v1.17.2 do you foresee any issue? In any case I'll give this a go sometime.

from kured.

dholbach avatar dholbach commented on July 21, 2024

@onedr0p I know people have tested this already and gave their 👍, but as you'd run this from master (and not a released version of kured) maybe better check on a test cluster?

from kured.

HansK-p avatar HansK-p commented on July 21, 2024

I've been running weaveworks/kured:master-f6e4062 on a v1.17.0 cluster for a few days with start-time and end-time set.

Things seems to be working as they should, but so far there has been no reason reboot. So it's not really much of a test - yet. but at least all logs from Kured so far indicates that Kured is working as it should in a Kubeadm configured K8s v1.17.0 cluster.

from kured.

onedr0p avatar onedr0p commented on July 21, 2024

Same with @HansK-p post. I have it deployed and the logs don't indicate an issue. Won't know for sure until a reboot is triggered by a security update.

from kured.

dholbach avatar dholbach commented on July 21, 2024

I did some testing for #111 following the instructions in #112 and it looks like we're good. I'll close this issue now. Please reopen if your tests indicated anything else.

from kured.

evrardjp avatar evrardjp commented on July 21, 2024

awesome thanks!

from kured.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.