mirror of
https://github.com/kelseyhightower/kubernetes-the-hard-way.git
synced 2025-12-16 17:58:57 +03:00
fix: Remove redundant kubelet-config.yaml copy in node setup script
The first code block in the node setup script already correctly modifies and copies the `kubelet-config.yaml` file to each worker node, replacing the "SUBNET" placeholder with the appropriate subnet. The second code block was redundantly copying the original, unmodified `kubelet-config.yaml` file, overwriting the correctly modified version.
This commit is contained in:
@@ -32,7 +32,6 @@ for host in node-0 node-1; do
|
|||||||
downloads/kube-proxy \
|
downloads/kube-proxy \
|
||||||
configs/99-loopback.conf \
|
configs/99-loopback.conf \
|
||||||
configs/containerd-config.toml \
|
configs/containerd-config.toml \
|
||||||
configs/kubelet-config.yaml \
|
|
||||||
configs/kube-proxy-config.yaml \
|
configs/kube-proxy-config.yaml \
|
||||||
units/containerd.service \
|
units/containerd.service \
|
||||||
units/kubelet.service \
|
units/kubelet.service \
|
||||||
|
|||||||
Reference in New Issue
Block a user