1
0
Fork
You've already forked mastodon-helm
0
No description
  • Go Template 100%
2026年05月20日 18:32:14 +02:00
.github/workflows Refactor chart sidekiq queues ( #1 ) 2022年12月03日 05:44:39 +01:00
.woodpecker [woodpecker] fix secrets syntax 2025年04月02日 12:35:52 -07:00
templates valkey: fix hostname 2025年01月08日 17:46:12 -08:00
.gitignore Fix streaming route 2023年02月20日 11:02:37 +01:00
.helmignore helm: Add helm chart tests ( #20394 ) 2022年11月13日 22:22:07 +01:00
CHANGELOG.md prepare chart version 7.1.0 2025年04月02日 12:25:23 -07:00
Chart.lock chore(deps): update postgresql docker tag to v16.6.0 2025年04月02日 16:01:58 +00:00
Chart.yaml chore(deps): update ghcr.io/mastodon/mastodon docker tag to v4.5.9 2026年05月20日 18:32:14 +02:00
LICENSE Fix #49 - License changed from GPL-2.0 to AGPL-3.0 2016年09月21日 23:04:34 +02:00
README.md switch from redis to valkey 2024年10月15日 09:24:27 -07:00
renovate.json renovate: update appVersion of chart 2024年02月23日 17:42:22 -08:00
values.yaml chore(deps): update ghcr.io/mastodon/mastodon docker tag to v4.5.9 2026年05月20日 18:32:14 +02:00

Introduction

This is a Helm chart for installing Mastodon into a Kubernetes cluster. The basic usage is:

  1. edit values.yaml or create a separate yaml file for custom values
  2. helm install --namespace mastodon --create-namespace my-mastodon oci://registry-1.docker.io/grumble/mastodon -f ./values.yaml

This chart is tested with k8s 1.21+ and helm 3.6.0+.

Configuration

The variables that must be configured are:

  • password and keys in the mastodon.secrets, postgresql, and valkey groups; if left blank, some of those values will be autogenerated, but will not persist across upgrades.

  • 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 then you need to set the pod affinity so the web and sidekiq pods are scheduled to the same node.

Example configuration:

podAffinity:requiredDuringSchedulingIgnoredDuringExecution:- labelSelector:matchExpressions:- key:app.kubernetes.io/part-ofoperator:Invalues:- railstopologyKey:kubernetes.io/hostname

Administration

You can run admin CLI commands in the web deployment.

kubectl -n mastodon exec -it deployment/mastodon-web -- bash
tootctl accounts modify admin --reset-password

or

kubectl -n mastodon exec -it deployment/mastodon-web -- tootctl accounts modify admin --reset-password

Missing features

Currently this chart does not support:

  • Hidden services
  • Swift

Upgrading

Because database migrations are managed as a Job separate from the Rails and Sidekiq deployments, it’s possible they will occur in the wrong order. After upgrading Mastodon versions, it may sometimes be necessary to manually delete the Rails and Sidekiq pods so that they are recreated against the latest migration.