mirror of
https://github.com/meta-llama/llama-stack.git
synced 2025-08-02 08:44:44 +00:00
not working grafana
This commit is contained in:
parent
2589bf962e
commit
a2bbb17fdd
6 changed files with 2424 additions and 0 deletions
|
@ -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
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue