kubernetes v1.34

IngressSpec.defaultBackend

IngressBackend describes all endpoints for a given service and port.

2 fields
IngressSpec.defaultBackend fields and descriptions
Field / TypeDescription
TypedLocalObjectReference

resource 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".

  • x-kubernetes-map-type: "atomic"
IngressServiceBackend

service references a service as a backend. This is a mutually exclusive setting with "Resource".