calicoctl get ippool -o wide NAME CIDR NAT IPIPMODE VXLANMODE DISABLED DISABLEBGPEXPORT SELECTOR default-ipv4-ippool 192.168.0.0/16 true CrossSubnet Never falsefalse all()
3 查看节点状态
1 2 3 4 5 6 7 8 9
calicoctl node status Calico process is running.
IPv4 BGP status +--------------+---------------+-------+----------+-------------+ | PEER ADDRESS | PEER TYPE | STATE | SINCE | INFO | +--------------+---------------+-------+----------+-------------+ | 10.0.0.2 | node specific | up | 10:40:46 | Established | | 10.0.0.3 | node specific | up | 10:40:48 | Established |
4 测试
测试,随便找个 pod ping 不同节点的 pod
5 问题
[!question] calico 查看节点信息一直 start 状态
检测此 ip 的 179 端口能否访问,如果访问不了检查 ip 能不能通信,如果不能就是这节点网络问题,如果可以检查 calico 组件状态与节点配置