cluster

Infrastructure files for Nordgedanken and Midnightthoughts.
git clone git://archive.git.mtrnord.blog/MTRNord/cluster.git
Log | Files | Refs | README

commit af3b55f37bca3e8486347794b50782f20024b93b
parent 91a509b849b8b71ba15bd6ededbf80eb0760ef55
Author: MTRNord <mtrnord1@gmail.com>
Date:   Sun, 13 Oct 2024 16:44:43 +0200

Scale mastodon

Diffstat:
Mapps/base/mastodon/release.yaml | 23+++++++++++++++--------
1 file changed, 15 insertions(+), 8 deletions(-)

diff --git a/apps/base/mastodon/release.yaml b/apps/base/mastodon/release.yaml @@ -47,6 +47,11 @@ spec: secretName: mastodon.mtrnord.blog-tls mastodon: sidekiq: + updateStrategy: + type: RollingUpdate + rollingUpdate: + maxSurge: 25% + maxUnavailable: 25% resources: limits: {} requests: @@ -69,16 +74,17 @@ spec: - pull - scheduler # Make sure the scheduler queue only exists once and with a worker that has 1 replica. web: + updateStrategy: + type: RollingUpdate + rollingUpdate: + maxSurge: 25% + maxUnavailable: 25% replicas: 2 resources: limits: {} requests: cpu: "180m" memory: "875Mi" - pdb: - enabled: false - minAvailable: 1 - maxUnavailable: 1 authorizedFetch: true local_domain: mtrnord.blog persistence: @@ -109,6 +115,11 @@ spec: tls: true password: ENC[AES256_GCM,data:t5b/w9RKalqscEHhllA9hg==,iv:kJ6nrGd5xuSb2vpuVtHOUCqM5NzTi+81L43Pvr5rMIY=,tag:3rEBm0DtbQn6j4pw8iqLUQ==,type:str] streaming: + updateStrategy: + type: RollingUpdate + rollingUpdate: + maxSurge: 25% + maxUnavailable: 25% resources: limits: {} requests: @@ -116,10 +127,6 @@ spec: memory: "100Mi" replicas: 2 workers: 2 - pdb: - enabled: false - minAvailable: 1 - maxUnavailable: 1 sslMode: no-verify image: repository: ghcr.io/mastodon/mastodon-streaming