Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
menu search
person
Welcome To Ask or Share your Answers For Others

Categories

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?

question from:https://stackoverflow.com/questions/51200917/how-to-install-a-specific-chart-version

与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
259 views
Welcome To Ask or Share your Answers For Others

1 Answer

I see in the helm install code:

# help provides possible cli installation arguments
help () {
  echo "Accepted cli arguments are:"
  echo -e "[--help|-h ] ->> prints this help"
  echo -e "[--version|-v <desired_version>] . When not defined it defaults to latest"
  echo -e "e.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.


与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…
thumb_up_alt 0 like thumb_down_alt 0 dislike
Welcome to ShenZhenJia Knowledge Sharing Community for programmer and developer-Open, Learning and Share
...