package
0.33.0-alpha.2
Repository: https://github.com/kubernetes/api.git
Documentation: pkg.go.dev

# Functions

Resource takes an unqualified resource and returns a Group qualified GroupResource.

# Constants

AlwaysAllow policy means that all running pods (status.phase="Running"), but not yet healthy are considered disrupted and can be evicted regardless of whether the criteria in a PDB is met.
DisruptionAllowedCondition is a condition set by the disruption controller that signal whether any of the pods covered by the PDB can be disrupted.
DisruptionBudgetCause is the status cause returned for eviction failures caused by PodDisruptionBudget violations.
GroupName is the group name use in this package.
IfHealthyBudget policy means that running pods (status.phase="Running"), but not yet healthy can be evicted only if the guarded application is not disrupted (status.currentHealthy is at least equal to status.desiredHealthy).
InsufficientPodsReason is set on the DisruptionAllowed condition if the number of pods are equal to or fewer than required by the PDB.
SufficientPodsReason is set on the DisruptionAllowed condition if there are more pods covered by the PDB than required and at least one can be disrupted.
SyncFailedReason is set on the DisruptionAllowed condition if reconcile of the PDB failed and therefore disruption of pods are not allowed.

# Variables

No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
No description provided by the author
SchemeGroupVersion is group version used to register these objects.

# Structs

Eviction evicts a pod from its node subject to certain policies and safety constraints.
PodDisruptionBudget is an object to define the max disruption that can be caused to a collection of pods.
PodDisruptionBudgetList is a collection of PodDisruptionBudgets.
PodDisruptionBudgetSpec is a description of a PodDisruptionBudget.
PodDisruptionBudgetStatus represents information about the status of a PodDisruptionBudget.

# Type aliases

UnhealthyPodEvictionPolicyType defines the criteria for when unhealthy pods should be considered for eviction.