Created
November 19, 2025 06:44
-
-
Save janakiramm/9e05c94a93db59906efd358fcf50881d to your computer and use it in GitHub Desktop.
NGINX Gateway Fabric Route
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| apiVersion: gateway.networking.k8s.io/v1 | |
| kind: HTTPRoute | |
| metadata: | |
| name: echo-route | |
| namespace: demo | |
| spec: | |
| parentRefs: | |
| - name: demo-gateway | |
| namespace: nginx-gateway | |
| rules: | |
| - matches: | |
| - path: | |
| type: PathPrefix | |
| value: /web | |
| backendRefs: | |
| - name: demo-app | |
| port: 80 | |
| - matches: | |
| - path: | |
| type: PathPrefix | |
| value: /api | |
| backendRefs: | |
| - name: demo-api | |
| port: 80 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment