What are GCP resources?
In the context of hosting it will be Google Cloud Platform.
Google cloud postgres and redis services.
I haven’t been able to get this working but I thought I’d drop these in here incase people find them useful.
discourse 0.2.1 · halkeye/halkeye That’s a helm chart for Discourse.
A few other references:
- https://github.com/trizvanov/helm-discourse
- https://github.com/halkeye-helm-charts/discourse (source for the helm hub link above)
image.repository string “halkeye/discourse”
I wouldn’t recommend any k8s setup for Discourse that isn’t building the Docker image inside the cluster, or you’re at the mercy of whoever this random person is for Discourse updates.
I’ve considered offering a service where I’d be the random person doing those updates, but I’ve been very afraid of the support implications both for myself and meta. Real Soon Now I’ll be getting my k8s infrastructure tuned for my little bare metal cluster, so I’ll think about it again then.
yeah I just noticed that. We probably could use the official one to build helm charts.
I’m not sure why he had to build his own version.
What is the entrypoint that we give to the docker container. I see that the default entrypoint is
"Cmd": [
"/bin/bash",
"-c",
"cd /pups && git pull && /pups/bin/pups --stdin"
],
which is just updating pups Should we change this with something else?
@Geoffrey_Challen Nice writeup. I wonder, to solve the problem of production DB being needed during upgrade of the image (or any bootstrap actually), wouldn’t it make sense to use backups?
The steps would be:
- You have some Discourse running with your settings, topics, users, etc.
- Before upgrade, make a backup of Discourse (using the Discourse’s backup solution)
- Generate a new image (and do it “fresh”, without your existing DB, just start over)
- Run the new container from the new image
- Restore the backup from point 2.
- Done?
The steps may be automated I believe. In this way you don’t have to modify the default scripts, you use them as intended to bootstrap a new image.
Gibt es Neuigkeiten? Immer noch keine offizielle Möglichkeit, Discourse unter Kubernetes zu installieren?
Gibt es ein Update dazu?
Ich verwende das Bitnami/Discourse Helm Chart, möchte aber zum offiziell unterstützten Discourse Docker-Image wechseln.
Bei mir auch! Ich baue gerade einen k8s-Cluster zu Hause. Die Hosting-Kosten steigen und mein kleines Forum ist die monatlichen Kosten nicht wert. Daher möchte ich es auf meinen k8s-Cluster umziehen, sobald er fertig ist. Es wäre so cool, ein offizielles Helm-Chart für Discourse zu haben.
Gibt es Updates zur k8s-Installation? Helm-Charts?
Ok, ich habe mit ChatGPT gesprochen, um zu verstehen, warum 2025 ein Launcher-CLI als Root auf einer dedizierten VM ausgeführt werden muss, um ein Docker-Image zu starten… Ich habe die Antwort erhalten und akzeptiere sie. Sie müssen meine vorherige Frage nicht mehr beantworten.
Ich habe gehört, dass einige GlusterFS durch SeaweedFS ersetzen.
Hallo.
Mir ist bekannt, dass es nicht unterstützt wird, aber ich konnte Discourse auf GKE mithilfe des discourse/discourse - Docker Image Images und der Angebote von Google für Postgres und Redis installieren.
Es funktioniert im Moment einwandfrei und ist stabil, soweit ich das beurteilen kann (keine Spitzen im Ressourcenverbrauch und alles scheint in Ordnung zu sein, allerdings nicht in der Produktion), aber ich mache mir hauptsächlich Sorgen wegen der Upgrades. Daher würde ich gerne wissen, ob mir jemand helfen kann zu verstehen:
Was wäre die tatsächliche Auswirkung, falls sich das Image ändert? Nehmen wir an, das neue Image erfordert ein Datenbank-Update. Wie kann ich die notwendigen Migrationen ausführen? Oder wie kann ich sicherstellen, dass die Software wie erwartet funktioniert, wenn dies nicht die unterstützte Installationsmethode ist.
Vielen Dank und ich freue mich auf Ihre Antwort.