mirror of https://github.com/linkerd/linkerd2.git
Per #5165, Kubernetes does not necessarily limit the proxy's access to cores via `cgroups` when a CPU limit is set. As of #5168, the proxy now supports a `LINKERD2_PROXY_CORES` environment configuration that augments CPU detection from the host operating system. This change modifies the proxy injector to ensure that this environment is configured from the `Values.proxy.cores` Helm value, the `config.linkerd.io/proxy-cpu-limit` annotation, and the `--proxy-cpu-limit` install flag. |
||
---|---|---|
.. | ||
cmd | ||
flag | ||
installsp | ||
table | ||
Dockerfile-bin | ||
main.go |