Discourse run error in k8s

I would like to install discourse in K8s. The Docker works well in local environment but report bellow error after upload to k8s. Looks like related to postures and redis. Can anybody help?

run-parts: executing /etc/runit/1.d/00-ensure-links
run-parts: executing /etc/runit/1.d/00-fix-var-logs
run-parts: executing /etc/runit/1.d/01-cleanup-web-pids
run-parts: executing /etc/runit/1.d/anacron
run-parts: executing /etc/runit/1.d/cleanup-pids
Cleaning stale PID files
run-parts: executing /etc/runit/1.d/copy-env
Started runsvdir, PID is 47
ok: run: redis: (pid 61) 0s
ok: run: postgres: (pid 62) 0s
chgrp: invalid group: ‘syslog’
supervisor pid: 57 unicorn pid: 114
config/unicorn_launcher: line 71: kill: (114) - No such process
config/unicorn_launcher: line 15: kill: (114) - No such process
(57) exiting
timeout: down: redis: 0s, normally up, want up
ok: run: redis: (pid 169) 0s
timeout: down: postgres: 1s, normally up, want up
timeout: down: redis: 0s, normally up, want up
timeout: down: redis: 0s, normally up, want up
timeout: down: redis: 1s, normally up, want up

That’s not supported here. There are too many things that might be wrong to be able to support anything other than the standard install. Unless you’re sure to need scaling for a community that has periods of much higher activity than others you really don’t need k8s.

Did you build an image with launcher or are you using bitnami? If it’s bitnami, you can get support from them.

1 Like

build with launcher ~~~

You’d need to use an external postgres and redis. It looks like you’re trying I use a container that includes redis and postgres?

1 Like

It works with external rids and Postgres. Thanks Jay!

2 Likes

Great! Glad you’re up and running!

1 Like