Writes kubelet settings and (re)starts the kubelet
Writes a file with KubeletConfiguration and an environment file with node specific kubelet settings, and then (re)starts kubelet.
kubeadm init phase kubelet-start [flags]
# Writes a dynamic environment file with kubelet flags from a InitConfiguration file.
kubeadm init phase kubelet-start --config masterconfig.yaml
--config string | |
Path to kubeadm config file. WARNING: Usage of a configuration file is experimental. | |
--cri-socket string Default: "/var/run/dockershim.sock" | |
Specify the CRI socket to connect to. | |
-h, --help | |
help for kubelet-start | |
--node-name string | |
Specify the node name. |
--rootfs string | |
[EXPERIMENTAL] The path to the 'real' host root filesystem. |
Was this page helpful?
Thanks for the feedback. If you have a specific, answerable question about how to use Kubernetes, ask it on Stack Overflow. Open an issue in the GitHub repo if you want to report a problem or suggest an improvement.