kube-vip 0.3.0 版本 会出现external ip 无法patch(超时)更新的情况
手动修复的话,需要到node上重启 3个woker,由于这种pod是static pod部署方式
[root@hangzhou-master-1 l2-ipam]# k get po -A -o wide | grep vip
kube-system kube-vip-cloud-provider-0 1/1 Running 0 2m47s 10.117.81.180 hangzhou-worker-2 <none> <none>
kube-system kube-vip-hangzhou-master-1 1/1 Running 0 22s 10.115.160.11 hangzhou-master-1 <none> <none>
kube-system kube-vip-hangzhou-master-2 1/1 Running 3 9m9s 10.115.160.12 hangzhou-master-2 <none> <none>
kube-system kube-vip-hangzhou-master-3 1/1 Running 3 9m9s 10.115.160.13 hangzhou-master-3 <none> <none>
[root@hangzhou-master-1 l2-ipam]# k get svc -A -owide
NAMESPACE NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE SELECTOR
default kubernetes ClusterIP 172.31.0.1 <none> 443/TCP 4h34m <none>
default php-nginx LoadBalancer 172.31.67.238 <pending> 80:31408/TCP 8s app=php-nginx
default srvclb-ngnx LoadBalancer 172.31.207.127 <pending> 80:31405/TCP 4m3s app=hello,tier=frontend
重启后可恢复
网友评论