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"
|
configmap.reloader.stakater.com/reload: "mastodon-env"
|
||||||
secret.reloader.stakater.com/reload: "mastodon"
|
secret.reloader.stakater.com/reload: "mastodon"
|
||||||
spec:
|
spec:
|
||||||
replicas: 2
|
replicas: 0
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app.kubernetes.io/name: mastodon
|
app.kubernetes.io/name: mastodon
|
||||||
@ -139,7 +139,7 @@ metadata:
|
|||||||
configmap.reloader.stakater.com/reload: "mastodon-env"
|
configmap.reloader.stakater.com/reload: "mastodon-env"
|
||||||
secret.reloader.stakater.com/reload: "mastodon"
|
secret.reloader.stakater.com/reload: "mastodon"
|
||||||
spec:
|
spec:
|
||||||
replicas: 2
|
replicas: 0
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app.kubernetes.io/name: mastodon
|
app.kubernetes.io/name: mastodon
|
||||||
@ -222,7 +222,7 @@ metadata:
|
|||||||
configmap.reloader.stakater.com/reload: "mastodon-env"
|
configmap.reloader.stakater.com/reload: "mastodon-env"
|
||||||
secret.reloader.stakater.com/reload: "mastodon"
|
secret.reloader.stakater.com/reload: "mastodon"
|
||||||
spec:
|
spec:
|
||||||
replicas: 2
|
replicas: 0
|
||||||
selector:
|
selector:
|
||||||
matchLabels:
|
matchLabels:
|
||||||
app.kubernetes.io/name: mastodon
|
app.kubernetes.io/name: mastodon
|
||||||
|
@ -1,41 +1,41 @@
|
|||||||
apiVersion: policy/v1
|
# apiVersion: policy/v1
|
||||||
kind: PodDisruptionBudget
|
# kind: PodDisruptionBudget
|
||||||
metadata:
|
# metadata:
|
||||||
name: mastodon-web
|
# name: mastodon-web
|
||||||
spec:
|
# spec:
|
||||||
minAvailable: 1
|
# minAvailable: 1
|
||||||
selector:
|
# selector:
|
||||||
matchLabels:
|
# matchLabels:
|
||||||
app.kubernetes.io/name: mastodon
|
# app.kubernetes.io/name: mastodon
|
||||||
app.kubernetes.io/instance: "k8s.social"
|
# app.kubernetes.io/instance: "k8s.social"
|
||||||
app.kubernetes.io/component: web
|
# app.kubernetes.io/component: web
|
||||||
|
|
||||||
---
|
# ---
|
||||||
|
|
||||||
apiVersion: policy/v1
|
# apiVersion: policy/v1
|
||||||
kind: PodDisruptionBudget
|
# kind: PodDisruptionBudget
|
||||||
metadata:
|
# metadata:
|
||||||
name: mastodon-streaming
|
# name: mastodon-streaming
|
||||||
spec:
|
# spec:
|
||||||
minAvailable: 1
|
# minAvailable: 1
|
||||||
selector:
|
# selector:
|
||||||
matchLabels:
|
# matchLabels:
|
||||||
app.kubernetes.io/name: mastodon
|
# app.kubernetes.io/name: mastodon
|
||||||
app.kubernetes.io/instance: "k8s.social"
|
# app.kubernetes.io/instance: "k8s.social"
|
||||||
app.kubernetes.io/component: streaming
|
# app.kubernetes.io/component: streaming
|
||||||
|
|
||||||
---
|
# ---
|
||||||
|
|
||||||
apiVersion: policy/v1
|
# apiVersion: policy/v1
|
||||||
kind: PodDisruptionBudget
|
# kind: PodDisruptionBudget
|
||||||
metadata:
|
# metadata:
|
||||||
name: mastodon-sidekiq
|
# name: mastodon-sidekiq
|
||||||
spec:
|
# spec:
|
||||||
minAvailable: 1
|
# minAvailable: 1
|
||||||
selector:
|
# selector:
|
||||||
matchLabels:
|
# matchLabels:
|
||||||
app.kubernetes.io/name: mastodon
|
# app.kubernetes.io/name: mastodon
|
||||||
app.kubernetes.io/instance: "k8s.social"
|
# app.kubernetes.io/instance: "k8s.social"
|
||||||
app.kubernetes.io/component: sidekiq
|
# app.kubernetes.io/component: sidekiq
|
||||||
|
|
||||||
---
|
# ---
|
||||||
|
Loading…
Reference in New Issue
Block a user