Difference between revisions of "NodePort"
Jump to navigation
Jump to search
↑ https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types
Line 1: | Line 1: | ||
+ | <code>[[NodePort]]</code> 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.<ref>https://kubernetes.io/docs/concepts/services-networking/service/#publishing-services-service-types</ref> | ||
+ | |||
[[kubectl create nodeport]] | [[kubectl create nodeport]] |
Revision as of 16:22, 9 November 2022
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]
kubectl create nodeport
Related
ClusterIP
- CKA 1.23, CKA 1.24 Understand ClusterIP, NodePort, LoadBalancer service types and endpoints
See also
- NodePort,
kubectl create nodeport
- Kubernetes services,
kubectl get services, kubectl describe service
,kubectl create service
[loadbalancer
|nodeport
|clusterip
|externalname ], kubectl expose
,headless service, service.beta.kubernetes.io
Advertising: