Warning Unhealthy 16m kubelet Readiness probe failed: calico/node is not ready: BIRD is not ready: Error querying BIRD: unable to connect to BIRDv4 socket: dial unix /var/run/calico/bird.ctl: connect: connection refused
Warning Unhealthy 16m kubelet Readiness probe failed: 2023-10-30 08:06:49.135 [INFO][215] confd/health.go 180: Number of node(s) with BGP peering established = 0
calico/node is not ready: BIRD is not ready: BGP not established with 172.31.16.104
https://nvtienanh.info/blog/cai-dat-kubernetes-cluster-tren-ubuntu-server-22-04
calico ์ cidr์ 10.10.0.0/16์ผ๋ก ๊ตฌ์ฑํ์์.
์ฒ์์ ๋ฌธ์ ๊ฐ ๋ญ์ง ์ถ์ด์
ํด๋น ํฌ์คํ ์ ๋ณด๊ณ ๋ฐฉํ๋ฒฝ ์คํ์ด ํ์ํ๋ค๊ณ ํด์ ์ผ๋จ ํฌํธ๋ฅผ ๊ฐ๋ฐฉํจ.
https://velog.io/@koo8624/Kubernetes-Calico-Error-caliconode-is-not-ready-BIRD-is-not-ready-BGP-not-established
๋คํธ์ํฌ nic๊ฐ ec2์ธ์คํด์ค์ ์ฌ๋ฌ๊ฐ ์กด์ฌํ๋์ง ์๋ชจ๋ฅด๊ฒ ๋ค..
๊ทธ๋๋ ํน์๋ ํ๋ ๋ง์์ nic๋ฅผ ์ง์ ํ ์ ์๋๋ก daemonset์ ๋ณ์๋ฅผ ์์ ํ์์.
https://velog.io/@numerok/caliconode-is-not-ready-BIRD-is-not-ready-BGP-not-established-with
์ฐธ๊ณ :
https://www.skyer9.pe.kr/wordpress/?p=7416
Bird Daemon ํ๋ก์ธ์ค๊ฐ ์คํ๋์ง ์๋ ๊ฑด๊ฐ ์ถ์ด์
sudo systemctl status bird
sudo systemctl restart bird
๋ช ๋ น์ด๋ฅผ ์ด์ฉํ์ฌ ๋ฒ๋๋ฅผ ํ์ธํ์์.
๊ทธ๋ฌ๊ณ ๋์ฏ ๋ค์ kube-system ๋ค์ ์คํ์ด์ค์ ์ปดํฌ๋ํธ๋ค์ ๋ชจ๋ ํ์ธํด๋ณด๋ ready ์ํ๊ฐ 0/1์์ 1/1๋ก ๋ฐ๊ท์๋ค (calico-node)
Events:
Type Reason Age From Message
---- ------ ---- ---- -------
Normal Scheduled 16m default-scheduler Successfully assigned kube-system/calico-node-5h5lb to ip-172-31-16-104
Normal Pulled 16m kubelet Container image "docker.io/calico/cni:v3.25.0" already present on machine
Normal Created 16m kubelet Created container upgrade-ipam
Normal Started 16m kubelet Started container upgrade-ipam
Normal Pulled 16m kubelet Container image "docker.io/calico/cni:v3.25.0" already present on machine
Normal Created 16m kubelet Created container install-cni
Normal Started 16m kubelet Started container install-cni
Normal Pulled 16m kubelet Container image "docker.io/calico/node:v3.25.0" already present on machine
Normal Created 16m kubelet Created container mount-bpffs
Normal Started 16m kubelet Started container mount-bpffs
Normal Pulled 16m kubelet Container image "docker.io/calico/node:v3.25.0" already present on machine
Normal Created 16m kubelet Created container calico-node
Normal Started 16m kubelet Started container calico-node
Warning Unhealthy 16m (x2 over 16m) kubelet Readiness probe failed: calico/node is not ready: BIRD is not ready: Error querying BIRD: unable to connect to BIRDv4 socket: dial unix /var/run/calico/bird.ctl: connect: connection refused
Warning Unhealthy 16m kubelet Readiness probe failed: 2023-10-30 08:39:29.117 [INFO][218] confd/health.go 180: Number of node(s) with BGP peering established = 1
calico/node is not ready: BIRD is not ready: BGP not established with 172.31.7.96
Warning Unhealthy 16m kubelet Readiness probe failed: 2023-10-30 08:39:39.167 [INFO][239] confd/health.go 180: Number of node(s) with BGP peering established = 1
calico/node is not ready: BIRD is not ready: BGP not established with 172.31.31.33
describe ํ์ ๋ ์ฌ์ ํ ์ด๋ฒคํธ์ ์๋ฌ ๋ก๊ทธ๊ฐ ๋จ์์์ง๋ง ์ผ๋จ ์ ์ ์คํ๋จ..