kube-proxy不绑定0.0.0.0

时间:2019-03-18 15:58:52

标签: kubernetes

[root@k8s-m3 ~]# curl -I 172.16.1.9:30394
HTTP/1.1 200 OK
Server: nginx/1.15.9
Date: Mon, 18 Mar 2019 15:22:10 GMT
Content-Type: text/html
Content-Length: 612
Last-Modified: Tue, 26 Feb 2019 14:13:39 GMT
Connection: keep-alive
ETag: "5c754993-264"
Accept-Ranges: bytes

[root@k8s-m3 ~]# curl -I 172.16.1.240:30394 # timeout
[root@k8s-m3 ~]# grep bind /etc/kubernetes/kube-proxy.conf 
bindAddress: 0.0.0.0

配置文件已绑定0.0.0.0,但无法访问第二个IP。

0 个答案:

没有答案