OS
Schema Hub

IngressBackend

IngressBackend describes all endpoints for a given service and port.

Schema URL
https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/networking.api.k8s.io/IngressBackend_v1.json
Usage examples
VS Code / yaml-language-server
# yaml-language-server: $schema=https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/networking.api.k8s.io/IngressBackend_v1.json
kubeconform
kubeconform -schema-location 'https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/{{ .Group }}/{{ .ResourceKind }}_{{ .ResourceAPIVersion }}.json' manifest.yaml

Resource Structure

resourceobject
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".
serviceobject
service references a service as a backend. This is a mutually exclusive setting with "Resource".