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 curtida

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 curtidas

@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 curtida

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

isso Ă© muito interessante, adoraria aprender mais sobre isso

Se eu tivesse chegado aqui primeiro, provavelmente teria fechado isso. :slight_smile:

O que Ă© interessante? O que vocĂŞ quer saber e por quĂŞ?

O Kubernetes (quase certamente, embora não dependa de mim) nunca será suportado. Estou trabalhando com alguém esta semana que precisa de ajuda com sua implantação de k8s. Se você tiver um orçamento, sinta-se à vontade para entrar em contato comigo.

Eu adoraria aprender mais sobre cada parte disso.

Concordo, provavelmente nunca será suportado e eu não esperaria isso. A equipe do Discord fornece algo incrível como está, eu não esperaria que eles dessem mais suporte do que já dão.

Mas Ă© exatamente por isso que os fĂłruns sĂŁo Ăłtimos, podemos trocar conhecimento e nos apoiar onde, de outra forma, seria muito mais difĂ­cil.

Eu gosto muito do Discourse, e resolver coisas como implantar do “zero” IMO é uma ótima maneira de aprender mais sobre um sistema.

1 curtida

Em linhas gerais, se você quisesse turbinar o Discourse com k8s, começaria com uma instalação normal de dois contêineres (ou procuraria tópicos sobre o uso de um banco de dados externo), criaria uma imagem com o launcher e, em seguida, enviaria essa imagem para um repositório. Você pode usar ./launcher start-cmd web_only para ver quais variáveis de ambiente precisaria passar para o contêiner para fazê-lo funcionar.

Se vocĂŞ tiver uma pergunta especĂ­fica, pode abrir um novo tĂłpico.

1 curtida