Scale down Mastodon
Signed-off-by: Marcus Noble <github@marcusnoble.co.uk>
This commit is contained in:
parent
2e4bebc6a6
commit
244dea83ec
@ -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
|
||||
|
@ -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
|
||||
|
||||
---
|
||||
# ---
|
||||
|
Loading…
Reference in New Issue
Block a user