Back to Charts

Kured (KUbernetes REboot Daemon)

stable/kured/README.md

latest3.9 KB
Original Source

Kured (KUbernetes REboot Daemon)

See https://github.com/weaveworks/kured

Deprecation

This chart is deprecated! It has been moved to the kured repository. See https://github.com/weaveworks/kured/tree/master/charts/kured for details.

Autolock feature

This feature is not natively supported by kured but is added using Kubernetes Cronjob to annotate daemonset when to allow kured to run using the lock configuration annotation https://github.com/weaveworks/kured#overriding-lock-configuration

ConfigDescriptionDefault
image.repositoryImage repositoryweaveworks/kured
image.tagImage tag1.4.0
image.pullPolicyImage pull policyIfNotPresent
image.pullSecretsImage pull secrets[]
extraArgsExtra arguments to pass to /usr/bin/kured. See below.{}
rbac.createCreate RBAC rolestrue
podSecurityPolicy.createCreate podSecurityPolicyfalse
serviceAccount.createCreate service account rolestrue
serviceAccount.nameService account name to create (or use if serviceAccount.create is false)(chart fullname)
updateStrategyDaemonset update strategyOnDelete
tolerationsTolerations to apply to the daemonset (eg to allow running on master)[{"key": "node-role.kubernetes.io/master", "effect": "NoSchedule"}]
nodeSelectorNode Selector for the daemonset (ie, restrict which nodes kured runs on){}
priorityClassNamePriority Class to be used by the pods""
podAnnotationsAnnotations to apply to pods (eg to add Prometheus annotations){}
autolock.enabledActivate autolock to define when to allow kured to be executedfalse
autolock.image.repositoryImage repository for kubectl commanddocker.io/bitnami/kubectl
autolock.image.tagImage tag1.17.5
autolock.scheduleUnlockCronJob schedule to unlock kured0 4 * * *
autolock.schedulelockCronJob schedule to lock kured0 6 * * *

See https://github.com/weaveworks/kured#configuration for values for extraArgs. Note that

yaml
extraArgs:
  foo: 1
  bar-baz: 2

becomes /usr/bin/kured ... --foo=1 --bar-baz=2.

Prometheus Metrics

Kured exposes a single prometheus metric indicating whether a reboot is required or not (see kured docs) for details. It can be scraped with the following set of annotations:

yaml
podAnnotations:
  prometheus.io/scrape: "true"
  prometheus.io/path: "/metrics"
  prometheus.io/port: "8080"