昨天我启动了一个Azure Kubernetes Service集群,运行一些简单的应用程序。其中三个暴露了昨天可达的公网IP。
到今天早上为止,我不能让仪表板隧道工作,也不能让LoadBalancer
IP本身工作。
Azure twitter帐户要求我在此处请求帮助。
我不知道如何对这个明显的网络问题进行故障排除-似乎只有 az
能够访问我的群集。
仪表板错误日志
❯❯❯ make dashboard ~/c/azure-k8s (master) az aks browse --resource-group=akc-rg-cf --name=akc-237 Merged "akc-237" as current context in /var/folders/9r/wx8xx8ls43l8w8b14f6fns8w0000gn/T/tmppst_atlw Proxy running on http://127.0.0.1:8001/ Press CTRL+C to close the tunnel... error: error upgrading connection: error dialing backend: dial tcp 10.240.0.4:10250: getsockopt: connection timed out
service+pod列表
❯❯❯ kubectl get services,pods ~/c/azure-k8s (master) NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE azure-vote-back ClusterIP 10.0.125.49 <none> 6379/TCP 16h azure-vote-front LoadBalancer 10.0.185.4 40.71.248.106 80:31211/TCP 16h hubot LoadBalancer 10.0.20.218 40.121.215.233 80:31445/TCP 26m kubernetes ClusterIP 10.0.0.1 <none> 443/TCP 19h mti411-web LoadBalancer 10.0.162.209 52.168.123.30 80:30874/TCP 26m
NAME READY STATUS RESTARTS AGE azure-vote-back-7556ff9578-sjjn5 1/1 Running 0 2h azure-vote-front-5b8878fdcd-9lpzx 1/1 Running 0 16h hubot-74f659b6b8-wctdz 1/1 Running 0 9s mti411-web-6cc87d46c-g255d 1/1 Running 0 26m mti411-web-6cc87d46c-lhjzp 1/1 Running 0 26m
http故障
❯❯❯ curl --connect-timeout 2 -I http://40.121.215.233 ~/c/azure-k8s (master) curl: (28) Connection timed out after 2005 milliseconds ❯❯❯ curl --connect-timeout 2 -I http://52.168.123.30 ~/c/azure-k8s (master) curl: (28) Connection timed out after 2001 milliseconds
发布于 2018-06-09 06:15:18
如果你在尝试访问你的仪表板时得到了access : connection timed out,我认为删除隧道前端pod会有所帮助,因为一旦你删除了隧道前端pod,这将触发主机创建新的隧道前端。这是我尝试过并为我工作过的东西。
发布于 2018-04-03 10:24:01
@daniel重启代理虚拟机是否解决了您的问题,或者您是否仍看到问题?
https://stackoverflow.com/questions/49560394
复制相似问题