部署在openstack环境的,系统是centos 7.8
k8s版本1.18.6,一个master两个worker
[root@master ~]# kubectl exec dnsutils -- nslookup ks-apiserver.kubesphere-system.svc
Server: 169.254.25.10
Address: 169.254.25.10#53
Name: ks-apiserver.kubesphere-system.svc.cluster.local
Address: 10.233.43.42
[root@master ~]# kubectl -n kubesphere-system exec -i -t ks-console-5b5d8f4d76-jhvpc -- nslookup ks-apiserver.kubesphere-system.svc
nslookup: can't resolve '(null)': Name does not resolve
nslookup: can't resolve 'ks-apiserver.kubesphere-system.svc': Try again
command terminated with exit code 1
[root@master ~]# kubectl -n kubesphere-system exec -i -t ks-console-5b5d8f4d76-jhvpc -- cat /etc/resolv.conf
nameserver 169.254.25.10
search kubesphere-system.svc.cluster.local svc.cluster.local cluster.local
options ndots:5
[root@master ~]# kubectl exec -t -i dnsutils -- cat /etc/resolv.conf
nameserver 169.254.25.10
search default.svc.cluster.local svc.cluster.local cluster.local
options ndots:5
[root@master ~]# kubectl -n kubesphere-system exec -t -i dnsutils -- cat /etc/resolv.conf
nameserver 169.254.25.10
search kubesphere-system.svc.cluster.local svc.cluster.local cluster.local
options ndots:5
[root@master ~]# kubectl -n kubesphere-system exec -t -i dnsutils -- nslookup ks-apiserver.kubesphere-system.svc
;; connection timed out; no servers could be reached
command terminated with exit code 1
[root@master ~]# kubectl version
Client Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.6", GitCommit:"dff82dc0de47299ab66c83c626e08b245ab19037", GitTreeState:"clean", BuildDate:"2020-07-15T16:58:53Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}
Server Version: version.Info{Major:"1", Minor:"18", GitVersion:"v1.18.6", GitCommit:"dff82dc0de47299ab66c83c626e08b245ab19037", GitTreeState:"clean", BuildDate:"2020-07-15T16:51:04Z", GoVersion:"go1.13.9", Compiler:"gc", Platform:"linux/amd64"}
请问应该从哪方面开始排查问题?还需要其他什么信息吗