From c288ee81a578ee12b1ab176674004f54f2ec4489 Mon Sep 17 00:00:00 2001 From: Marcus Noble Date: Sun, 15 May 2022 02:16:31 +0000 Subject: [PATCH] Added PDB for Mastodon --- manifests/mastodon/pdb.yaml | 41 +++++++++++++++++++++++++++++++++++++ 1 file changed, 41 insertions(+) create mode 100644 manifests/mastodon/pdb.yaml diff --git a/manifests/mastodon/pdb.yaml b/manifests/mastodon/pdb.yaml new file mode 100644 index 0000000..7ead386 --- /dev/null +++ b/manifests/mastodon/pdb.yaml @@ -0,0 +1,41 @@ +apiVersion: policy/v1 +kind: PodDisruptionBudget +metadata: + name: mastodon-web +spec: + minAvailable: 1 + selector: + matchLabels: + app.kubernetes.io/name: mastodon + app.kubernetes.io/instance: "k8s.social" + app.kubernetes.io/component: web + +--- + +apiVersion: policy/v1 +kind: PodDisruptionBudget +metadata: + name: mastodon-streaming +spec: + minAvailable: 1 + selector: + matchLabels: + app.kubernetes.io/name: mastodon + app.kubernetes.io/instance: "k8s.social" + app.kubernetes.io/component: streaming + +--- + +apiVersion: policy/v1 +kind: PodDisruptionBudget +metadata: + name: mastodon-sidekiq +spec: + minAvailable: 1 + selector: + matchLabels: + app.kubernetes.io/name: mastodon + app.kubernetes.io/instance: "k8s.social" + app.kubernetes.io/component: sidekiq + +---