mirror of
https://github.com/kubernetes-sigs/kubespray.git
synced 2026-05-22 00:07:45 -02:30
Add PodDisruptionBudget for CoreDNS deployment. Allows users to control disruption behavior and set maximum unavailable pods (#10557)
This commit is contained in:
@@ -0,0 +1,9 @@
|
||||
apiVersion: policy/v1
|
||||
kind: PodDisruptionBudget
|
||||
metadata:
|
||||
name: coredns{{ coredns_ordinal_suffix }}
|
||||
spec:
|
||||
maxUnavailable: {{ coredns_pod_disruption_budget_max_unavailable }}
|
||||
selector:
|
||||
matchLabels:
|
||||
k8s-app: kube-dns{{ coredns_ordinal_suffix }}
|
||||
Reference in New Issue
Block a user