From eb1fc7b55c32ff85015117107d7deeb8848bde7b Mon Sep 17 00:00:00 2001 From: Kai Wu Date: Sat, 2 Aug 2025 14:54:59 -0700 Subject: [PATCH] saving --- docs/source/distributions/k8s/delete.sh | 7 ------- docs/source/distributions/k8s/install-prometheus.sh | 2 +- 2 files changed, 1 insertion(+), 8 deletions(-) diff --git a/docs/source/distributions/k8s/delete.sh b/docs/source/distributions/k8s/delete.sh index a381899e7..dfce47a8b 100755 --- a/docs/source/distributions/k8s/delete.sh +++ b/docs/source/distributions/k8s/delete.sh @@ -50,13 +50,7 @@ if [ -f "./ui-service-k8s.yaml.template" ]; then envsubst < ./ui-service-k8s.yaml.template | kubectl delete -f - --ignore-not-found=true fi -# Delete monitoring resources -echo "Deleting monitoring resources..." -envsubst < ./monitoring-k8s.yaml.template | kubectl delete -f - --ignore-not-found=true -# Delete Prometheus RBAC resources -echo "Deleting Prometheus RBAC resources..." -kubectl delete -f ./prometheus-rbac.yaml --ignore-not-found=true # Delete ingress echo "Deleting ingress resources..." @@ -107,7 +101,6 @@ for template in ./*.yaml.template; do if [ -f "$template" ]; then # Skip templates we've already processed if [[ "$template" != "./ui-k8s.yaml.template" && - "$template" != "./monitoring-k8s.yaml.template" && "$template" != "./ingress-k8s.yaml.template" && "$template" != "./stack-k8s.yaml.template" && "$template" != "./chroma-k8s.yaml.template" && diff --git a/docs/source/distributions/k8s/install-prometheus.sh b/docs/source/distributions/k8s/install-prometheus.sh index e5b0e9e95..8a2e0ddf3 100644 --- a/docs/source/distributions/k8s/install-prometheus.sh +++ b/docs/source/distributions/k8s/install-prometheus.sh @@ -34,5 +34,5 @@ helm install prometheus prometheus-community/kube-prometheus-stack \ --set prometheus.prometheusSpec.podMonitorSelectorNilUsesHelmValues=false echo "kube-prometheus-stack has been installed successfully!" -echo "To access Grafana UI, run: kubectl port-forward -n monitoring svc/prometheus-grafana 3000:80" +echo "To access Grafana UI, run: kubectl port-forward svc/kube-prometheus-stack-1754164871-grafana 31509:80 -n prometheus" echo "Default Grafana credentials - Username: admin, Password: prom-operator"