node_port
. A node_port
requires both a target_port
and a port number.target_port
: This is the port on the pod that the request gets sent to internally. Your application needs to be listening for network requests on this port for the service to work.port
: The specified port within the cluster that exposes the service externally. The service is visible on this port, and other pods and services will send requests to this port to reach the service.NodePort
in Kubernetes, which allows Kubernetes to allocate a random port from the host node. However, for external communications, the fixed port is applied to the load balancer. This allows services that run on the same port number to coexist with other applications on the same physical nodes without conflict.node_port
for your service, you can define a hostname
. Release uses variable interpolation for env_id
and domain
.