rf-guo / kubernetes-notes Goto Github PK
View Code? Open in Web Editor NEWKubernetes architecture philosophy
License: MIT License
Kubernetes architecture philosophy
License: MIT License
一个定义好的Helm部署包(可以理解为你的应用蓝图),helm create xxxchart
创建,里面包含了K8的基本结构,Deployemnt、Service、Ingress等。
helm package xxxchart
将Chart打包,生成 xxxchart-0.1.0.tgz
,helm install ./xxxchart-0.1.0.tgz
将应用包推送到Repository(可是本地也可以是远程,类似Maven Repo),其他人可以在Repository中检索到你的Chart。
helm inspect xxxchart
查看Chart定义的最终结果,实际生成对应K8 Yaml的效果。
存储Chart的仓库,helm search xxxchart
or helm search
检索Chart,helm repo list
查看注册的repo仓库。
Chart定义好,且已经发行到对应的Repo中,你或其他人就可以检索到并且部署到K8的环境中,helm install xxxchart
或者 helm install ./xxxchart-0.1.0.tgz
,前者是通过repo拉取Chart包,后者是直接安装本地包,
Helm会随机指定一个名字(也可以自定义),并把这个包部署到K8,称为Release,当然可以多次部署,有不同的名字,例如同事部署俩个Mysql数据库。称为俩个Release,name 不同。
helm delete xxx
删除对应的Release,注意,这里的xxx是Release的name不是Chart的name,helm ls
查看所有部署Release。
helm status intent-bunny
某个Release在K8中的运行情况。
helm upgrade intent-bunny ./xxxchart-0.1.0.tgz
or helm upgrade itent-bunny xxxchart
更新一个Release。
https://whmzsu.github.io/helm-doc-zh-cn/quickstart/using_helm-zh_cn.html
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.