Skip to content

Commit 4840aa7

Browse files
committed
Correct namespace for datasource secret
1 parent b3a42af commit 4840aa7

File tree

1 file changed

+4
-2
lines changed

1 file changed

+4
-2
lines changed

samples/speedystore/README.md

Lines changed: 4 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -137,13 +137,15 @@ Copy the file to some location, update the necessary information and save your c
137137

138138
Then submit the following command to create the datasource:
139139

140-
`kubectl -n $VIYA_NS create secret generic grafana-metrics-connection --from-file=$USER_DIR/monitoring/speedystore-datasource.yaml`
140+
`kubectl -n monitoring create secret generic grafana-metrics-connection --from-file=$USER_DIR/monitoring/speedystore-datasource.yaml`
141+
142+
NOTE: This command assumes the metric monitoring components (including Grafana) have been deployed into the `monitoring` namespace. If they are deployed in a different namespace, update the command to reference to correct namespace.
141143

142144
After secret has been created, you need to apply a specific label to the secret to trigger the automatic provisioning (Ioading) of the datasource into Grafana.
143145

144146
You can use the following command to apply the necessary label:
145147

146-
`kubectl -n $VIYA_NS label secret grafana-metrics-connection "grafana_datasource=1"`
148+
`kubectl -n monitoring label secret grafana-metrics-connection "grafana_datasource=1"`
147149

148150

149151
### Import the SingleStore Dashboards into Grafana

0 commit comments

Comments
 (0)