pdb

package
v1.17.2 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: Apr 30, 2026 License: Apache-2.0 Imports: 9 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func EnsurePodDisruptionBudget

func EnsurePodDisruptionBudget(client clientset.Interface, pdbName, namespace string, pdbConfig *operatorv1alpha1.PodDisruptionBudgetConfig, componentLabels map[string]string, ownerRefs []metav1.OwnerReference) error

EnsurePodDisruptionBudget ensures the PodDisruptionBudget for a given component. If pdbConfig is nil, it deletes any existing PDB for the component. The owner parameter should be the Deployment or StatefulSet that owns this PDB.

Types

This section is empty.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL