diff --git a/charts/templates/pdb.yaml b/charts/templates/pdb.yaml new file mode 100644 index 0000000..9bbaa15 --- /dev/null +++ b/charts/templates/pdb.yaml @@ -0,0 +1,10 @@ +apiVersion: policy/v1 +kind: PodDisruptionBudget +metadata: + name: {{ .Chart.Name }}-pdb +spec: + minAvailable: 3 + maxUnavailable: 2 + selector: + matchLabels: + app: {{ .Chart.Name }}