Skip to content

gregory-schiano/discourse-k8s-operator

 
 

Repository files navigation

Discourse Operator

A juju charm deploying and managing Discourse on Kubernetes, configurable to use a PostgreSQL backend.

Overview

Supported features include SAML authentication, scaling to multiple pods and the storage of files and images in S3. This charm also offers seamless Discourse version upgrades, initiated by switching to an image with a newer version of Discourse than the one currently deployed.

Usage

For details on using Kubernetes with Juju see here, and for details on using Juju with MicroK8s for easy local testing see here.

To deploy into a Juju K8s model:

juju deploy postgresql-k8s
juju deploy redis-k8s
juju deploy discourse-k8s
juju relate discourse-k8s postgresql-k8s:db-admin
juju relate discourse-k8s redis-k8s

Then expose Discourse via the Kubernetes ingress:

juju deploy nginx-ingress-integrator
juju relate discourse-k8s nginx-ingress-integrator

Once the deployment is completed and the "discourse" workload state in juju status has changed to "active" you can add discourse-k8s to /etc/hosts with the IP address of your Kubernetes cluster's ingress (127.0.0.1 if you're using MicroK8s) and visit http://discourse-k8s in a browser and log in to your Discourse instance.

For further details, see here.

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 77.9%
  • Shell 10.6%
  • Dockerfile 9.8%
  • Makefile 1.7%