Cloud API Overview > @adpt/cloud > k8s > ServicePort > nodePort
k8s.ServicePort.nodePort property
The port on each node on which this service is exposed when type=NodePort or LoadBalancer.
Signature:
nodePort?: number;
Remarks
Usually assigned by the system. If specified, it will be allocated to the service if unused or else creation of the service will fail.
For more information, see the Kubernetes documentation.