Skip to content
Snippets Groups Projects
Commit 83e7eb17 authored by rodriguezgar's avatar rodriguezgar Committed by Mark Beierl
Browse files

Bug 1389 fixed. Added --stable-repo-url https://charts.helm.sh/stable to helm...

Bug 1389 fixed. Added --stable-repo-url https://charts.helm.sh/stable

 to helm init and changed ligut-ui to ng-ui and mongodb to mongodb-k8s

Change-Id: I91b69084ef49cdd27890cea9c5f8baea373f612f
Signed-off-by: default avatarrodriguezgar <frodriguezg@indra.es>
parent a4eb784f
No related branches found
No related tags found
No related merge requests found
......@@ -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
......
......@@ -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"
}
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment