hello everyone, im try to run in k8s. but i got er...
# announcements
v
hello everyone, im try to run in k8s. but i got error this
Copy code
$ wsrun -p '*-end' -m start
back-end
 | $ node dist/server.js
front-end
 | $ next start
 | ready - started server on 0.0.0.0:3000, url: <http://localhost:3000>
 | info  - Using webpack 5. Reason: no next.config.js <https://nextjs.org/docs/messages/webpack5>
back-end
 | Killed
 | error Command failed with exit code 137.
 | info Visit <https://yarnpkg.com/en/docs/cli/run> for documentation about this command.
 | `yarn start` failed with exit code 137
f
137 is out of memory
can you assign more?
v
okay thank you for your suggestion. im try to run on locally its perfectly works
im already assign more memory but error still exists back-end | No config.yml file. Using MongoDB instead to store data sources, metrics, and dimensions. | Killed | info Visit https://yarnpkg.com/en/docs/cli/run for documentation about this command. | error Command failed with exit code 137. |
yarn start
failed with exit code 137
but im try to exec inside pods and run manually node dist/server.js its works
f
huh
is there any extra information inside the console?
v
how to change url backend ?
always listen at localhost:3100
its not possible to listen all interfaces ?
f
for the API? the server needs to run on a port- you might be able to do that with docker - let me check
ya, dont think you can. - but if you want to not use the port, you can use 80
v
in this case im trying to run on k8s.
@fresh-football-47124 its works perfectly running on k8s. i will share a helm chart to install growthbook in k8s . thank you
f
great! thanks