Skip to content

Commit a7e4355

Browse files
committed
tweaks(2)
1 parent cdbf84d commit a7e4355

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

samples/speedystore/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ The SingleStore Toolbox is used to deploy, administer, and manage a SingleStore
2929

3030
To configure and start the monitoring, including the metrics database, we will (eventually) submit the following command:
3131

32-
`sdb-admin start-monitoring-kube --cluster-name sas-singlestore-cluster --namespace {VIYA_NS} --user root --password {ROOT_PWD} --exporter-host {CLUSTER_MASTER_IP}`
32+
`sdb-admin start-monitoring-kube --cluster-name sas-singlestore-cluster --namespace $VIYA_NS --user root --password $ROOT_PWD --exporter-host $CLUSTER_MASTER_IP`
3333

3434
But, before submitting the command, we will review the various parameters being passed to the command and how to determine their proper values.
3535

@@ -62,15 +62,15 @@ As shown in the diagram above, the export process runs on the Master Aggregator.
6262

6363
You can obtain the IP address for the Master node by submitting the following command:
6464

65-
`CLUSTER_MASTER_IP=$(kubectl -n ${NS} get pods -o wide | grep 'node-sas-singlestore-cluster-master-0' | awk '{print $6}')`
65+
`CLUSTER_MASTER_IP=$(kubectl -n ${VIYA_NS} get pods -o wide | grep 'node-sas-singlestore-cluster-master-0' | awk '{print $6}')`
6666

6767
#### Accessing the Kubernetess Cluster
6868
The `sb-admin` command needs to access the Kubernetes cluster on which SAS Viya and SingleStore are running. It does this through a Kubernetes configuration file. By default, the command will use the file identified in the `KUBECONFIG` environment variable or the `~/.kube/config` file are used to discover the cluster. Alternatively, the `--config-file` option can be used to specify the kube config.
6969

7070
#### Run the `sb-admin start-monitoring-kube` command
7171
After setting all of the required parameters, submit the following command to configure and start the monitoring, including the metrics database:
7272

73-
`sdb-admin start-monitoring-kube --cluster-name sas-singlestore-cluster --namespace {VIYA_NS} --user root --password {ROOT_PWD} --exporter-host {CLUSTER_MASTER_IP}`
73+
`sdb-admin start-monitoring-kube --cluster-name sas-singlestore-cluster --namespace $VIYA_NS --user root --password $ROOT_PWD --exporter-host $CLUSTER_MASTER_IP`
7474

7575
After running the command, the exporter process, the pipeline and the metrics database are created. To confirm this, you can use the SingleStore Studio. For example, in the screenshot below, you can see the newly created **'metrics'** database:
7676
![Screenshot showing SingleStore Studio with the 'metrics' database highlighted](images/02_MG_202508_metrics-database.png)

0 commit comments

Comments
 (0)