0
我的CoreOS羣集中有三個節點與Kubernetes一起運行。我正在關注來自CoreOS https://coreos.com/kubernetes/docs/latest/deploy-master.html的這個文檔。在我的工作節點,我可以看到,它是不能夠與我的API服務器連接:CoreOS Kubernetes APIServer無法訪問
Failed to list *api.Pod: Get http://138.68.43.202/api/v1/pods?fieldSelector=spec.nodeName%3D138.68.236.47&resourceVersion=0: dial tcp 138.68.43.202:80: getsockopt: connection refused
但是,如果我試圖達到從主節點本身的API服務器,我可以看到它的返回響應:
curl http://127.0.0.1:8080/api/v1/nodes?fieldSelector=metadata.name%3D138.68.236.47&resourceVersion=0
"kind": "NodeList",
"apiVersion": "v1",
"metadata": {
"selfLink": "/api/v1/nodes"
},
"items": null
}
不知道什麼是錯的。