DEV Community

Roy
Roy

Posted on

Answer: how to run kubelet as docker container

There is a official docker image called hyperkube which contains all Kubernetes binaries, see https://kubernetes.io/docs/getting-started-guides/scratch/#selecting-images

You can find an example systemd service on how to use it for kubelet here: https://github.com/kubernetes/kubernetes-anywhere/blob/master/phase2/ignition/vanilla/kubelet.service

rancher kubernetes 的 kubelet 就是运行在容器中的

Top comments (0)