Kured

The role performs various tasks related to Helm chart deployment, reset and validation.

Role Settings

See the related role settings listed below, defined into main.yaml defaults file.

kured_vars.kubernetes

  • Default value: null

See the related child settings, listed below.

kubernetes.configuration

  • Default value: null
configuration.concurrency
  • Default value: integer, 1
configuration.log_format
  • Default value: string, text
configuration.period
  • Default value: string, 15m
configuration.reboot_delay
  • Default value: string, 60s
configuration.slack
  • Default value: null
slack.enabled
  • Default value: boolean, true
slack.messages
  • Default value: null
messages.enabled
  • Default value: boolean, false
messages.drain
  • Default value: string
messages.reboot
  • Default value: string
messages.uncordon
  • Default value: string
slack.notify_url
  • Default value: string, slack://token

Encrypt the variable with ansible-vault.

configuration.time
  • Default value: null
time.start
  • Default value: string, 04:00
time.end
  • Default value: string, 08:00
time.zone
  • Default value: string, UTC

kubernetes.helm

  • Default value: null
helm.chart
  • Default value: null
chart.name
  • Default value: string, kured
chart.org
  • Default value: string, kubereboot
chart.version
  • Default value: string

Visit kubereboot/charts, for latest release version.

helm.repository
  • Default value: null
repository.name
  • Default value: string, charts
repository.org
  • Default value: string, kubereboot
repository.url
  • Default value: string, https://kubereboot.github.io

kubernetes.metrics

  • Default value: null
metrics.create
  • Default value: string, true

kubernetes.namespace

  • Default value: string, kube-system

kubernetes.resources

  • Default value: null
resources.limits
  • Default value: null
limits.cpu
  • Default value: string, 400m
limits.memory
  • Default value: string, 256Mi
resources.requests
  • Default value: null
requests.cpu
  • Default value: string, 100m
requests.memory
  • Default value: string, 64Mi

kubernetes.service

  • Default value: null
service.annotations
  • Default value: dictionary
service.create
  • Default value: string, true
service.name
  • Default value: string, kured

Role Tasks

See the related role tasks, listed below.

Facts

Ansible facts, see facts.yaml for details.

Main

Main role related tasks, see main.yaml for details.

Reset

Reset related tasks, see reset.yaml for details.

Validation

Validation related tasks, see validation.yaml for details.

Role Templates

See the related role templates, listed below.

Helm Chart

Helm chart values template, see values.j2 for details.