Description
The charts should allow adding values to the environment of each container.
This would be useful to tune go runtime parameters like GOMAXPROCS or its memory settings.
In particular GOMAXPROCS tuning is necessary in kubernetes deployments as golang defaults to the number of available host cores,not the available resources of the container.
On hardware with high cpu counts this leads to golang starting a lot of threads leading to increased memory usage, management overheads and latencies and potential issues when cpu frequency scaling is enabled as each thread receives little load.
There are go modules to automatically configure values e.g. https://github.com/uber-go/automaxprocs which could be an alternative.
Being able to set environment variables of each container in a pod via helm chart values. One setting for all containers of a pod may be enough though.