mirror of
https://github.com/kelseyhightower/kubernetes-the-hard-way.git
synced 2025-12-19 11:18:58 +03:00
Remove the --network-plugin=cni kublet option.
Remove the `--network-plugin=cni` kublet option. As per the (documentation)[https://kubernetes.io/docs/reference/command-line-tools-reference/kubelet/], this is Docker-specific option and has no effect for the remote/containerd runtime that is being used here. This may be misleading for people that want to go further beyond this guide and modify their clusters.
This commit is contained in:
@@ -229,7 +229,6 @@ ExecStart=/usr/local/bin/kubelet \\
|
|||||||
--container-runtime-endpoint=unix:///var/run/containerd/containerd.sock \\
|
--container-runtime-endpoint=unix:///var/run/containerd/containerd.sock \\
|
||||||
--image-pull-progress-deadline=2m \\
|
--image-pull-progress-deadline=2m \\
|
||||||
--kubeconfig=/var/lib/kubelet/kubeconfig \\
|
--kubeconfig=/var/lib/kubelet/kubeconfig \\
|
||||||
--network-plugin=cni \\
|
|
||||||
--register-node=true \\
|
--register-node=true \\
|
||||||
--v=2
|
--v=2
|
||||||
Restart=on-failure
|
Restart=on-failure
|
||||||
|
|||||||
Reference in New Issue
Block a user