discourse
Discourse is an open source discussion platform with built-in moderation and governance systems that let discussion communities protect themselves from bad actors even without official moderators.
About this chart
Discourse(R) packaged by Bitnami
Discourse is an open source discussion platform with built-in moderation and governance systems that let discussion communities protect themselves from bad actors even without official moderators.
Trademarks: This software listing is packaged by Bitnami. The respective trademarks mentioned in the offering are owned by the respective companies, and use of them does not imply any affiliation or endorsement.
Azure-ready Charts with Containers from marketplace.azurecr.io
This Helm Chart has been configured to pull the Container Images from the Azure Marketplace Public Repository. The following command allows you to download and install all the charts from this repository.
$ helm repo add bitnami-azure https://marketplace.azurecr.io/helm/v1/repo
TL;DR
$ helm repo add my-repo https://charts.bitnami.com/bitnami
$ helm install my-release my-repo/discourse
Introduction
This chart bootstraps a Discourse deployment on a Kubernetes cluster using the Helm package manager.
It also packages Bitnami Postgresql and Bitnami RedisĀ® which are required as databases for the Discourse application.
Bitnami charts can be used with Kubeapps for deployment and management of Helm Charts in clusters.
Prerequisites
- Kubernetes 1.19+
- Helm 3.2.0+
- PV provisioner support in the underlying infrastructure
- ReadWriteMany volumes for deployment scaling
Installing the Chart
To install the chart with the release name my-release:
$ helm install my-release my-repo/discourse
The command deploys Discourse on the Kubernetes cluster in the default configuration. The Parameters section lists the parameters that can be configured during installation.
Tip: List all releases using
helm list
Uninstalling the Chart
To uninstall/delete the my-release deployment:
$ helm delete my-release
The command removes all the Kubernetes components associated with the chart and deletes the release.
Parameters
Global parameters
| Name | Description | Value |
|---|---|---|
global.imageRegistry | Global Docker image registry | "" |
global.imagePullSecrets | Global Docker registry secret names as an array | [] |
global.storageClass | Global StorageClass for Persistent Volume(s) | "" |
Common parameters
| Name | Description | Value |
|---|---|---|
kubeVersion | Force target Kubernetes version (using Helm capabilities if not set) | "" |
nameOverride | String to partially override discourse.fullname template (will maintain the release name) | "" |
fullnameOverride | String to fully override discourse.fullname template | "" |
clusterDomain | Kubernetes Cluster Domain | cluster.local |
commonLabels | Labels to be added to all deployed resources | {} |
commonAnnotations | Annotations to be added to all deployed resources | {} |
extraDeploy | Array of extra objects to deploy with the release | [] |
diagnosticMode.enabled | Enable diagnostic mode (all probes will be disabled and the command will be overridden) | false |
diagnosticMode.command | Command to override all containers in the the deployment(s)/statefulset(s) | ["sleep"] |
diagnosticMode.args | Args to override all containers in the the deployment(s)/statefulset(s) | ["infinity"] |
Discourse Common parameters
| Name | Description | Value |
|---|---|---|
image.registry | Discourse image registry | docker.io |
image.repository | Discourse image repository | bitnami/discourse |
image.tag | Discourse image tag | 2.8.9-debian-11-r3 |
image.digest | Discourse image digest in the way sha256:aa.... Please note this parameter, if set, will override the tag | "" |
image.pullPolicy | Discourse image pull policy | IfNotPresent |
image.pullSecrets | Discourse image pull secrets | [] |
image.debug | Enable image debug mode | false |
auth.email | Discourse admin user email | [email protected] |
auth.username | Discourse admin user | user |
auth.password | Discourse admin password. WARNING: Minimum length of 10 characters | "" |
auth.existingSecret | Name of an existing secret to use for Discourse credentials | "" |
host | Hostname to create application URLs (include the port if =/= 80) | "" |
siteName | Discourse site name | My Site! |
smtp.enabled | Enable/disable SMTP | false |
smtp.host | SMTP host name | "" |
smtp.port | SMTP port number | "" |
smtp.user | SMTP account user name | "" |
smtp.password | SMTP account password | "" |
smtp.protocol | SMTP protocol (Allowed values: tls, ssl) | "" |
smtp.auth | SMTP authentication method | "" |
smtp.existingSecret | Name of an existing Kubernetes secret. The secret must have the following key configured: smtp-password | "" |
replicaCount | Number of Discourse & Sidekiq replicas | 1 |
podSecurityContext.enabled | Enabled Discourse pods' Security Context | false |
podSecurityContext.fsGroup | Set Discourse pod's Security Context fsGroup | 0 |
hostAliases | Add deployment host aliases | [] |
podAnnotations | Additional pod annotations | {} |
podLabels | Additional pod labels | {} |
podAffinityPreset | Pod affinity preset. Allowed values: soft, hard | "" |
podAntiAffinityPreset | Pod anti-affinity preset. Ignored if affinity is set. Allowed values: soft or hard | soft |
nodeAffinityPreset.type | Node affinity preset type. Ignored if affinity is set. Allowed values: soft or hard | "" |
nodeAffinityPreset.key | Node label key to match Ignored if affinity is set. | "" |
nodeAffinityPreset.values | Node label values to match. Ignored if affinity is set. | [] |
affinity | Affinity for pod assignment | {} |
nodeSelector | Node labels for pod assignment. | {} |
tolerations | Tolerations for pod assignment. | [] |
topologySpreadConstraints | Topology Spread Constraints for pod assignment spread across your cluster among failure-domains. Evaluated as a template | [] |
priorityClassName | Priority Class Name | "" |
schedulerName | Use an alternate scheduler, e.g. "stork". | "" |
terminationGracePeriodSeconds | Seconds Discourse pod needs to terminate gracefully | "" |
updateStrategy.type | Discourse deployment strategy type | RollingUpdate |
updateStrategy.rollingUpdate | Discourse deployment rolling update configuration parameters | {} |
sidecars | Add additional sidecar containers to the Discourse pods | [] |
initContainers | Add additional init containers to the Discourse pods | [] |
extraVolumeMounts | Optionally specify extra list of additional volumeMounts for the Discourse pods | [] |
extraVolumes | Optionally specify extra list of additional volumes for the Discourse pods | [] |
Discourse container parameters
| Name | Description | Value |
|---|---|---|
discourse.skipInstall | Do not run the Discourse installation wizard | false |
discourse.command | Custom command to override image cmd | [] |
discourse.args | Custom args for the custom command | [] |
| `discour |
Deploy discourse with OpenTenant
Each tenant gets its own release of this chart, with its own namespace, secrets and domain. The builder below already has discourse 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.
- Pick a serverConnect Hetzner, OVHcloud or AWS. The builder starts on Hetzner, the cheapest sample rate.
- Place the chartdiscourse is pinned at v8.1.8 in opentenant.yaml. Drag more apps from the marketplace onto a rack.
- 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