Skip to content

Set GOMAXPROCS and GOMEMLIMIT environment variables based on container resources

  • Please check this box if this contribution uses AI-generated content (including content generated by GitLab Duo features) as outlined in the GitLab DCO & CLA

Set GOMAXPROCS and GOMEMLIMIT environment variables based on container resources.

Inspired by https://github.com/traefik/traefik-helm-chart/pull/1029, this should reduce potential CPU throttling and OOMKills on containers.

Edited by 🤖 GitLab Bot 🤖

Merge request reports