helm get syntax for getting the chart of a release

亡梦爱人 提交于 2019-12-10 18:26:26

问题


helm get --help says that...

[helm get] can be used to get extended information about the release, including:

  • The values used to generate the release
  • The chart used to generate the release
  • The generated manifest file

The extended information bit is somehow foggy but whatever.

Now:

  • The values used to generate the release maps to helm get values -a releasename
  • The chart used to generate the release... maps to?!?
  • The generated manifest file maps to helm get manifest releasename

Thanks!

Edit 1: looking at one answer below, it struck me that by chart I mean the whole directory with the artifacts inside (templates, Chart.yaml etc. etc.) but maybe the documentation means just the name of the chart?


回答1:


Use helm list to get release chart

helm list releasename --output yaml

>helm list master --output yaml

Next: ""
Releases:
- AppVersion: "1.0"
  Chart: environment-0.1.0-master
  Name: master
  Namespace: master
  Revision: 42
  Status: DEPLOYED
  Updated: Thu Dec 13 16:33:08 2018


来源:https://stackoverflow.com/questions/53763636/helm-get-syntax-for-getting-the-chart-of-a-release

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!