• Kubernetes Submit Queue's avatar
    Merge pull request #54405 from resouer/clean-docker-dep · 41fe3ed5
    Kubernetes Submit Queue authored
    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 
    ```
    41fe3ed5
Name
Last commit
Last update
..
clicheck Loading commit data...
cloud-controller-manager Loading commit data...
gendocs Loading commit data...
genkubedocs Loading commit data...
genman Loading commit data...
genswaggertypedocs Loading commit data...
genutils Loading commit data...
genyaml Loading commit data...
gke-certificates-controller Loading commit data...
hyperkube Loading commit data...
importverifier Loading commit data...
kube-apiserver Loading commit data...
kube-controller-manager Loading commit data...
kube-proxy Loading commit data...
kubeadm Loading commit data...
kubectl Loading commit data...
kubelet Loading commit data...
kubemark Loading commit data...
linkcheck Loading commit data...
BUILD Loading commit data...
OWNERS Loading commit data...