I am trying to install a previous version of Prometheus, namely version 6.7.4
:
helm install -f stable/prometheus/values.yaml prometheus --name stable/prometheus --namespace prometheus --version 6.7.4
However it installs the latest version, prometheus-6.8.0
:
$ helm ls NAME REVISION UPDATED STATUS CHART NAMESPACE prometheus 1 Fri Jul 6 01:46:42 2018 DEPLOYED prometheus-6.8.0 prometheus
What am I doing wrong?
There are two ways to install Helm charts using the Helm CLI: helm install and helm upgrade --install . The install sub-command always installs a brand new chart, while the upgrade sub-command can upgrade an existing chart and install a new one, if the chart hasn't been installed before.
I see in the helm install
code:
# help provides possible cli installation arguments help () { echo "Accepted cli arguments are:" echo -e "\t[--help|-h ] ->> prints this help" echo -e "\t[--version|-v <desired_version>] . When not defined it defaults to latest" echo -e "\te.g. --version v2.4.0 or -v latest" }
So just in case, do try with: --version v6.7.4
instead of --version 6.7.4
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With