Comments (23)
@awh Is it possible to get a new release tagged so kured works on K8s 1.16?
from kured.
1.3.0 is out now: https://github.com/weaveworks/kured/releases/tag/1.3.0 🎆
from kured.
we need both image and helm chart update.
I can take care of the helm chart once image is ready.
from kured.
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.
On kubernetes 1.14 I had to add a permission on the Cluster role:
- apiGroups: ["apps"]
resources: ["daemonsets"]
verbs: ["get"]
from kured.
Hi @HansK-p
Did you get it to run on 1.16?
from kured.
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.
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.
Please also watch #97
from kured.
@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.
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.
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.
@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.
You are right @SerialVelocity
from kured.
This does not seem to be working even with the right yaml syntax in 1.2.0. See issue #101
from kured.
@archmangler Why would it work with 1.2.0? It says above you need to use weaveworks/kured:master-4beddb5
from kured.
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.
@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.
@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.
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.
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.
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.
awesome thanks!
from kured.
Related Issues (20)
- [DOC] Make Control Plane use kured
- AKS Node not rebooted with lock held for not existing node HOT 11
- If a sentinel command is configured, it runs every minute. HOT 8
- path-based reboot mechanism HOT 5
- Reboot delay between two nodes HOT 4
- Retry reboot when the node is NotReady and still has SchedulingDisabled after the first reboot HOT 3
- Cron schedule for node reboots HOT 10
- nsenter permission denied errors on 1.15.0 with signal reboot set HOT 3
- Make nsenter in reboot command optional HOT 9
- 'Permission denied' when using signal reboot mechanism to reboot AKS nodes HOT 4
- Is there any plan to release Kured 1.15.0 image to docker.io or ghcr.io? HOT 3
- Kured container image link HOT 1
- Non-systemd support HOT 1
- Use `kubectl rollout restart` on single-replica Deployments with PDB HOT 4
- Kured should verify if node is still drained when delaying reboot HOT 5
- Optimization: RebootBlockers can be checked concurrently HOT 1
- [Suggestion] - Change default reboot path to something else HOT 1
- Please build new version due to vulnerabilities in golang/x/net 0.17.0
- V1.15.1 does not seem to do any rebooting. HOT 2
- Question: where to set configuration: rebootSentinelCommand: 'sh -c "! needs-restarting --reboothint"' HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from kured.