From 2a83071ad87e76c290c146db86423d1961890965 Mon Sep 17 00:00:00 2001 From: Julian Poyourow Date: Sat, 29 Jun 2024 17:15:15 -0700 Subject: [PATCH] chore: add pdbs for backend services --- kube/configs/api-beta.pdb.yaml | 10 ++++++++++ kube/configs/api.pdb.yaml | 10 ++++++++++ kube/configs/browserless.pdb.yaml | 10 ++++++++++ 3 files changed, 30 insertions(+) create mode 100644 kube/configs/api-beta.pdb.yaml create mode 100644 kube/configs/api.pdb.yaml create mode 100644 kube/configs/browserless.pdb.yaml diff --git a/kube/configs/api-beta.pdb.yaml b/kube/configs/api-beta.pdb.yaml new file mode 100644 index 00000000..0520f8a5 --- /dev/null +++ b/kube/configs/api-beta.pdb.yaml @@ -0,0 +1,10 @@ +apiVersion: policy/v1 +kind: PodDisruptionBudget +metadata: + name: rs-api-beta +spec: + maxUnavailable: 1 + selector: + matchLabels: + app: rs-api-beta + diff --git a/kube/configs/api.pdb.yaml b/kube/configs/api.pdb.yaml new file mode 100644 index 00000000..e5b9ca28 --- /dev/null +++ b/kube/configs/api.pdb.yaml @@ -0,0 +1,10 @@ +apiVersion: policy/v1 +kind: PodDisruptionBudget +metadata: + name: rs-api +spec: + maxUnavailable: 1 + selector: + matchLabels: + app: rs-api + diff --git a/kube/configs/browserless.pdb.yaml b/kube/configs/browserless.pdb.yaml new file mode 100644 index 00000000..90a1dd2e --- /dev/null +++ b/kube/configs/browserless.pdb.yaml @@ -0,0 +1,10 @@ +apiVersion: policy/v1 +kind: PodDisruptionBudget +metadata: + name: rs-browserless +spec: + maxUnavailable: 1 + selector: + matchLabels: + app: rs-browserless +