From 88572dc186855e7816d01683891d081cee365ad8 Mon Sep 17 00:00:00 2001 From: jochen wilms Date: Wed, 30 Oct 2024 10:16:36 +0000 Subject: [PATCH] Add pod pdb --- charts/templates/pdb.yaml | 10 ++++++++++ 1 file changed, 10 insertions(+) create mode 100644 charts/templates/pdb.yaml 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 }}