Scale down Mastodon

Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
Marcus Noble 2022-11-14 11:55:34 +00:00
parent 2e4bebc6a6
commit 244dea83ec
Signed by: AverageMarcus
GPG Key ID: B8F2DB8A7AEBAF78
2 changed files with 39 additions and 39 deletions

View File

@ -68,7 +68,7 @@ metadata:
configmap.reloader.stakater.com/reload: "mastodon-env"
secret.reloader.stakater.com/reload: "mastodon"
spec:
replicas: 2
replicas: 0
selector:
matchLabels:
app.kubernetes.io/name: mastodon
@ -139,7 +139,7 @@ metadata:
configmap.reloader.stakater.com/reload: "mastodon-env"
secret.reloader.stakater.com/reload: "mastodon"
spec:
replicas: 2
replicas: 0
selector:
matchLabels:
app.kubernetes.io/name: mastodon
@ -222,7 +222,7 @@ metadata:
configmap.reloader.stakater.com/reload: "mastodon-env"
secret.reloader.stakater.com/reload: "mastodon"
spec:
replicas: 2
replicas: 0
selector:
matchLabels:
app.kubernetes.io/name: mastodon

View File

@ -1,41 +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-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-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
# 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
---
# ---