Skip to main content

pod_disruption_budget

Function pod_disruption_budget 

Source
pub fn pod_disruption_budget(
    metadata: ObjectMeta,
    deployment: &Deployment,
) -> PodDisruptionBudget
Expand description

A PodDisruptionBudget letting at most one of deployment’s pods be evicted at a time. With a single replica it never blocks a drain.