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

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.

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

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

정말 흥미롭네요. 이 주제에 대해 더 자세히 알고 싶어요.

제가 먼저 왔다면 아마 이 이슈를 닫았을 겁니다. :slight_smile:

무엇이 흥미롭나요? 무엇에 대해 알고 싶고, 왜 궁금한 건가요?

Kubernetes는 (거의 확실하지만, 제 권한은 아닙니다) 절대 지원되지 않을 것입니다. 이번 주에는 k8s 배포 관련 도움이 필요한 분과 협력하고 있습니다. 예산이 있으시다면 저에게 연락해 주세요.

모든 부분에 대해 더 자세히 알고 싶습니다.

동의합니다. 아마도 지원되지 않을 가능성이 높고, 그렇게 기대하지도 않습니다. Discord 팀은 이미 정말 훌륭한 것을 제공하고 있으므로, 그들이 현재보다 더 많은 것을 지원할 것이라고 기대하지 않습니다.

하지만 바로 이것이 포럼이 훌륭한 이유이기도 합니다. 그렇지 않으면 훨씬 더 어려울 수 있는 지식 교환과 상호 지원을 할 수 있기 때문입니다.

저는 Discourse를 매우 좋아하며, 제 생각에는 “처음부터” 배포하는 것과 같은 문제를 해결하는 것은 시스템에 대해 더 많이 배우는 좋은 방법입니다.

대략적으로 설명하자면, k8s로 Discourse를 실행하고 싶다면 먼저 일반적인 2컨테이너 설치(또는 외부 데이터베이스 사용에 대한 토픽을 참고)를 시작하고, launcher로 이미지를 빌린 후 해당 이미지를 리포지토리에 푸시해야 합니다. 컨테이너가 작동하도록 전달해야 하는 ENV 변수를 확인하려면 ./launcher start-cmd web_only를 사용할 수 있습니다.

구체적인 질문이 있다면 새로운 토픽을 개설할 수 있습니다.