Service resource fields
Service resource defines the Kubernetes service. For the Application Load Balancer Ingress controller for Managed Service for Kubernetes, the services are backends the incoming traffic is distributed across.
For the Ingress controller, you can indicate the service to use as a backend:
Service is a standard Kubernetes resource. This reference describes the fields and the annotations of the resource that the Application Load Balancer tools for Managed Service for Kubernetes interface 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.