-
[ERROR FileAvailable--etc-kubernetes-pki-ca.crt]: /etc/kubernetes/pki/ca.crt already existsIT 2020. 6. 3. 11:45
#virtualbox
#master node
rm -rf /root/.kube/config
kubeadm reset
kubeadm init --pod-network-cidr=10.90.0.0/16 --apiserver-advertise-address=192.168.56.114
rm -rf /root/.kube/config
mkdir -p $HOME/.kube
sudo cp -i /etc/kubernetes/admin.conf $HOME/.kube/config
sudo chown $(id -u):$(id -g) $HOME/.kube/config
systemctl restart kubelet
systemctl restart docker
#slave1 node
systemctl restart kubelet
systemctl restart docker
kubeadm resetrm -rf $HOME/.kube/config
kubeadm join 192.168.56.114:6443 --token udcuo6.5hlqzjcpuqn4ku43 \
> --discovery-token-ca-cert-hash sha256:f6cd6db2acd79f7f112db34d13abf4e6c0559e2f0d46386655253f828d6d47ac'IT' 카테고리의 다른 글
when calling the GetAuthorizationToken operation: Signature expired: (0) 2020.06.03 kubectl get nodes notready (0) 2020.06.03 쿠버네티스 설치 (0) 2020.06.02 쿠버네티스 자동설치 (0) 2020.06.02 /proc/sys/net/bridge/bridge-nf-call-iptables contents are not set to 1 (0) 2020.06.02