kubernetes service IPs not reachable

后端 未结 3 435
庸人自扰
庸人自扰 2020-12-16 05:41

So I\'ve got a Kubernetes cluster up and running using the Kubernetes on CoreOS Manual Installation Guide.

$ kubectl get no
NAME              STATUS                   


        
3条回答
  •  执念已碎
    2020-12-16 06:21

    I had this same problem, and the ultimate solution that worked for me was enabling IP forwarding on all nodes in the cluster, which I had neglected to do.

    $ sudo sysctl net.ipv4.ip_forward=1
    net.ipv4.ip_forward = 1
    

    Service IPs and DNS started working immediately afterwards.

提交回复
热议问题