云原生应用管理:原理与实践
上QQ阅读APP看书,第一时间看更新

2.1 Chart文件结构

Chart的文件夹名称就是即将打包的安装包名称,当然这里面是不含版本信息的。下面我们以Helm社区里最受欢迎的Wordpress为例来学习Chart文件结构,并针对每个文件以及文件夹进行详细介绍。


wordpress/
  Chart.yaml          # A YAML file containing information about the Chart
  LICENSE             # OPTIONAL:A plain text file containing the license for the Chart
  README.md           # OPTIONAL:A human-readable README file
  requirements.yaml   # OPTIONAL:A YAML file listing dependencies for the Chart
  values.yaml         # The default configuration values for this Chart
  charts/             # A directory containing any Charts upon which this Chart depends.
  templates/          # A directory of templates that, when combined with values,
                      # will generate valid Kubernetes manifest files.
  templates/NOTES.txt # OPTIONAL: A plain text file containing short usage notes