Using services by name from inside the cluster, but outside a pod

后端 未结 0 1925
爱一瞬间的悲伤
爱一瞬间的悲伤 2020-12-31 04:37

I have an nginx pod in the default namespace and a ClusterIP service exposing the pod.

$ kubectl run nginx-pod --image=nginx
$ kubectl expose po nginx-pod --n         


        
相关标签:
回答
  • 消灭零回复
提交回复
热议问题