参数 | 描述 |
---|---|
prefix |
前缀,组合结果为prefix +* +suffix ,* 必须有 |
suffix |
后缀,组合结果为prefix +* +suffix ,* 必须有 |
* |
除perfix 和suffix 外,第一级开头的代表一个服务,可任意命名,一个values.yaml 中至少包含一项* |
*.image |
image仓库 |
*.tag |
image版本号 |
*.pullSecret |
image拉取secret 名 |
*.restartPolicy |
重启策略,可选项Always , OnFailure ,Never ,默认Always ,更多参考官网解释 |
*.command |
参考官网解释 |
*.args |
参考官网解释 |
*.count |
要部署的服务个数,默认为1 |
*.annotations |
deployment 的annotations |
*.port |
数组格式,每一项可有一个或两个值,中间用: 分割,左边代表service 端口,右边代表容器端口,如果同时左右同时存在则会创建service ,例80:8080 或80 |
*.host |
对象格式,key 为port 中左边暴露的service 端口,value 为对应的域名,一个端口多个域名用; 隔开,例80: api.example.com 或80: api2.example.com ,填写的域名需要解析到kubernetes 节点IP ,如果整个values.yaml 中没有一个.host 将不会创建ingress.yaml ,如果有每一个对象将创建一个ingress.yaml |
*.tls |
对象格式,key 为secretName ,value 为*.host 中的域名,默认不启用证书 |
*.serviceAnnotations |
service 的annotations |
*.ingressAnnotations |
ingress 的annotations |
*.env |
对象格式,key 为环境环境变量名,value 为环境变量值 |
*.livenessProbe |
参考官网解释 |
*.readinessProbe |
参考官网解释 |
*.resources |
参考官网解释 |
*.initContainers |
参考官网解释 |
*.secret |
创建一个secret |
*.configMap |
创建一个configMap |
*.volumes |
生成挂载目录 |
*.volumes.[*] |
可用选项hostPath ,nfs ,configMap ,secret 声明使用什么类型的卷 |
*.volumes.hostPath.type |
hostPath 类型 |
*.volumes.hostPath.path |
数组格式,每项格式为挂载目录:容器目录:子路径:是否只读 ,例/data/:/var/html:a.yaml:true ,其中子路径和是否只读可省略 |
*.volumes.nfs.server |
nfs 服务器地址 |
*.volumes.nfs.path |
参考*.volumes.hostPath.path |
*.volumes.configMap.[*] |
configMap 的名字 |
*.volumes.configMap.[*].path |
数组格式,每项格式为容器目录:子路径:是否只读 ,例/var/html:a.yaml:true ,其中子路径和是否只读可省略 |
*.volumes.configMap.[*].items |
数组格式,每项格式为单独挂载的Key:子路径 ,例a.yaml:sub |
*.volumes.secret.[*] |
secret 的名字 |
*.volumes.secret.[*].path |
参考*.volumes.configMap.[*].path |
*.volumes.secret.[*].items |
参考*.volumes.configMap.[*].items |
helm-charts's Introduction
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.