kubespray/roles/kubernetes-apps/ansible/templates/coredns-poddisruptionbudget...

10 lines
259 B
Django/Jinja

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 }}