mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-06-28 02:53:30 +00:00
add ingres
This commit is contained in:
parent
697338ec57
commit
f427e3092f
2 changed files with 13 additions and 0 deletions
|
@ -27,3 +27,4 @@ kubectl create configmap llama-stack-config --from-file=stack_run_config.yaml \
|
|||
kubectl apply -f stack-configmap.yaml
|
||||
|
||||
envsubst < ./stack-k8s.yaml.template | kubectl apply -f -
|
||||
envsubst < ./ingress-k8s.yaml.template | kubectl apply -f -
|
||||
|
|
12
docs/source/distributions/k8s/ingress-k8s.yaml.template
Normal file
12
docs/source/distributions/k8s/ingress-k8s.yaml.template
Normal file
|
@ -0,0 +1,12 @@
|
|||
apiVersion: v1
|
||||
kind: Service
|
||||
metadata:
|
||||
name: llama-stack-service
|
||||
spec:
|
||||
type: LoadBalancer
|
||||
selector:
|
||||
app.kubernetes.io/name: llama-stack
|
||||
ports:
|
||||
- port: 8321
|
||||
targetPort: 8321
|
||||
protocol: TCP
|
Loading…
Add table
Add a link
Reference in a new issue