diff options
author | 2019-08-23 11:19:26 -0700 | |
---|---|---|
committer | 2019-09-06 12:44:13 +0000 | |
commit | f2d37cb632bb1706f3e223776e72e50253d4025c (patch) | |
tree | 4cd0be0c4b7777c17296604c1fca127ad9053a0a /vnfs/DAaaS/README.md | |
parent | 32ec6c9216242b0d9cf76da93eb74b60b6dae7c1 (diff) |
visualization operator: Add datasource
Added support to create a grafana datasource dynamically
using GrafanaDataSource CR.
Issue-ID: ONAPARC-393
Signed-off-by: Srivahni <srivahni.chivukula@intel.com>
Change-Id: Iaa645c5c4f303afbcec114c00e35cd6e6ae6c98c
Diffstat (limited to 'vnfs/DAaaS/README.md')
-rw-r--r-- | vnfs/DAaaS/README.md | 15 |
1 files changed, 15 insertions, 0 deletions
diff --git a/vnfs/DAaaS/README.md b/vnfs/DAaaS/README.md index a9c99327..80f0d860 100644 --- a/vnfs/DAaaS/README.md +++ b/vnfs/DAaaS/README.md @@ -90,6 +90,15 @@ cd $DA_WORKING_DIR/../microservices/collectd-operator IMAGE_NAME=dcr.cluster.local:32644/collectd-operator:latest ./build/build_image.sh $IMAGE_NAME ``` +#### visualization-operator +```bash +cd $DA_WORKING_DIR/../microservices/visualization-operator + +## 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/build_image.sh $IMAGE_NAME +``` + ### Install the Operator Package ```bash cd $DA_WORKING_DIR/operator @@ -183,6 +192,12 @@ 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_NAME]_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. |