From 3256819705d1a18e43622889f2bfb26559e0fa8e Mon Sep 17 00:00:00 2001 From: Joakim Olsson Date: Tue, 29 Apr 2025 09:51:37 +0200 Subject: [PATCH] feat(k8s): add PodDisruptionBudget for schemas service Create a PodDisruptionBudget to ensure minimum availability of the schemas service during voluntary disruptions. This enhances the service's resilience and ensures high availability. --- k8s/pdb-prod.yaml | 9 +++++++++ 1 file changed, 9 insertions(+) create mode 100644 k8s/pdb-prod.yaml diff --git a/k8s/pdb-prod.yaml b/k8s/pdb-prod.yaml new file mode 100644 index 0000000..caa8df6 --- /dev/null +++ b/k8s/pdb-prod.yaml @@ -0,0 +1,9 @@ +apiVersion: policy/v1 +kind: PodDisruptionBudget +metadata: + name: schemas-pdb +spec: + minAvailable: 1 + selector: + matchLabels: + app.kubernetes.io/name: schemas