https://github.com/kubernetes/kubeadm/issues/1893
sudo mkdir /etc/docker
cat <<EOF | sudo tee /etc/docker/daemon.json
{
"exec-opts": ["native.cgroupdriver=systemd"],
"log-driver": "json-file",
"log-opts": {
"max-size": "100m"
},
"storage-driver": "overlay2"
}
EOF
sudo systemctl enable docker
sudo systemctl daemon-reload
sudo systemctl restart docker
위와 같이 실행하고나서
[ERROR Port-6443]: Port 6443 is in use
[ERROR Port-10251]: Port 10251 is in use
[ERROR Port-10252]: Port 10252 is in use
위와 같은 에러가 뜬다면 kubeadm reset을 하고 다시 init을 해줘야한다.(in master)
또한 아래와 같은 에러가 뜨면 역시 kubeadm reset을 해야한다.(in node)
/etc/kubernetes/pki/ca.crt already exists
https://github.com/kubernetes/kubeadm/issues/1145
'kubernetes, helm, rancher' 카테고리의 다른 글
kubernetes pod resources, env, ReplicationController (0) | 2021.11.23 |
---|---|
kubernetes pod, static pod, self-healing, container type (0) | 2021.11.22 |
kubernetes namespace, resourcequota (0) | 2021.11.20 |
kubernetes란? (0) | 2021.11.18 |
kubernetes setting in ubuntu (0) | 2021.11.18 |