Skip to content

Commit

Permalink
Upgrade Prometheus operator (new name)
Browse files Browse the repository at this point in the history
  • Loading branch information
Sabby Anandan committed Oct 14, 2020
1 parent ab3ebb1 commit 4eec770
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
2 changes: 1 addition & 1 deletion pom.xml
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@
<parent>
<groupId>org.springframework.boot</groupId>
<artifactId>spring-boot-starter-parent</artifactId>
<version>2.3.3.RELEASE</version>
<version>2.3.4.RELEASE</version>
<relativePath/> <!-- lookup parent from repository -->
</parent>

Expand Down
8 changes: 4 additions & 4 deletions scripts/deploy-scdf.sh
Original file line number Diff line number Diff line change
Expand Up @@ -17,12 +17,12 @@ fi
echo "A namespace called ${prometheus_namespace} exists in the cluster"

if ! helm status -n "${prometheus_namespace}" "${prometheus_release_name}" >/dev/null; then
echo "Install bitnami/prometheus-operator prometheus_release_name=${prometheus_release_name} prometheus_namespace=${prometheus_namespace}"
echo "Install bitnami/kube-prometheus prometheus_release_name=${prometheus_release_name} prometheus_namespace=${prometheus_namespace}"

helm upgrade --wait -n "${prometheus_namespace}" --install "${prometheus_release_name}" \
bitnami/prometheus-operator >/dev/null
bitnami/kube-prometheus >/dev/null
fi
echo "A release of bitnami/prometheus-operator, ${prometheus_release_name}, is running on ${prometheus_namespace} namespace"
echo "A release of bitnami/kube-prometheus, ${prometheus_release_name}, is running on ${prometheus_namespace} namespace"

## Installing and configuring grafana
grafana_namespace="monitoring"
Expand Down Expand Up @@ -87,7 +87,7 @@ EOF
--set dashboardsConfigMaps[2].fileName=scdf-task-batch.json \
--set datasources.secretName=grafana-datasources >/dev/null
fi
echo "A release of bitnami/prometheus-operator, ${grafana_release_name}, is running on ${grafana_namespace} namespace"
echo "A release of bitnami/kube-prometheus, ${grafana_release_name}, is running on ${grafana_namespace} namespace"

## Installing and configuring spring-cloud-dataflow
scdf_namespace="default"
Expand Down

0 comments on commit 4eec770

Please sign in to comment.