We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
mac book pro2018( intel 处理器) Docker Desktop (Engine: 24.0.2) Kubernetes: v1.25.9
在 default 命名空间下, 有一个 test-nginx 的 pod , 有一个 hello-nginx 的 service
default
test-nginx
hello-nginx
nimo@MacbookPro ~ % kubectl get svc NAME TYPE CLUSTER-IP EXTERNAL-IP PORT(S) AGE hello-nginx ClusterIP 10.105.66.131 <none> 8080/TCP 84m kubernetes ClusterIP 10.96.0.1 <none> 443/TCP 13d my-nginx ClusterIP 10.100.123.87 <none> 88/TCP 4d10h
在 pod 里面, 无法通过 cluster ip 和 service name, ping 通 service
pod
ping
root@test-nginx:/etc# ping hello-nginx PING hello-nginx.default.svc.cluster.local (10.105.66.131) 56(84) bytes of data. ^C
The text was updated successfully, but these errors were encountered:
No branches or pull requests
环境
mac book pro2018( intel 处理器)
Docker Desktop (Engine: 24.0.2)
Kubernetes: v1.25.9
现象
在
default
命名空间下, 有一个test-nginx
的 pod , 有一个hello-nginx
的 service在
pod
里面, 无法通过 cluster ip 和 service name,ping
通 serviceThe text was updated successfully, but these errors were encountered: