diff --git a/README.md b/README.md index 06c889fc2..37fe8c002 100644 --- a/README.md +++ b/README.md @@ -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