ClusterIP
is the default and most common service type
내부적에서만 사용
내부에서 Virtual IP를 가
NordPort
각 노드 IP에 서비스를 노출Service간 node 포트 충돌가능
LoadBalance클라우드 공급자의 로드밸런서를 사용하여 서비스를 외부에 노출
외부 로드 밸런서가 라우팅되는 NodePort와 ClusterIP 서비스가 자동으로 생성
ClusterIP 와 NodePort 도 ReplicaSet으로 부하분산 기능
Kubernetes Networking Fundamentals
Network namespaces allow us to have separate network interfaces and routing tables that are isolated from the rest of the system and can operate independently.
https://www.techbeatly.com/kubernetes-networking-fundamentals/

[Kubernetes] NodePort VS LoadBalancer VS ClusterIP
위 3가지는 서비스 퍼블리싱(Service Types) 에 속한다. 기본값으로 ClusterIP 방식으로 설정 된다. ClusterIP : 서비스를 클러스터-내부 IP에 노출시킨다. 이 값을 선택하면 클러스터 내에서만 서비스에 도달할 수 있다. Cluster 내부적에서만 사용한다. NordPort : 고정포트로 각 노드 IP에 서비스를 노출 시킨다. NodePort 서비스가 라우팅되는 ClusterIP 서비스가 자동으로 생성된다.
https://gmldbd94.tistory.com/148

Seonglae Cho
