Junny$ > kubectl describe nodes
Name: Junnyland-master
...
Conditions:
Type Status LastHeartbeatTime LastTransitionTime Reason Message
---- ------ ----------------- ------------------ ------ -------
...
Ready False Wed, 15 Feb 2023 09:35:49 +0900 Wed, 15 Feb 2023 09:26:02 +0900 KubeletNotReady container runtime network not ready: NetworkReady=false reason:NetworkPl uginNotReady message:Network plugin returns error: cni plugin not initialized
๋คํธ์ํฌ ์ค์ ์ /etc/cni/net.d์์ ์ฒ๋ฆฌํ๋ค.
๋จ์ํ Pod๋ฅผ ํ๋ ์ถ๊ฐํด์ฃผ๋ฉด ๋ฌธ์ ๊ฐ ํด๊ฒฐ๋๋ค.
# Flannel ์ค์น
> kubectl apply -f https://raw.githubusercontent.com/coreos/flannel/master/Documentation/kube-flannel.yml
# Calico ์ค์น
> curl https://raw.githubusercontent.com/projectcalico/calico/master/manifests/calico.yaml -O
> kubectl apply -f calico.yaml