无法从运行Windows的Azure容器访问Internet

时间:2017-07-26 16:19:29

标签: azure azure-container-service

我在Azure容器服务中使用Windows容器。当我开始使用它时,容器中的应用程序能够访问Internet。但最近,我发现新创建的容器无法访问Internet,即使是使用https://docs.microsoft.com/en-us/azure/container-service/kubernetes/container-service-kubernetes-windows-walkthrough上的说明创建的最简单的iis容器

我在容器中获得的路由表:

ifIndex DestinationPrefix                              NextHop                                  RouteMetric PolicyStore
------- -----------------                              -------                                  ----------- -----------
37      255.255.255.255/32                             0.0.0.0                                          256 ActiveStore
33      255.255.255.255/32                             0.0.0.0                                          256 ActiveStore
32      255.255.255.255/32                             0.0.0.0                                          256 ActiveStore
37      224.0.0.0/4                                    0.0.0.0                                          256 ActiveStore
33      224.0.0.0/4                                    0.0.0.0                                          256 ActiveStore
32      224.0.0.0/4                                    0.0.0.0                                          256 ActiveStore
37      192.168.15.255/32                              0.0.0.0                                          256 ActiveStore
37      192.168.15.249/32                              0.0.0.0                                          256 ActiveStore
37      192.168.0.0/20                                 0.0.0.0                                          256 ActiveStore
32      127.255.255.255/32                             0.0.0.0                                          256 ActiveStore
32      127.0.0.1/32                                   0.0.0.0                                          256 ActiveStore
32      127.0.0.0/8                                    0.0.0.0                                          256 ActiveStore
33      10.244.2.255/32                                0.0.0.0                                          256 ActiveStore
33      10.244.2.59/32                                 0.0.0.0                                          256 ActiveStore
33      10.244.2.0/24                                  0.0.0.0                                          256 ActiveStore
37      0.0.0.0/0                                      192.168.0.1                                      256 ActiveStore
33      0.0.0.0/0                                      10.244.2.1                                       256 ActiveStore
37      ff00::/8                                       ::                                               256 ActiveStore
33      ff00::/8                                       ::                                               256 ActiveStore
32      ff00::/8                                       ::                                               256 ActiveStore
37      fe80::14f3:38ac:8df2:9869/128                  ::                                               256 ActiveStore
33      fe80::1429:dec4:7919:bb65/128                  ::                                               256 ActiveStore
37      fe80::/64                                      ::                                               256 ActiveStore
33      fe80::/64                                      ::                                               256 ActiveStore
32      ::1/128                                        ::                                               256 ActiveStore

Kubernetes版本:

Client Version: version.Info{Major:"1", Minor:"7", GitVersion:"v1.7.2", GitCommit:"922a86cfcd65915a9b2f69f3f193b8907d741d9c", GitTreeState:"clean", BuildDate:"2017-07-21T08:23:22Z", GoVersion:"go1.8.3", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"6", GitVersion:"v1.6.6", GitCommit:"7fa1c1756d8bc963f1a389f4a6937dc71f08ada2", GitTreeState:"clean", BuildDate:"2017-06-16T18:21:54Z", GoVersion:"go1.7.6", Compiler:"gc", Platform:"linux/amd64"}

如何从容器中访问互联网?

由于

0 个答案:

没有答案