ci / lint-prettier (push) Skipped
ci / lint-ruff (push) Skipped
ci / lint-yaml (push) Skipped
ci / lint-dockerfiles (push) Skipped
ci / validate (push) Skipped
renovate-ci / validate-renovate (push) Skipped
renovate-ci / validate-renovate (pull_request) Skipped
ci / lint-compose (pull_request) Successful in 12s
ci / lint-actionlint (pull_request) Successful in 6s
ci / lint-shellcheck (pull_request) Successful in 13s
ci / lint-prettier (pull_request) Successful in 21s
ci / lint-ruff (pull_request) Successful in 7s
ci / lint-yaml (pull_request) Successful in 12s
ci / lint-dockerfiles (pull_request) Successful in 7s
ci / validate (pull_request) Successful in 7s
ci / build (pull_request) Skipped
30 lines
975 B
YAML
30 lines
975 B
YAML
# Exhaustive UDPRoute reference (gateway.networking.k8s.io/v1alpha2).
|
|
# Routes raw UDP datagrams (DNS, STUN/TURN, game servers, QUIC-before-TLS)
|
|
# from a UDP listener to backends. Same minimal shape as TCPRoute: UDP has
|
|
# no sessions or headers to match on, so backendRefs carry the whole rule.
|
|
apiVersion: gateway.networking.k8s.io/v1alpha2
|
|
kind: UDPRoute
|
|
metadata:
|
|
name: app-stun
|
|
namespace: example
|
|
labels:
|
|
app: app
|
|
spec:
|
|
parentRefs:
|
|
# Bind to the UDP listener of the Gateway. Same fields as HTTPRoute
|
|
# parentRefs: name/kind/group plus sectionName and/or port narrowing.
|
|
- name: example
|
|
kind: Gateway
|
|
group: gateway.networking.k8s.io
|
|
sectionName: udp
|
|
port: 3478
|
|
rules:
|
|
- backendRefs:
|
|
- name: app-service
|
|
# port: backend Service port. Required.
|
|
port: 3478
|
|
kind: Service
|
|
group: ""
|
|
# weight: share of traffic when several backends are listed.
|
|
weight: 1
|