Added PDB for Mastodon

This commit is contained in:
Marcus Noble 2022-05-15 02:16:31 +00:00
parent c3a8ca03da
commit c288ee81a5

View File

@ -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
---