mirror of https://github.com/k3s-io/k3s
![]() This commit builds on previous work and creates an independent worker for every liveness probe. Liveness probes behave largely the same as readiness probes, so much of the code is shared by introducing a probeType paramater to distinguish the type when it matters. The circular dependency between the runtime and the prober is broken by exposing a shared liveness ResultsManager, owned by the kubelet. Finally, an Updates channel is introduced to the ResultsManager so the kubelet can react to unhealthy containers immediately. |
||
---|---|---|
.. | ||
container_gc.go | ||
container_gc_test.go | ||
convert.go | ||
convert_test.go | ||
docker.go | ||
docker_test.go | ||
exec.go | ||
fake_docker_client.go | ||
fake_manager.go | ||
instrumented_docker.go | ||
manager.go | ||
manager_test.go |