kubernetes/pkg/kubelet/pod/testing
Clayton Coleman 80b1aca580
kubelet: Remove dispatchWork and inline calls to UpdatePod
The HandlePod* methods are all structurally similar, but accrued
subtle differences. In general the only point for Handle is to
process admission and to update the pod worker with the desired
state of the kubelet's config (so that pod worker can make it
the actual state).

Add a new GetPodAndMirrorPod() method that handles when the config
pod is ambiguous (pod or mirror pod) and inline the structure.
Add comments on questionable additions in the config methods for
future improvement.

Move the metric observation of container count closer to where
pods are actually started (in the pod worker). A future change
can likely move it to syncPod.
2023-05-12 12:57:26 -04:00
..
fake_mirror_client.go Deprecating --bootstrap-checkpoint-path flag 2020-06-09 15:27:01 -04:00
mock_manager.go kubelet: Remove dispatchWork and inline calls to UpdatePod 2023-05-12 12:57:26 -04:00