package kubecaml

  1. Overview
  2. Docs
Legend:
Library
Module
Module type
Parameter
Class
Class type

Spec to control the desired behavior of daemon set rolling update.

type t
val to_yojson : t -> Yojson.Safe.t

The maximum number of Daemon_set pods that can be unavailable during the update. Value can be an absolute number (ex: 5) or a percentage of total number of Daemon_set pods at the start of the update (ex: 10%). Absolute number is calculated from percentage by rounding up. This cannot be 0. Default value is 1. Example: when this is set to 30%, at most 30% of the total number of nodes that should be running the daemon pod (i.e. status.desired_number_scheduled) can have their pods stopped for an update at any given time. The update starts by stopping at most 30% of those Daemon_set pods and then brings up new Daemon_set pods in their place. Once the new pods are available, it then proceeds onto other Daemon_set pods, thus ensuring that at least 70% of original number of Daemon_set pods are available at all times during the update.

module Object : Object.S with type value := t