From b037ccb4aedadebdc3f4087003895d4a490525f4 Mon Sep 17 00:00:00 2001 From: Alex Nordlund Date: Wed, 23 Nov 2022 20:52:16 +0100 Subject: [PATCH] Update Helm README and version --- Chart.yaml | 2 +- README.md | 17 +++++++++++++++++ 2 files changed, 18 insertions(+), 1 deletion(-) diff --git a/Chart.yaml b/Chart.yaml index 8d67e55..af543ce 100644 --- a/Chart.yaml +++ b/Chart.yaml @@ -15,7 +15,7 @@ type: application # This is the chart version. This version number should be incremented each time you make changes # to the chart and its templates, including the app version. # Versions are expected to follow Semantic Versioning (https://semver.org/) -version: 3.0.0 +version: 4.0.0 # This is the version number of the application being deployed. This version number should be # incremented each time you make changes to the application. Versions are not expected to diff --git a/README.md b/README.md index 78d7536..53f9599 100644 --- a/README.md +++ b/README.md @@ -19,6 +19,23 @@ The variables that _must_ be configured are: - SMTP settings for your mailer in the `mastodon.smtp` group. +If your PersistentVolumeClaim is `ReadWriteOnce` and you're unable to use a S3-compatible service or +run a self-hosted compatible service like [Minio](https://min.io/docs/minio/kubernetes/upstream/index.html) +then you need to set the pod affinity so the web and sidekiq pods are scheduled to the same node. + +Example configuration: +```yaml +podAffinity: + requiredDuringSchedulingIgnoredDuringExecution: + - labelSelector: + matchExpressions: + - key: app.kubernetes.io/part-of + operator: In + values: + - rails + topologyKey: kubernetes.io/hostname +``` + # Administration You can run [admin CLI](https://docs.joinmastodon.org/admin/tootctl/) commands in the web deployment.