add gateway and http route
This commit is contained in:
@@ -42,3 +42,23 @@ spec:
|
||||
service:
|
||||
type: ClusterIP
|
||||
port: 8000
|
||||
---
|
||||
apiVersion: gateway.networking.k8s.io/v1
|
||||
kind: HTTPRoute
|
||||
metadata:
|
||||
name: llm-route
|
||||
namespace: nim-service
|
||||
spec:
|
||||
parentRefs:
|
||||
- name: envoy-gateway
|
||||
namespace: default
|
||||
hostnames:
|
||||
- "llm.mycompany.com"
|
||||
rules:
|
||||
- matches:
|
||||
- path:
|
||||
type: PathPrefix
|
||||
value: /
|
||||
backendRefs:
|
||||
- name: meta-llama-3-1-8b-instruct
|
||||
port: 8000
|
||||
|
||||
Reference in New Issue
Block a user