Refactor the kubelet for testability.
Add unit tests.  Test coverage to 56.9%