Difference between revisions of "Kubernetes PodDisruptionBudget (PDB)"
Jump to navigation
Jump to search
Line 25: | Line 25: | ||
* [[Eviction API]] | * [[Eviction API]] | ||
* 1.21 [[Graceful node shutdown]] | * 1.21 [[Graceful node shutdown]] | ||
+ | * <code>[[kubectl drain]]</code> | ||
== See also == | == See also == |
Revision as of 14:25, 5 January 2023
- K8s v1.21 April 2021 https://kubernetes.io/docs/concepts/workloads/pods/disruptions/#pod-disruption-budgets
kubectl get pdb
kubectl api-resources | grep -i pdb poddisruptionbudgets pdb policy/v1 true PodDisruptionBudget
33m Warning CalculateExpectedPodCountFailed poddisruptionbudget/xxxx-pdb Failed to calculate the number of expected pods: statefulsets.apps does not implement the scale subresource
kind: PodDisruptionBudget
55m Normal NoPods poddisruptionbudget/your_text No matching pods found
Related
maxUnavailable
NoPods
- Disruptions
- Karpenter
spec.replicas
- Eviction API
- 1.21 Graceful node shutdown
kubectl drain
See also
Advertising: