Add LLM service to kubernetes deployment action (#15863)

Release Notes:

- N/A

Co-authored-by: Marshall <marshall@zed.dev>
This commit is contained in:
Max Brunsfeld
2024-08-06 12:35:00 -04:00
committed by GitHub
co-authored by Marshall
parent cf5f4dddf5
commit 33afbe9a94
2 changed files with 11 additions and 0 deletions
+6
View File
@@ -134,3 +134,9 @@ jobs:
envsubst < crates/collab/k8s/collab.template.yml | kubectl apply -f -
kubectl -n "$ZED_KUBE_NAMESPACE" rollout status deployment/$ZED_SERVICE_NAME --watch
echo "deployed ${ZED_SERVICE_NAME} to ${ZED_KUBE_NAMESPACE}"
export ZED_SERVICE_NAME=llm
export ZED_LOAD_BALANCER_SIZE_UNIT=$ZED_LLM_LOAD_BALANCER_SIZE_UNIT
envsubst < crates/collab/k8s/collab.template.yml | kubectl apply -f -
kubectl -n "$ZED_KUBE_NAMESPACE" rollout status deployment/$ZED_SERVICE_NAME --watch
echo "deployed ${ZED_SERVICE_NAME} to ${ZED_KUBE_NAMESPACE}"
+5
View File
@@ -92,6 +92,11 @@ spec:
secretKeyRef:
name: api
key: token
- name: LLM_API_SECRET
valueFrom:
secretKeyRef:
name: llm-token
key: secret
- name: ZED_CLIENT_CHECKSUM_SEED
valueFrom:
secretKeyRef: