Discourse
- By Arturo Enrique Seijas Fernández
Channel | Revision | Published | Runs on |
---|---|---|---|
latest/stable | 17 | 21 Mar 2023 | |
latest/edge | 18 | 24 Mar 2023 |
juju deploy discourse-k8s
You will need Juju 2.9 to be able to run this command. Learn how to upgrade to Juju 2.9.
Deploy Kubernetes operators easily with Juju, the Universal Operator Lifecycle Manager. Need a Kubernetes cluster? Install MicroK8s to create a full CNCF-certified Kubernetes system in under 60 seconds.
Platform:
Hostname configuration
This charm exposes the external_hostname
configuration option to specify the external hostname of the application.
To expose the application it is recommended to set that configuration option and deploy and relate the Nginx Ingress Integrator Operator, that will be automatically configured with the values provided by the charm.
Assuming Discourse is already up and running as discourse-k8s
, you’ll need to run the following commands:
# Configure the external hostname
juju config discourse-k8s external_hostname=discourse.local
# Deploy and relate the Nginx Ingress Integrator charm
juju deploy nginx-ingress-integrator
juju trust nginx-ingress-integrator --scope cluster # if RBAC is enabled
juju relate nginx-ingress-integrator discourse-k8s
For more details on the configuration options and their default values see the configuration reference.
Help us improve this documentation
Most of this documentation can be collaboratively discussed and changed on the respective topic in the doc category of the Charmhub forum. See the documentation guidelines if you’d like to contribute.