calico是一个比较有趣的虚拟网络解决方案,它完全利用路由规则实现动态组网,通过BGP协议通告路由。
一、Calico配置
VIP内容
VIP登录后查看
Login
二、Calico验证
0 1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 |
[root@k8s-master01 ~]# kubectl get po -n kube-system NAME READY STATUS RESTARTS AGE calico-kube-controllers-86d8c4fb68-2wz7r 0/1 Running 2 (27s ago) 3m18s calico-node-c4k2t 0/1 Running 2 (38s ago) 3m18s calico-node-cqc8m 0/1 Running 1 (48s ago) 3m18s calico-node-lwt6t 0/1 Running 1 (58s ago) 3m18s calico-node-np456 0/1 Running 1 (58s ago) 3m18s calico-node-qppwd 0/1 Running 1 (18s ago) 3m18s calico-node-s6c7w 0/1 Running 2 (28s ago) 3m18s calico-typha-768795f74d-lqgr9 0/1 ImagePullBackOff 0 3m18s [root@k8s-master01 ~]# kubectl describe pod calico-typha-768795f74d-lqgr9 Error from server (NotFound): pods "calico-typha-768795f74d-lqgr9" not found [root@k8s-master01 ~]# kubectl get po -n kube-system NAME READY STATUS RESTARTS AGE calico-kube-controllers-86d8c4fb68-2wz7r 1/1 Running 6 (4m9s ago) 10m calico-node-c4k2t 1/1 Running 6 (3m58s ago) 10m calico-node-cqc8m 1/1 Running 6 (3m8s ago) 10m calico-node-lwt6t 1/1 Running 6 (3m18s ago) 10m calico-node-np456 1/1 Running 6 (3m18s ago) 10m calico-node-qppwd 1/1 Running 6 (2m38s ago) 10m calico-node-s6c7w 1/1 Running 6 (3m48s ago) 10m calico-typha-768795f74d-lqgr9 1/1 Running 0 10m |
申明:除非注明Byrd's Blog内容均为原创,未经许可禁止转载!详情请阅读版权申明!