linkerd2/pkg/healthcheck
Matei David f05d1e9e26
feat(helm): default proxy-init resource requests to proxy values (#12741)
Default values for `linkerd-init` (resources allocated) are not always
the right fit. We offer default values to ensure proxy-init does not get
in the way of QOS Guaranteed (`linkerd-init` resource limits and
requests cannot be configured in any other way).

Instead of using default values that can be overridden, we can re-use
the proxy's configuration values. For the pod to be QOS Guaranteed, the
values for the proxy have to be set any way. If we re-use the same
values for proxy-init we can ensure we'll always request the same amount
of CPU and memory as needed.

* `linkerd-init` now defaults to the proxy's values
* when the proxy has an annotation configuration for resource requests,
  it also impacts `linkerd-init`
* Helm chart and docs have been updated to reflect the missing values.
* tests now no longer use `ProxyInit.Resources`

UPGRADE NOTE:
- Deprecates `proxyInit.resources` field in the Helm values.
  - It will be a no-op if specified (no hard failures)

Closes #11320

---------

Signed-off-by: Matei David <matei@buoyant.io>
2024-06-24 12:37:47 +01:00
..
healthcheck.go Fix issues with native sidecars (#12453) 2024-04-26 14:38:01 -05:00
healthcheck_fuzzer.go Fuzzing: Move fuzzers upstream (#7419) 2022-05-05 13:01:00 -06:00
healthcheck_labels.go Filter default opaque ports for pods and services (#6774) 2021-08-31 16:11:42 -06:00
healthcheck_output.go cli: Support running `check` on CLI-only extensions (#10588) 2023-03-29 12:07:36 -07:00
healthcheck_test.go feat(helm): default proxy-init resource requests to proxy values (#12741) 2024-06-24 12:37:47 +01:00
sidecar.go Fix issues with native sidecars (#12453) 2024-04-26 14:38:01 -05:00
sidecar_test.go Fix issues with native sidecars (#12453) 2024-04-26 14:38:01 -05:00
version.go go: Enable `errorlint` checking (#7885) 2022-02-16 18:32:19 -07:00