Skip to content

Commit 97425fa

Browse files
AGC gateway api example (#4076)
* AGC gateway api example Signed-off-by: Sneha Chhabria <[email protected]> * remove extra line Signed-off-by: Sneha Chhabria <[email protected]> --------- Signed-off-by: Sneha Chhabria <[email protected]>
1 parent f11a1f5 commit 97425fa

File tree

1 file changed

+28
-0
lines changed

1 file changed

+28
-0
lines changed
Lines changed: 28 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,28 @@
1+
apiVersion: gateway.networking.k8s.io/v1
2+
kind: Gateway
3+
metadata:
4+
name: ray-cluster-gateway
5+
annotations:
6+
alb.networking.azure.io/alb-namespace: alb-test-infra # namespace for alb customer resource
7+
alb.networking.azure.io/alb-name: alb-test # name of alb customer resource
8+
spec:
9+
gatewayClassName: azure-alb-external
10+
listeners:
11+
- name: http
12+
port: 80
13+
protocol: HTTP
14+
allowedRoutes:
15+
namespaces:
16+
from: Same
17+
---
18+
apiVersion: gateway.networking.k8s.io/v1
19+
kind: HTTPRoute
20+
metadata:
21+
name: ray-cluster-http-route
22+
spec:
23+
parentRefs:
24+
- name: ray-cluster-gateway
25+
rules:
26+
- backendRefs:
27+
- name: raycluster-kuberay-head-svc # Your head pod service
28+
port: 8265

0 commit comments

Comments
 (0)