linkerd2/pkg/k8s
Alejandro Pedraza 85222ddba3
Add timeout and failureThreshold to multicluster probe (#13061)
* Add timeout and failureThreshold to multicluster probe

- This adds the `probeSpec.failureThreshold` and `probeSpec.timeout` fields to the Link CRD spec.
- Likewise, the `gateway.probe.failureThreshold` and `gateway.probe.timeout` fields are added to the linkerd-multicluster chart, that are used to populate the new `mirror.linkerd.io/probe-failure-threshold` and `mirror.linkerd.io/probe-timeout` annotations in the gateway service (consumed by `linkerd mc link` to populate probe spec).
- In the probe worker, we replace the hard-coded 50s timeout with the new timeout config (which now defaults to 30s). And the probe loop got refactored in order to not mark the gateway as unhealty until the consecutive failures threshold is reached.

* Make probeTicker.C synchronous
2024-09-25 08:06:31 -05:00
..
resource Add json output to install and related commands (#12641) 2024-06-04 12:43:23 -07:00
testdata
api.go Fix issues with native sidecars (#12453) 2024-04-26 14:38:01 -05:00
api_test.go Fix issues with native sidecars (#12453) 2024-04-26 14:38:01 -05:00
authz.go discovery: fix Server version support check (#12008) 2024-01-30 19:12:28 +02:00
authz_test.go Add `accessPolicy` field to Server CRD (#12845) 2024-07-22 09:01:09 -05:00
completion.go Fix namespace always showing up in topology graph (#6236) 2021-06-09 15:31:11 +05:30
fake.go Add an endpoints reconciler component for external workloads (#11948) 2024-01-24 16:55:16 +00:00
fake_test.go Use go-test/deep for comparisons in tests (#8427) 2022-05-05 09:31:07 -07:00
k8s.go Add `accessPolicy` field to Server CRD (#12845) 2024-07-22 09:01:09 -05:00
k8s_test.go Provide additional shortnames for resources (#10030) 2023-01-17 08:27:39 -07:00
labels.go Add timeout and failureThreshold to multicluster probe (#13061) 2024-09-25 08:06:31 -05:00
labels_test.go Use go-test/deep for comparisons in tests (#8427) 2022-05-05 09:31:07 -07:00
metrics.go Replace usage of io/ioutil package (#9613) 2022-10-13 12:10:58 -05:00
policy.go Add `accessPolicy` field to Server CRD (#12845) 2024-07-22 09:01:09 -05:00
portforward.go build(deps): bump linkerd/dev from 39 to 40 (#10825) 2023-05-09 10:57:19 -07:00
portforward_test.go Add tests regarding pod ownership (#6673) 2021-08-16 10:53:30 -07:00
version.go
version_test.go