not working grafana

This commit is contained in:
Kai Wu 2025-07-31 21:18:12 -07:00
parent 2589bf962e
commit a2bbb17fdd
6 changed files with 2424 additions and 0 deletions

View file

@ -88,6 +88,19 @@ if [ "$USE_EBS" = "true" ]; then
envsubst < ./postgres-k8s.yaml.template | kubectl apply -f -
envsubst < ./chroma-k8s.yaml.template | kubectl apply -f -
# Create monitoring namespace
kubectl create namespace monitoring --dry-run=client -o yaml | kubectl apply -f -
# Install Prometheus Operator CRDs
./install-prometheus-operator.sh
# Apply RBAC for Prometheus
kubectl apply -f ./prometheus-rbac.yaml
# Apply monitoring resources after CRDs are installed
envsubst < ./monitoring-k8s.yaml.template | kubectl apply -f -
kubectl create configmap llama-stack-config --from-file=stack_run_config.yaml \
--dry-run=client -o yaml > stack-configmap.yaml
@ -105,6 +118,16 @@ else
envsubst < ./postgres-k8s.yaml.template | sed 's/persistentVolumeClaim:/emptyDir: {}/g' | sed '/claimName:/d' | kubectl apply -f -
envsubst < ./chroma-k8s.yaml.template | sed 's/persistentVolumeClaim:/emptyDir: {}/g' | sed '/claimName:/d' | kubectl apply -f -
# Create monitoring namespace
kubectl create namespace monitoring --dry-run=client -o yaml | kubectl apply -f -
# Apply RBAC for Prometheus
kubectl apply -f ./prometheus-rbac.yaml
# Apply monitoring resources after CRDs are installed
envsubst < ./monitoring-k8s.yaml.template | kubectl apply -f -
kubectl create configmap llama-stack-config --from-file=stack_run_config.yaml \
--dry-run=client -o yaml > stack-configmap.yaml