OS
Schema Hub

IngressServiceBackend

IngressServiceBackend references a Kubernetes Service as a Backend.

Schema URL
https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/networking.api.k8s.io/IngressServiceBackend_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/IngressServiceBackend_v1.json
kubeconform
kubeconform -schema-location 'https://raw.githubusercontent.com/nlamirault/schema-hub/main/schemas/{{ .Group }}/{{ .ResourceKind }}_{{ .ResourceAPIVersion }}.json' manifest.yaml

Resource Structure

namestringRequired
name is the referenced service. The service must exist in the same namespace as the Ingress object.
portobject
port of the referenced service. A port name or port number is required for a IngressServiceBackend.