package kubecaml

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

Pod_disruption_budget_spec is a description of a Pod_disruption_budget.

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

An eviction is allowed if at most "max_unavailable" pods selected by "selector" are unavailable after the eviction, i.e. even in absence of the evicted pod. For example, one can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "min_available".

An eviction is allowed if at least "min_available" pods selected by "selector" will still be available after the eviction, i.e. even in the absence of the evicted pod. So for example you can prevent all voluntary evictions by specifying "100%".

Label query over pods whose evictions are managed by the disruption budget.

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

Innovation. Community. Security.