Junior
What is the difference between NodePort and ClusterIP in Kubernetes?
sobes.tech AI
Answer from AI
A ClusterIP type service provides an internal IP address for accessing pods within the cluster. It is only visible inside the cluster and is not accessible from outside.
A NodePort type service opens a port on each node of the cluster. Traffic arriving at this port on any node is forwarded to the Service. It is accessible from outside the cluster via node-ip:node-port.