Kubernetes Service Types

Kubernetes Service Types An architecture diagram generated by Archify. ClusterIP · Reachable only inside the cluster · Kubernetes Service Types · default type ClusterIP Reachable only inside the cluster default type NodePort · Specific port on every node · Kubernetes Service Types NodePort Specific port on every node LoadBalancer · Via an external load balancer · Kubernetes Service Types LoadBalancer Via an external load balancer ExternalName · CNAME record for an external service · Kubernetes Service Types ExternalName CNAME record for an external service Within cluster · Pod-to-Pod traffic · Access Methods Within cluster Pod-to-Pod traffic Node IP:Port · e.g. nodePort 30080 · Access Methods Node IP:Port e.g. nodePort 30080 External load balancer · CLB / NLB / ALB · Access Methods External load balancer CLB / NLB / ALB DNS CNAME · e.g. my-service.example.com · Access Methods DNS CNAME e.g. my-service.example.com internal only opens node port provisions AWS LB returns CNAME Kubernetes Service Types Access Methods Legend In-cluster path Kubernetes Service AWS load balancer External DNS