InseeFrLab / legacy-onyxia-entrypoint

🔬 A data science oriented container launcher
MIT License
69 stars 3 forks source link

[onyxia-api] Helm chart resource limitations/requests doesn't work #46

Open kellian-cottart opened 1 year ago

kellian-cottart commented 1 year ago

Rsource limitation/request doesn't work

Issue

onyxia-api : version 0.14

When specifying resource requests and limitations for onyxia-api pod in the Helm chart values.yaml file, the pod will keep on crashing, even after saying in the logs that it has started. The pod crashes and restarts permanently.

Values of the requests and limitations have little to no effect on the restart, and it is presumed that the cause is not related to resource usage, but to an unexpected party yet to be uncovered.

Last logs

Collecting the last logs before the crash, using kubect logs -n onyxia <pod> gave:

2022-08-04 09:53:38.841  INFO 1 --- [           main] o.s.b.a.e.web.EndpointLinksResolver      : Exposing 1 endpoint(s) beneath base path '/actuator'
2022-08-04 09:53:39.151  INFO 1 --- [           main] o.s.b.w.embedded.tomcat.TomcatWebServer  : Tomcat started on port(s): 8080 (http) with context path ''
2022-08-04 09:53:39.251  INFO 1 --- [           main] fr.insee.onyxia.api.Application          : Started Application in 40.702 seconds (JVM running for 44.579)