Bug 1389 fixed. Added --stable-repo-url https://charts.helm.sh/stable to helm init... 55/10155/2
authorrodriguezgar <frodriguezg@indra.es>
Thu, 31 Dec 2020 12:36:06 +0000 (13:36 +0100)
committerbeierlm <mark.beierl@canonical.com>
Tue, 12 Jan 2021 14:47:41 +0000 (15:47 +0100)
Change-Id: I91b69084ef49cdd27890cea9c5f8baea373f612f
Signed-off-by: rodriguezgar <frodriguezg@indra.es>
installers/k8s/install_osm_k8s_monitoring.sh
installers/k8s/summary-dashboard.yaml

index badba81..a7a2d3b 100755 (executable)
@@ -124,7 +124,7 @@ if [ $? == 1 ] ; then
     kubectl --namespace kube-system create serviceaccount tiller
     kubectl create clusterrolebinding tiller-cluster-rule --clusterrole=cluster-admin --serviceaccount=kube-system:tiller
     # HELM initialization
-    helm init --service-account tiller
+    helm init --stable-repo-url https://charts.helm.sh/stable --service-account tiller
 
     # Wait for Tiller to be up and running
     while true
@@ -157,7 +157,7 @@ helm install --namespace $NAMESPACE --version=$V_OPERATOR --name osm-monitoring
 # MongoDB
 # exporter
 echo "Creating stable/prometheus-mongodb-exporter"
-helm install --namespace $NAMESPACE --version=$V_MONGODB_EXPORTER --name osm-mongodb-exporter --set image.tag='0.10.0',mongodb.uri='mongodb://mongo.osm:27017' stable/prometheus-mongodb-exporter
+helm install --namespace $NAMESPACE --version=$V_MONGODB_EXPORTER --name osm-mongodb-exporter --set image.tag='0.10.0',mongodb.uri='mongodb://mongodb-k8s.osm:27017' stable/prometheus-mongodb-exporter
 #dashboard:
 kubectl -n $NAMESPACE apply -f $HERE/mongodb-exporter-dashboard.yaml
 
index b357451..8f26b59 100644 (file)
@@ -895,7 +895,7 @@ data:
           "tableColumn": "",
           "targets": [
             {
-              "expr": "kube_statefulset_status_replicas_ready{namespace=\"osm\", statefulset=\"mongo\"}",
+              "expr": "kube_statefulset_status_replicas_ready{namespace=\"osm\", statefulset=\"mongodb-k8s\"}",
               "format": "time_series",
               "refId": "A"
             }
@@ -1408,7 +1408,7 @@ data:
           "tableColumn": "",
           "targets": [
             {
-              "expr": "kube_deployment_status_replicas_available{deployment=\"light-ui\"}",
+              "expr": "kube_deployment_status_replicas_available{deployment=\"ng-ui\"}",
               "instant": true,
               "refId": "A"
             }