rancher v2.15.1

Cluster.spec.webhookDeploymentCustomization.podDisruptionBudget

PodDisruptionBudget specifies the desired pod disruption budget for the webhook deployment. Recommended when ReplicaCount > 1 to prevent all replicas from being disrupted simultaneously.

2 fields
Cluster.spec.webhookDeploymentCustomization.podDisruptionBudget fields and descriptions
Field / TypeDescription
maxUnavailable
string

An eviction is allowed if at most "maxUnavailable" pods are unavailable after the eviction, i.e. even in the absence of the evicted pod. One can prevent all voluntary evictions by specifying 0. This is a mutually exclusive setting with "minAvailable".

  • maxLength: 10
  • pattern: ^((([1-9]|[1-9][0-9]|100)%)|([1-9][0-9]*|0)|)$
  • nullable
minAvailable
string

An eviction is allowed if at least "minAvailable" will still be available after the eviction, i.e. even in the absence of the evicted pod. One can prevent all voluntary evictions by specifying "100%".

  • maxLength: 10
  • pattern: ^((([1-9]|[1-9][0-9]|100)%)|([1-9][0-9]*|0)|)$
  • nullable