RE: DNS 访问 Service — Kubernetes(25)

You are viewing a single comment's thread from:

DNS 访问 Service — Kubernetes(25)

in kubernetes •  7 years ago 

奇怪, 我这里试了<SERVICE_NAME>.<NAMESPACE_NAME> 不行

可以 :
nslookup httpd-svc
nslookup httpd-svc.default.svc.cluster.local
nslookup httpd2-svc.kube-public.svc.cluster.local

不可以: can't resolve xxx
nslookup httpd-svc.default
nslookup httpd2-svc.kube-public

Authors get paid when people like you upvote their post.
If you enjoyed what you read here, create your account today and start earning FREE STEEM!
Sort Order:  

嗯我也是 版本1.9