Skip to content

Commit

Permalink
Update README.md
Browse files Browse the repository at this point in the history
  • Loading branch information
qmhu authored Jan 10, 2022
1 parent f976bde commit 87b576c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -102,7 +102,7 @@ Crane use prometheus to be the default metric provider. Using following command
helm repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm repo update

helm install $RELEASE_NAME -n $NAMESPACE --set kubeStateMetrics.enabled=false --create-namespace prometheus-community/prometheus
helm install $RELEASE_NAME -n $NAMESPACE --set kubeStateMetrics.enabled=false --set persistentVolume.enabled=false --create-namespace prometheus-community/prometheus
helm install node-exporter-$RELEASE_NAME -n $NAMESPACE --create-namespace prometheus-community/prometheus-node-exporter

if [ ! $CUSTOMIZE_PROMETHEUS ]; then sed -i '' "s/PROMETHEUS_ADDRESS/http:\/\/${RELEASE_NAME}-prometheus-server.${NAMESPACE}.svc.cluster.local/" deploy/craned/deployment.yaml ; else sed -i '' "s/PROMETHEUS_ADDRESS/${CUSTOMIZE_PROMETHEUS}/" deploy/craned/deployment.yaml ; fi
Expand Down

0 comments on commit 87b576c

Please sign in to comment.