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)

Billboard image

The Next Generation Developer Platform

Coherence is the first Platform-as-a-Service you can control. Unlike "black-box" platforms that are opinionated about the infra you can deploy, Coherence is powered by CNC, the open-source IaC framework, which offers limitless customization.

Learn more

👋 Kindness is contagious

Please leave a ❤️ or a friendly comment on this post if you found it helpful!

Okay