IngressBackend

io.k8s.api.networking.v1.IngressBackend source ↗

IngressBackend describes all endpoints for a given service and port.

resourceTypedLocalObjectReferenceresource is an ObjectRef to another Kubernetes resource in the namespace of the Ingress object. If resource is specified, a service.Name and service.Port must not be specified. This is a mutually exclusive setting with "Service".
apiGroupstringAPIGroup is the group for the resource being referenced. If APIGroup is not specified, the specified Kind must be in the core API group. For any other third-party types, APIGroup is required.
kindstring requiredKind is the type of resource being referenced
namestring requiredName is the name of resource being referenced
serviceIngressServiceBackendservice references a service as a backend. This is a mutually exclusive setting with "Resource".
namestring requiredname is the referenced service. The service must exist in the same namespace as the Ingress object.
portServiceBackendPortport of the referenced service. A port name or port number is required for a IngressServiceBackend.
namestringname is the name of the port on the Service. This is a mutually exclusive setting with "Number".
numberinteger (int32)number is the numerical port number (e.g. 80) on the Service. This is a mutually exclusive setting with "Name".