X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=vnfs%2FDAaaS%2FREADME.md;h=4420e8f507c8b69ad1dec7dc384743dcfe37e1e6;hb=02a3f17f4cf43689bd95d990d5f11fa2a62a2808;hp=a9c99327a6dc7ef342c1193dba962dac090f8625;hpb=dba342aad0cf20eb3bf3dc486845b823fad6a0ec;p=demo.git diff --git a/vnfs/DAaaS/README.md b/vnfs/DAaaS/README.md index a9c99327..4420e8f5 100644 --- a/vnfs/DAaaS/README.md +++ b/vnfs/DAaaS/README.md @@ -84,12 +84,21 @@ helm install -n rook . -f values.yaml --namespace=rook-ceph-system ### Build docker images #### collectd-operator ```bash -cd $DA_WORKING_DIR/../microservices/collectd-operator +cd $DA_WORKING_DIR/../microservices ## Note: The image tag and respository in the Collectd-operator helm charts needs to match the IMAGE_NAME IMAGE_NAME=dcr.cluster.local:32644/collectd-operator:latest -./build/build_image.sh $IMAGE_NAME +./build_image.sh collectd-operator $IMAGE_NAME ``` +#### visualization-operator +```bash +cd $DA_WORKING_DIR/../microservices + +## Note: The image tag and respository in the Visualization-operator helm charts needs to match the IMAGE_NAME +IMAGE_NAME=dcr.cluster.local:32644/visualization-operator:latest +./build_image.sh visualization-operator $IMAGE_NAME +``` + ### Install the Operator Package ```bash cd $DA_WORKING_DIR/operator @@ -183,6 +192,13 @@ kubectl create -f edge1 [PLUGIN_NAME2]_collectdplugin_cr.yaml kubectl create -f edge1 [PLUGIN_NAME3]_collectdplugin_cr.yaml ... ``` +#### Configure Grafana Datasources +Using the sample [prometheus_grafanadatasource_cr.yaml](microservices/visualization-operator/examples/grafana/prometheus_grafanadatasource_cr.yaml), Configure the GrafanaDataSource CR by running the command below +```yaml +kubectl create -f [DATASOURCE_NAME1]_grafanadatasource_cr.yaml +kubectl create -f [DATASOURCE_NAME2]_grafanadatasource_cr.yaml +... +``` ## Install Minio Model repository * Prerequisite: Dynamic storage provisioner needs to be enabled. Either rook-ceph ($DA_WORKING_DIR/00-init) or another alternate provisioner needs to be enabled.