Skip to content

Instantly share code, notes, and snippets.

@shawnho1018
Created September 14, 2022 16:08
Show Gist options
  • Save shawnho1018/24955f64bd02451d3c5968039b465216 to your computer and use it in GitHub Desktop.
Save shawnho1018/24955f64bd02451d3c5968039b465216 to your computer and use it in GitHub Desktop.
httproute.yaml
kind: HTTPRoute
apiVersion: gateway.networking.k8s.io/v1alpha2
metadata:
name: jitsi-1
namespace: default
labels:
gateway: jitsi-http3
spec:
parentRefs:
- name: jitsi-http3
hostnames:
- "jitsi-1.shawnk8s.com"
rules:
- matches:
- path:
type: PathPrefix
value: /
backendRefs:
- kind: Service
name: jitsi-1-jitsi-meet-web
port: 80
---
kind: HTTPRoute
apiVersion: gateway.networking.k8s.io/v1alpha2
metadata:
name: jitsi-2
namespace: jitsi-2
labels:
gateway: jitsi-http3
spec:
parentRefs:
- name: jitsi-http3
namespace: default
hostnames:
- "jitsi-2.shawnk8s.com"
rules:
- matches:
- path:
type: PathPrefix
value: /
backendRefs:
- kind: Service
name: jitsi-2-jitsi-meet-web
port: 80
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment