https://www.growthbook.io/ logo
#announcements
Title
# announcements
v

victorious-printer-70656

04/14/2022, 9:53 AM
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

fresh-football-47124

04/14/2022, 10:13 AM
137 is out of memory
can you assign more?
v

victorious-printer-70656

04/14/2022, 2:07 PM
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

fresh-football-47124

04/18/2022, 9:07 AM
huh
is there any extra information inside the console?
v

victorious-printer-70656

04/18/2022, 9:10 AM
how to change url backend ?
always listen at localhost:3100
its not possible to listen all interfaces ?
f

fresh-football-47124

04/18/2022, 9:12 AM
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

victorious-printer-70656

04/18/2022, 9:22 AM
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

fresh-football-47124

04/18/2022, 3:20 PM
great! thanks
31 Views