![[Kubernetes] Service - NodePort](https://img1.daumcdn.net/thumb/R750x0/?scode=mtistory2&fname=https%3A%2F%2Fblog.kakaocdn.net%2Fdn%2FbRgWaF%2FbtrCRRkwYx4%2F6GEBm9GJyE7y02Gk25bXmK%2Fimg.png)
DevOps/Kubernetes2022. 5. 23. 00:21[Kubernetes] Service - NodePort
✔️ Service - NodePort svc.spec.type ClusterIP: 클러스터 내에서 사용하는 LB NodePort: 클러스터 외부에서 접근하는 포인트 LoadBalancer: 클러스터 외부에서 접근하는 LB vagrant@k8s-node1 ~ kubectl explain svc.spec.type "NodePort" builds on ClusterIP and allocates a port on every node which routes to the same endpoints as the clusterIP. "LoadBalancer" builds on NodePort and creates an external load-balancer (if supported in the current..