Skip to content

Commit cd18f62

Browse files
authored
[Fix] Only the default namespace service monitor namespace (#447)
Signed-off-by: nicole-lihui <nicole.li@daocloud.io>
1 parent 2f91528 commit cd18f62

3 files changed

Lines changed: 4 additions & 4 deletions

File tree

observability/README.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -38,7 +38,7 @@ Forward the Prometheus dashboard
3838
kubectl --namespace monitoring port-forward prometheus-kube-prom-stack-kube-prome-prometheus-0 9090:9090
3939
```
4040

41-
Open the webpage at `http://<IP of your node>:3000` to access the Grafana web page. The default user name is `admin` and the password can be configured in `values.yaml` (default is `prom-operator`).
41+
Open the webpage at `http://<IP of your node>:3000` to access the Grafana web page. The default user name is `admin` and the password can be configured in `kube-prom-stack.yaml` field `adminPassword` (default is `prom-operator`).
4242

4343
Import the dashboard using the `vllm-dashboard.json` in this folder.
4444

observability/install.sh

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -7,6 +7,7 @@ helm upgrade --install kube-prom-stack prometheus-community/kube-prometheus-stac
77
--create-namespace \
88
-f kube-prom-stack.yaml --wait
99

10-
helm install prometheus-adapter prometheus-community/prometheus-adapter \
10+
helm upgrade --install prometheus-adapter prometheus-community/prometheus-adapter \
1111
--namespace monitoring \
12+
--create-namespace \
1213
-f "$SCRIPT_DIR/prom-adapter.yaml"

observability/kube-prom-stack.yaml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -100,7 +100,6 @@ prometheus:
100100
environment: test
101101
release: test
102102
namespaceSelector:
103-
matchNames:
104-
- default
103+
any: true
105104
endpoints:
106105
- port: "service-port"

0 commit comments

Comments
 (0)