package
1.33.0-alpha.2
Repository: https://github.com/kubernetes/kubernetes.git
Documentation: pkg.go.dev
# Packages
Package install installs the experimental API group, making it available as an option to all of the API encoding/decoding machinery.
Package policy is for any kind of policy object.
Package policy is for any kind of policy object.
# Functions
Kind takes an unqualified kind and returns a Group qualified GroupKind.
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.
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).
# Variables
AddToScheme is a global function that registers this API group & version to a scheme.
SchemeBuilder is the scheme builder with scheme init functions to run for this API package.
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.