What is NodePort?
A Kubernetes Service type that exposes a service on a static port on each cluster node.
NodePort is a Kubernetes Service type that opens a specific port (30000-32767 by default) on every node in the cluster and routes traffic to the backing pods. External traffic hitting nodeIP:nodePort is load-balanced to the pods. NodePort is simple but has limitations: fixed port range, no SSL termination, and requires knowing node IPs. In production, use a LoadBalancer service or Ingress instead. NodePort is mainly used for local development.
More Kubernetes Terms
Admission Controller
A Kubernetes plugin that intercepts API requests before objects are persisted.
Auto Scaling
Automatically adjusting the number of compute resources based on demand.
ClusterIP
The default Kubernetes Service type that exposes a service on an internal cluster IP.
ConfigMap
A Kubernetes object for storing non-sensitive configuration data as key-value pairs.
Controller Manager
Kubernetes control plane component running control loops to maintain desired state.
CoreDNS
The default DNS server in Kubernetes clusters for service discovery.
Test your knowledge of NodePort and 130 other DevOps concepts