mirror of https://github.com/k3s-io/k3s
41fe3ed5bc
Automatic merge from submit-queue. If you want to cherry-pick this change to another branch, please follow the instructions <a href="https://github.com/kubernetes/community/blob/master/contributors/devel/cherry-picks.md">here</a>. [Part 1] Remove docker dep in kubelet startup **What this PR does / why we need it**: Remove dependency of docker during kubelet start up. **Which issue this PR fixes** *(optional, in `fixes #<issue number>(, fixes #<issue_number>, ...)` format, will close that issue when PR gets merged)*: Part 1 of #54090 **Special notes for your reviewer**: Changes include: 1. Move docker client initialization into dockershim pkg. 2. Pass a docker `ClientConfig` from kubelet to dockershim 3. Pass parameters needed by `FakeDockerClient` thru `ClientConfig` to dockershim (TODO, the second part) Make dockershim tolerate when dockerd is down, otherwise it will still fail kubelet Please note after this PR, kubelet will still fail if dockerd is down, this will be fixed in the subsequent PR by making dockershim tolerate dockerd failure (initializing docker client in a separate goroutine), and refactoring cgroup and log driver detection. **Release note**: ```release-note Remove docker dependency during kubelet start up ``` |
||
---|---|---|
.. | ||
apis | ||
cadvisor | ||
certificate | ||
client | ||
cm | ||
config | ||
configmap | ||
container | ||
custommetrics | ||
dockershim | ||
envvars | ||
events | ||
eviction | ||
gpu | ||
images | ||
kubeletconfig | ||
kuberuntime | ||
leaky | ||
lifecycle | ||
metrics | ||
network | ||
pleg | ||
pod | ||
preemption | ||
prober | ||
qos | ||
remote | ||
rkt | ||
rktshim | ||
secret | ||
server | ||
stats | ||
status | ||
sysctl | ||
types | ||
util | ||
volumemanager | ||
winstats | ||
BUILD | ||
OWNERS | ||
active_deadline.go | ||
active_deadline_test.go | ||
doc.go | ||
kubelet.go | ||
kubelet_getters.go | ||
kubelet_getters_test.go | ||
kubelet_network.go | ||
kubelet_network_test.go | ||
kubelet_node_status.go | ||
kubelet_node_status_test.go | ||
kubelet_pods.go | ||
kubelet_pods_test.go | ||
kubelet_pods_windows_test.go | ||
kubelet_resources.go | ||
kubelet_resources_test.go | ||
kubelet_test.go | ||
kubelet_volumes.go | ||
kubelet_volumes_test.go | ||
oom_watcher.go | ||
oom_watcher_test.go | ||
pod_container_deletor.go | ||
pod_container_deletor_test.go | ||
pod_workers.go | ||
pod_workers_test.go | ||
reason_cache.go | ||
reason_cache_test.go | ||
runonce.go | ||
runonce_test.go | ||
runtime.go | ||
util.go | ||
volume_host.go |