Skip to content

Instantly share code, notes, and snippets.

@zetaab
Created January 28, 2024 16:45
Show Gist options
  • Save zetaab/c8ff93b05f460141abe3300a2da09e1d to your computer and use it in GitHub Desktop.
Save zetaab/c8ff93b05f460141abe3300a2da09e1d to your computer and use it in GitHub Desktop.
apiVersion: gateway.networking.k8s.io/v1
kind: HTTPRoute
metadata:
name: echoserver
namespace: echoserver
spec:
parentRefs:
- name: external
namespace: envoy-gateway-system-external
hostnames:
- eg-ext.example.com
rules:
- backendRefs:
- group: ""
kind: Service
name: echoserver
port: 80
weight: 1
matches:
- path:
type: PathPrefix
value: /
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment