linkerd2/pkg/healthcheck
Alex Leong 8a5984ba8f
Relax clock skew check (#4195)
Fixes #3943

The Linkerd clock skew check requires that all nodes in the cluster have reported a heartbeat within (approximately) the last minute.  However, in Kubernetes 1.17, the default heartbeat interval is 5 minutes.  This means that the clock skew check will often fail in Kubernetes 1.17 clusters.

We relax the check to only require that heartbeats have been detected in the past 5 minutes, matching the default heartbeat interval in Kubernetes 1.17.  We also switch this check to be a warning so that clusters which are configured with longer heartbeat intervals don't see this as a fatal error.

Signed-off-by: Alex Leong <alex@buoyant.io>
2020-03-24 14:19:17 -07:00
..
healthcheck.go Relax clock skew check (#4195) 2020-03-24 14:19:17 -07:00
healthcheck_test.go Add missing SAs to linkerd check (#4194) 2020-03-24 12:50:54 -05:00
sidecar.go Remove envoy, contour restrictions (#4092) 2020-03-02 09:18:51 -05:00
version.go Consolidate timeouts for `linkerd check` (#2191) 2019-02-05 11:38:30 -05:00
version_test.go Enable `unused` linter (#2357) 2019-02-23 11:05:39 -08:00