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.
Click to show internal directories.
Click to hide internal directories.