Networking 无法从另一个POD连接到K8s服务

Networking 无法从另一个POD连接到K8s服务,networking,kubernetes,Networking,Kubernetes,我从另一个服务器访问K8服务时遇到问题 核心DNS配置映射 # Please edit the object below. Lines beginning with a '#' will be ignored, # and an empty file will abort the edit. If an error occurs while saving this file will be # reopened with the relevant failures. # apiVersion:

我从另一个服务器访问K8服务时遇到问题

核心DNS配置映射

# Please edit the object below. Lines beginning with a '#' will be ignored,
# and an empty file will abort the edit. If an error occurs while saving this file will be
# reopened with the relevant failures.
#
apiVersion: v1
data:
  Corefile: |
    .:53 {
        errors
        health {
           lameduck 5s
        }
        ready
        kubernetes cluster.local in-addr.arpa ip6.arpa {
           pods insecure
           fallthrough in-addr.arpa ip6.arpa
           ttl 30
        }
        prometheus :9153
        forward . /etc/resolv.conf
        cache 30
        loop
        reload
        loadbalance
    }
kind: ConfigMap
metadata:
  creationTimestamp: "2020-02-19T19:48:57Z"
  name: coredns
  namespace: kube-system
  resourceVersion: "207"
  selfLink: /api/v1/namespaces/kube-system/configmaps/coredns
  uid: 6ccfa9bf-da03-4916-ae8c-e49d432a90e4
来自运行源服务的节点的TCP转储


20:31:06.339312 IP 192.168.190.8.41456 > 10.96.0.10.domain: 8043+ A? spin-redis-bootstrap.spinnaker.spinnaker.svc.cluster.local. (76)
20:31:06.339504 IP 192.168.190.8.41456 > 10.96.0.10.domain: 8755+ AAAA? spin-redis-bootstrap.spinnaker.spinnaker.svc.cluster.local. (76)

即使它不允许我ping像google.com这样的外部URL,但我可以用它们的IP ping它们。

我正在尝试在本地安装Spinnaker,您可以在下面找到完整的代码:您是否使用与github项目相同的环境:Vagrant and Ansible?是,与Vagrant和Ansible使用相同的环境我正在尝试在本地安装Spinnaker,您可以在下面找到完整的代码您是否使用与github项目相同的环境:Vagrant和Ansible?是的,与Vagrant和Ansible使用相同的环境