You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In section 09-bootstrapping-kubernetes-workers, the SUBNET value is written to kubelet-config.yaml
for host in node-0 node-1; do
SUBNET=$(grep $host machines.txt | cut -d " " -f 4)
sed "s|SUBNET|$SUBNET|g" \
configs/10-bridge.conf > 10-bridge.conf
sed "s|SUBNET|$SUBNET|g" \
configs/kubelet-config.yaml > kubelet-config.yaml
scp 10-bridge.conf kubelet-config.yaml \
root@$host:~/
done
However, in the next code block, config/kubelet-config.yaml is transferred by scp command, so kubelet-config.yaml, which should be distributed to each worker node, is initialized.
for host in node-0 node-1; do
scp \
downloads/runc.arm64 \
downloads/crictl-v1.28.0-linux-arm.tar.gz \
downloads/cni-plugins-linux-arm64-v1.3.0.tgz \
downloads/containerd-1.7.8-linux-arm64.tar.gz \
downloads/kubectl \
downloads/kubelet \
downloads/kube-proxy \
configs/99-loopback.conf \
configs/containerd-config.toml \
configs/kubelet-config.yaml \ <<< Here is the problem area, please delete this line
configs/kube-proxy-config.yaml \
units/containerd.service \
units/kubelet.service \
units/kube-proxy.service \
root@$host:~/
done
As a result, kubelet stumbled upon an error where kubelet did not start up properly, so please remove the line in config/kubelet-config.yaml.
The text was updated successfully, but these errors were encountered:
In section 09-bootstrapping-kubernetes-workers, the SUBNET value is written to kubelet-config.yaml
However, in the next code block, config/kubelet-config.yaml is transferred by scp command, so kubelet-config.yaml, which should be distributed to each worker node, is initialized.
As a result, kubelet stumbled upon an error where kubelet did not start up properly, so please remove the line in config/kubelet-config.yaml.
The text was updated successfully, but these errors were encountered: