linkerd2/cli
Oliver Gould 4d85b6cd65
inject: Set LINKERD2_PROXY_CORES from the cpu limit (#5170)
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.
2020-11-03 10:02:31 -08:00
..
cmd inject: Set LINKERD2_PROXY_CORES from the cpu limit (#5170) 2020-11-03 10:02:31 -08:00
flag Add flag library (#5038) 2020-10-05 14:57:40 -07:00
installsp Make destination and identity services headless (#4923) 2020-09-02 14:53:38 -05:00
table Spelling (#4872) 2020-08-12 21:59:50 -07:00
Dockerfile-bin Release ARM CLI artifacts (#4841) 2020-08-11 09:25:58 -05:00
main.go Refactor proxy injection to use Helm charts (#3200) 2019-08-07 17:32:37 -05:00