Cloud API Overview > @adpt/cloud > k8s > ServicePort > name
k8s.ServicePort.name property
The name of this port within the service.
Signature:
name?: string;
Remarks
This must be a DNS_LABEL. All ports within a ServiceSpec must have unique names.This maps to the Name' field in EndpointPort objects. Optional if only one ServicePort is defined on this service.