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?
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.
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.
Si hubiera llegado aquí primero, probablemente lo habría cerrado.
¿Qué es interesante? ¿Qué quieres saber y por qué?
Kubernetes (casi con toda seguridad, aunque no depende de mí) nunca será compatible. Estoy trabajando esta semana con alguien que necesita ayuda con su implementación de k8s. Si tienes presupuesto, puedes contactarme.
Me encantaría aprender más sobre cada parte de ello.
De acuerdo, probablemente nunca será compatible y no esperaría eso. El equipo de Discord proporciona algo increíble tal como está, no esperaría que admitieran más de lo que hacen.
Pero esa es también precisamente la razón por la que los foros son geniales, podemos intercambiar conocimientos y apoyarnos mutuamente donde de lo contrario sería mucho más difícil.
Me gusta mucho Discourse, y resolver cosas como la implementación “desde cero” en mi opinión es una buena manera de aprender más sobre un sistema.
A grandes rasgos, si quisieras potenciar Discourse con k8s, empezarías con una instalación normal de dos contenedores (o buscarías temas sobre el uso de una base de datos externa), crearías una imagen con launcher y luego la subirías a un repositorio. Puedes usar ./launcher start-cmd web_only para ver qué variables de entorno necesitarías pasar al contenedor para que funcione.
Si tienes alguna pregunta específica, puedes abrir un nuevo tema.