Open shawnsang opened 3 days ago
Find some interest thing, for parameter KUBELET_EXTRA_ARGS. In /etc/default/kubelet, the information like below
KUBELET_EXTRA_ARGS=--node-ip=10.0.0.10
But using script will see the ip address is 10.0.2.15
vagrant@controlplane:~$ local_ip="$(ip --json addr show eth0 | jq -r '.[0].addr_info[] | select(.family == "inet") | .local')"
vagrant@controlplane:~$ echo $local_ip
10.0.2.15
I've fetched the latest code, but I always get error when execute kubeadm init in master.sh.
Because our location can not direct fetch images from google, so add another --image-repository, also I add ‘ --control-plane-endpoint’, but still get same error.
The errror message like below shown:
So I try to login master node, and execute kubelet for more information, the error message is that certificate and key is not correct for kubelet.
Any suggestion for debugging and resolve it?