Giter VIP home page Giter VIP logo

helm-charts's Introduction

helm-charts

参数说明

参数 描述
prefix 前缀,组合结果为prefix+*+suffix*必须有
suffix 后缀,组合结果为prefix+*+suffix*必须有
* perfixsuffix外,第一级开头的代表一个服务,可任意命名,一个values.yaml中至少包含一项*
*.image image仓库
*.tag image版本号
*.pullSecret image拉取secret
*.restartPolicy 重启策略,可选项Always OnFailureNever,默认Always,更多参考官网解释
*.command 参考官网解释
*.args 参考官网解释
*.count 要部署的服务个数,默认为1
*.annotations deploymentannotations
*.port 数组格式,每一项可有一个或两个值,中间用:分割,左边代表service端口,右边代表容器端口,如果同时左右同时存在则会创建service,例80:808080
*.host 对象格式,keyport中左边暴露的service端口,value为对应的域名,一个端口多个域名用;隔开,例80: api.example.com80: api2.example.com ,填写的域名需要解析到kubernetes节点IP,如果整个values.yaml中没有一个.host将不会创建ingress.yaml,如果有每一个对象将创建一个ingress.yaml
*.tls 对象格式,keysecretNamevalue*.host中的域名,默认不启用证书
*.serviceAnnotations serviceannotations
*.ingressAnnotations ingressannotations
*.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

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.