Service resource fields
Service resource defines the Kubernetes service. To the Application Load Balancer Ingress controller, services are backends that traffic is distributed to. You can reference a service as a backend:
Service is a standard Kubernetes resource. This reference describes the fields and the annotations of the resource that a Application Load Balancer Ingress controller interfaces with. For a complete reference on the resource, please see the Kubernetes documentation.
apiVersion: v1 kind: Service metadata: name: <string> spec: type: NodePort ports: - name: <string> port: <int32> protocol: TCP nodePort: <int32> - ...
Resource name. For more information about format, please see the Kubernetes documentation.
The Kubernetes services used as backends (as specified in the
Ingressrules directly or in
HttpBackendGroup), must be of
NodePorttype. For more details on this type, please see the Kubernetes documentation.
List of ports where the service is available.
Number of port where the service is available.
You can use this number if you designate a service as a backend:
Port name internal to a service.
You can use this name if you designate a service as a backend:
Number of port exposed on the cluster nodes where the service is deployed. The load balancer forwards traffic to this port, whereas Kubernetes redirects the traffic to the service to its
Corresponds to the backend port in the Application Load Balancer backend group.