k3s/pkg/probe
George Kuan e8c33b7916 Add timeouts to HealthChecks and retry checks
Fixes issue #3532. Added timeouts for HTTP and TCP checks
and enabled kubelet/probe to kubelet#maxRetries times
before declaring Failure.

Added Probe.TimeoutSecs to API

Probe variants now check container.LivenessProbe.TimeoutSeconds
Also added a test for timeouts in http_test.go.
2015-02-05 06:04:45 -08:00
..
exec rename probe.Healthy to probe.Success and renam probe.Unhealthy to probe.Failure. 2015-01-27 11:20:30 -08:00
http Add timeouts to HealthChecks and retry checks 2015-02-05 06:04:45 -08:00
tcp Add timeouts to HealthChecks and retry checks 2015-02-05 06:04:45 -08:00
doc.go create pkg/probe as successor to pkg/health. 2015-01-27 11:20:29 -08:00
probe.go rename probe.Healthy to probe.Success and renam probe.Unhealthy to probe.Failure. 2015-01-27 11:20:30 -08:00