[Kubernetes] Service - Service Discovery (2)
DevOps/Kubernetes2022. 5. 21. 01:17[Kubernetes] Service - Service Discovery (2)

✔️ Challenge default NS에 myweb-svc 서비스를 만드시오 dev 라는 NS를 만들어서 nettool 파드를 띄우시오 그렇다면 nettool Pod(dev NS) ↔ myweb-svc SVC(default NS) 어떻게 통신할 것인가 ? vagrant@k8s-node1  kubectl create ns dev namespace/dev created vagrant@k8s-node1  ~/kubespray/inventory/mycluster/group_vars/k8s_cluster  ➦ e7508d7d  kubectl get ns NAME STATUS AGE default Active 4d6h dev Active 3d4h kube-node-lease Active 4d6h kube..

image