NodePort

From wikieduonline
Revision as of 17:59, 15 February 2024 by Welcome (talk | contribs) (→‎Related)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigation Jump to search

NodePort exposes the Service on each Node's IP at a static port (the NodePort). To make the node port available, Kubernetes sets up a cluster IP address, the same as if you had requested a Service of type: ClusterIP.[1]


NodePort exposes the Service on the same port of each selected Node in the cluster using NAT. Makes a Service accessible from outside the cluster using <NodeIP>:<NodePort>. Superset of ClusterIP. https://kubernetes.io/docs/tutorials/kubernetes-basics/expose/expose-intro/

kubectl create nodeport

Related

See also

  • https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types
  • Advertising: