mastodon

by emilweth

Helm chartv3.1.2App 1.6.1Verified publisher

Rivals.space Mastodon helm chart

About this chart

mastodon

Rivals.space Mastodon helm chart

Maintainers

NameEmailUrl
emilweth[email protected]

Requirements

RepositoryNameVersion
https://charts.bitnami.com/bitnamiredis17.3.11
https://charts.softonic.iokeda2.8.2

Values

KeyTypeDefaultDescription
fullnameOverridestring""
imagePullSecretslist[]
ingress.annotationsobject{}
ingress.classNamestring""
ingress.enabledboolfalse
ingress.hosts[0].hoststring"chart-example.local"
ingress.hosts[0].paths[0].pathstring"/"
ingress.tlslist[]
keda.enabledboolfalse
keda.redis.hoststring""
keda.redis.portstring"6379"
mastodon.cronjobs.additionalMountslist[]
mastodon.cronjobs.extraEnv.envlist[]
mastodon.cronjobs.podAnnotationsobject{}
mastodon.cronjobs.podSecurityContextobject{}
mastodon.cronjobs.securityContextobject{}
mastodon.cronjobs.taskslist[]
mastodon.extraEnv.envlist[]
mastodon.extraEnv.fromConfigMapstring""
mastodon.extraEnv.fromSecretstring""
mastodon.image.pullPolicystring"IfNotPresent"
mastodon.image.repositorystring"ghcr.io/rivals-space/rivals-mastodon"
mastodon.image.tagstring""
mastodon.settings.assets.s3.aliasHoststring""
mastodon.settings.assets.s3.bucketstring""
mastodon.settings.assets.s3.endpointstring""
mastodon.settings.assets.s3.protocolstring"https"
mastodon.settings.assets.s3.regionstring""
mastodon.settings.assets.s3.urlstring"http://bucket.zone.endpoint/bucket/"
mastodon.settings.domainstring"example.com"
mastodon.settings.otpSecretstring""Generate with docker run -it tootsuite/mastodon:v3.4.4 bundle exec rake secret
mastodon.settings.secretKeyBasestring""Generate with docker run -it tootsuite/mastodon:v3.4.4 bundle exec rake secret
mastodon.settings.smtp.authMethodstring""
mastodon.settings.smtp.caFilestring""
mastodon.settings.smtp.deliveryMethodstring""
mastodon.settings.smtp.domainstring""
mastodon.settings.smtp.fromAddressstring""
mastodon.settings.smtp.loginstring""
mastodon.settings.smtp.opensslVerifyModestring""
mastodon.settings.smtp.passwordstring""
mastodon.settings.smtp.portstring""
mastodon.settings.smtp.serverstring""
mastodon.settings.smtp.sslstring""
mastodon.settings.smtp.startTlsAutostring""
mastodon.settings.smtp.tlsstring""
mastodon.settings.vapidPrivateKeystring""
mastodon.settings.vapidPublicKeystring""Generate these two values with docker run -it -e OTP_SECRET= -e SECRET_KEY_BASE= tootsuite/mastodon:v3.4.4 bundle exec rake mastodon:webpush:generate_vapid_key
mastodon.sidekiq.additionalMountslist[]
mastodon.sidekiq.extraEnv.envlist[]
mastodon.sidekiq.podAnnotationsobject{}
mastodon.sidekiq.podSecurityContextobject{}
mastodon.sidekiq.securityContextobject{}
mastodon.sidekiq.workers[0].affinityobject{}
mastodon.sidekiq.workers[0].concurrencyint1
mastodon.sidekiq.workers[0].keda.cooldownPeriodint300
mastodon.sidekiq.workers[0].keda.enabledboolfalse
mastodon.sidekiq.workers[0].keda.listLengthint50
mastodon.sidekiq.workers[0].keda.maxReplicaCountint10
mastodon.sidekiq.workers[0].keda.minReplicaCountint1
mastodon.sidekiq.workers[0].keda.pollingIntervalint30
mastodon.sidekiq.workers[0].namestring"default"
mastodon.sidekiq.workers[0].nodeSelectorobject{}
mastodon.sidekiq.workers[0].queues[0]string"default"
mastodon.sidekiq.workers[0].replicasint1
mastodon.sidekiq.workers[0].resources.limits.memorystring"1Gi"
mastodon.sidekiq.workers[0].resources.requests.cpustring"200m"
mastodon.sidekiq.workers[0].resources.requests.memorystring"500Mi"
mastodon.sidekiq.workers[0].tolerationslist[]
mastodon.sidekiq.workers[1].affinityobject{}
mastodon.sidekiq.workers[1].concurrencyint1
mastodon.sidekiq.workers[1].keda.enabledboolfalse
mastodon.sidekiq.workers[1].keda.listLengthint50
mastodon.sidekiq.workers[1].namestring"ingress"
mastodon.sidekiq.workers[1].nodeSelectorobject{}
mastodon.sidekiq.workers[1].queues[0]string"ingress"
mastodon.sidekiq.workers[1].replicasint1
mastodon.sidekiq.workers[1].resources.limits.memorystring"1Gi"
mastodon.sidekiq.workers[1].resources.requests.cpustring"200m"
mastodon.sidekiq.workers[1].resources.requests.memorystring"500Mi"
mastodon.sidekiq.workers[1].tolerationslist[]
mastodon.sidekiq.workers[2].affinityobject{}
mastodon.sidekiq.workers[2].concurrencyint1
mastodon.sidekiq.workers[2].keda.cooldownPeriodint300
mastodon.sidekiq.workers[2].keda.enabledboolfalse
mastodon.sidekiq.workers[2].keda.listLengthint50
mastodon.sidekiq.workers[2].keda.maxReplicaCountint10
mastodon.sidekiq.workers[2].keda.minReplicaCountint1
mastodon.sidekiq.workers[2].keda.pollingIntervalint30
mastodon.sidekiq.workers[2].namestring"mailers"
mastodon.sidekiq.workers[2].nodeSelectorobject{}
mastodon.sidekiq.workers[2].queues[0]string"mailers"
mastodon.sidekiq.workers[2].replicasint1
mastodon.sidekiq.workers[2].resources.limits.memorystring"1Gi"
mastodon.sidekiq.workers[2].resources.requests.cpustring"200m"
mastodon.sidekiq.workers[2].resources.requests.memorystring"500Mi"
mastodon.sidekiq.workers[2].tolerationslist[]
mastodon.sidekiq.workers[3].affinityobject{}
mastodon.sidekiq.workers[3].concurrencyint1
mastodon.sidekiq.workers[3].keda.cooldownPeriodint300
mastodon.sidekiq.workers[3].keda.enabledboolfalse
mastodon.sidekiq.workers[3].keda.listLengthint50
mastodon.sidekiq.workers[3].keda.maxReplicaCountint10
mastodon.sidekiq.workers[3].keda.minReplicaCountint1
mastodon.sidekiq.workers[3].keda.pollingIntervalint30
mastodon.sidekiq.workers[3].namestring"pull"
mastodon.sidekiq.workers[3].nodeSelectorobject{}
mastodon.sidekiq.workers[3].queues[0]string"pull"
mastodon.sidekiq.workers[3].replicasint1
mastodon.sidekiq.workers[3].resources.limits.memorystring"1Gi"
mastodon.sidekiq.workers[3].resources.requests.cpustring"200m"
mastodon.sidekiq.workers[3].resources.requests.memorystring"500Mi"
mastodon.sidekiq.workers[3].tolerationslist[]
mastodon.sidekiq.workers[4].affinityobject{}
mastodon.sidekiq.workers[4].concurrencyint1
mastodon.sidekiq.workers[4].keda.cooldownPeriodint300
mastodon.sidekiq.workers[4].keda.enabledboolfalse
mastodon.sidekiq.workers[4].keda.listLengthint50
mastodon.sidekiq.workers[4].keda.maxReplicaCountint10
mastodon.sidekiq.workers[4].keda.minReplicaCountint1
mastodon.sidekiq.workers[4].keda.pollingIntervalint30
mastodon.sidekiq.workers[4].namestring"push"
mastodon.sidekiq.workers[4].nodeSelectorobject{}
mastodon.sidekiq.workers[4].queues[0]string"push"
mastodon.sidekiq.workers[4].replicasint1
mastodon.sidekiq.workers[4].resources.limits.memorystring"1Gi"
mastodon.sidekiq.workers[4].resources.requests.cpustring"200m"
mastodon.sidekiq.workers[4].resources.requests.memorystring"500Mi"
mastodon.sidekiq.workers[4].tolerationslist[]
mastodon.sidekiq.workers[5].affinityobject{}
mastodon.sidekiq.workers[5].concurrencyint5
mastodon.sidekiq.workers[5].keda.enabledboolfalse
mastodon.sidekiq.workers[5].keda.listLengthint999999999
mastodon.sidekiq.workers[5].keda.maxReplicaCountint10
mastodon.sidekiq.workers[5].keda.minReplicaCountint1
mastodon.sidekiq.workers[5].namestring"scheduler"
mastodon.sidekiq.workers[5].nodeSelectorobject{}
mastodon.sidekiq.workers[5].queues[0]string"scheduler"
mastodon.sidekiq.workers[5].replicasint1
mastodon.sidekiq.workers[5].resources.limits.memorystring"1Gi"
mastodon.sidekiq.workers[5].resources.requests.cpustring"200m"
mastodon.sidekiq.workers[5].resources.requests.memorystring"500Mi"
mastodon.sidekiq.workers[5].tolerationslist[]
mastodon.streaming.additionalMountslist[]
mastodon.streaming.deployment.affinityobject{}
mastodon.streaming.deployment.nodeSelectorobject{}
mastodon.streaming.deployment.podAnnotationsobject{}
mastodon.streaming.deployment.podSecurityContextobject{}
mastodon.streaming.deployment.replicasint2
mastodon.streaming.deployment.resources.limits.memorystring"300Mi"
mastodon.streaming.deployment.resources.requests.cpustring"50m"
mastodon.streaming.deployment.resources.requests.memorystring"200Mi"
mastodon.streaming.deployment.securityContextobject{}
mastodon.streaming.deployment.serviceMonitor.enabledboolfalse
mastodon.streaming.deployment.serviceMonitor.namespacestring"prometheus"
mastodon.streaming.deployment.tolerationslist[]
mastodon.streaming.extraEnv.envlist[]
mastodon.streaming.keda.cooldownPeriodint300
mastodon.streaming.keda.enabledboolfalse
mastodon.streaming.keda.listLengthint50
mastodon.streaming.keda.maxReplicaCountint10
mastodon.streaming.keda.minReplicaCountint1
mastodon.streaming.keda.pollingIntervalint30
mastodon.streaming.keda.prometheus.metricNamestring"connected_clients"
mastodon.streaming.keda.prometheus.querystring`"avg(connected_clients{service={{ printf "%s-streaming" (include "mastodon.fullname" .)squote }}})"`
mastodon.streaming.keda.prometheus.thresholdint50
mastodon.streaming.keda.prometheus.urlstring""
mastodon.streaming.service.portint4000
mastodon.streaming.service.typestring"ClusterIP"
mastodon.streaming.settings.workersstring"1"
mastodon.toolbox.additionalMountslist[]
mastodon.toolbox.deployment.affinityobject{}
mastodon.toolbox.deployment.nodeSelectorobject{}
mastodon.toolbox.deployment.podAnnotationsobject{}
mastodon.toolbox.deployment.podSecurityContextobject{}
mastodon.toolbox.deployment.resourcesobject{}
mastodon.toolbox.deployment.securityContextobject{}
mastodon.toolbox.deployment.tolerationslist[]
mastodon.toolbox.enabledboolfalse
mastodon.toolbox.extraEnv.envlist[]
mastodon.web.additionalMountslist[]
mastodon.web.deployment.affinityobject{}
mastodon.web.deployment.autoscaling.enabledboolfalse
mastodon.web.deployment.autoscaling.maxReplicasint100
mastodon.web.deployment.autoscaling.minReplicasint1
mastodon.web.deployment.autoscaling.targetCPUUtilizationPercentageint80
mastodon.web.deployment.nodeSelectorobject{}
mastodon.web.deployment.podAnnotationsobject{}
mastodon.web.deployment.podSecurityContextobject{}
mastodon.web.deployment.replicasint2
mastodon.web.deployment.resources.limits.memorystring"1.5Gi"
mastodon.web.deployment.resources.requests.cpustring"500m"
mastodon.web.deployment.resources.requests.memorystring"1Gi"
mastodon.web.deployment.securityContextobject{}
mastodon.web.deployment.tolerationslist[]
mastodon.web.extraEnv.envlist[]
mastodon.web.service.portint8080
mastodon.web.service.typestring"ClusterIP"
mastodon.web.settings.concurrencystring"2"
mastodon.web.settings.maxThreadsstring"5"
mastodon.web.settings.rwSplitobject{"enabled":false}If enabled, you need to provide these env vars : DB_RO_NAME DB_RO_USER DB_RO_PASS DB_RO_HOST DB_RO_PORT
nameOverridestring""
nginxReverse.additionalMountslist[]
nginxReverse.deployment.affinityobject{}
nginxReverse.deployment.autoscalin

Deploy mastodon with OpenTenant

Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has mastodon on a Hetzner server. Change the host, add apps from the marketplace, then copy the generated files. Providers and prices are samples, and nothing here is sent anywhere.

  1. Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
  2. Place the chartmastodon is pinned at v3.1.2 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
  3. ApplySave opentenant.yaml and main.tf from the console, then run the commands below.
# opentenant.yaml, main.tf and dns.tf come from the builder below
opentenant validate opentenant.yaml
terraform init && terraform apply