Docker/Kubernetes: Location of launcher

Hi,

I am trying to deploy the discourse base image into a kubernetes cluster.
The build of the base image works but obviously the CMD part that should start the launcher is missing.

I already tried to search the launcher on /var/discourse, but I am unable to find it (root looks like a normal ubuntu root directory…).
Does anyone know where the launcher is located within the docker base image?

Thank you for your support :slight_smile:

LG

1 « J'aime »

You can’t. You’ll need to create a custom image that has a little more stuff in it than the base image includes. For some hints on what you’ll need to do, see Can Discourse ship frequent Docker images that do not need to be bootstrapped? for starters.

I’m working on the same problem and hope to have a solution (that solves my specific set of problems) in the next month. I won’t share it here because it’ll be a support nightmare that meta is not designed to handle. At some point I will consider making those images available, but only when I’m sure that meta won’t be flooded with support requests.

2 « J'aime »

@pfaffman, How has finding the solution to this problem gone? Any other tips and tricks? I’m about to dive down this rabbit hole myself.

I think I’ve got it figure out, though I haven’t yet automated it. I’ve got several other things going on that have that pushed back a bit. If you have a budget, I’d be happy to help out. You can PM me or see contact info in my profile.

1 « J'aime »

@technik, Did you get the base image deployed on Kubernetes? Any tips or issues you’d like to share?

C’est très intéressant, j’aimerais en savoir plus à ce sujet

Si j’étais arrivé ici le premier, j’aurais probablement fermé ça. :slight_smile:

Qu’est-ce qui est intéressant ? Que voulez-vous savoir et pourquoi ?

Kubernetes ne sera (presque certainement, bien que ce ne soit pas à moi de décider) jamais pris en charge. Je travaille cette semaine avec quelqu’un qui a besoin d’aide pour son déploiement k8s. Si vous avez un budget, n’hésitez pas à me contacter.

J’adorerais en apprendre davantage sur chacun de ses aspects.

D’accord, ce ne sera probablement jamais pris en charge et je ne m’y attendrais pas. L’équipe Discord fournit déjà quelque chose d’incroyable, je ne m’attendrais pas à ce qu’ils prennent en charge plus que ce qu’ils font.

Mais c’est aussi précisément pour cela que les forums sont formidables, nous pouvons échanger des connaissances et nous soutenir mutuellement, alors que cela serait beaucoup plus difficile autrement.

J’aime beaucoup Discourse, et résoudre des problèmes comme le déploiement à partir de zéro est, à mon avis, un bon moyen d’en apprendre davantage sur un système.

1 « J'aime »

Dans les grandes lignes, si vous vouliez faire fonctionner Discourse avec k8s, vous commenceriez par une installation normale à deux conteneurs (ou consulter les sujets sur l’utilisation d’une base de données externe), créer une image avec launcher, puis pousser cette image vers un dépôt. Vous pouvez utiliser ./launcher start-cmd web_only pour voir quelles variables d’environnement vous devrez passer au conteneur pour qu’il fonctionne.

Si vous avez une question spécifique, vous pouvez ouvrir un nouveau sujet.

1 « J'aime »