Kubernetes service

From 탱이의 잡동사니
Jump to navigation Jump to search

Overview

Kubernetes service 내용 정리

Service types

  • ClusterIP: 서비스를 클러스터-내부 IP에 노출시킨다. 이 값을 선택하면 클러스터 내에서만 서비스에 도달할 수 있다. ServiceType의 기본 값이다.
  • NodePort: 고정포트(NodePort)로 각 노드의 IP에 서비스를 노출시킨다. NodePort 서비스가 라우팅되는 ClusterIP 서비스가 자동으로 생성된다.

See also