当前位置:网站首页>Kubernetes应用管理深度剖析
Kubernetes应用管理深度剖析
2022-07-30 14:27:00 【InfoQ】
一、K8S应用模板有哪些使用场景?
1.应用管理生态的使用场景
2.Helm chart模板机制
3.Operator机制

二、工具:Helm chart模板机制
1.Helm chart架构

- 本地chart开发。
- 管理仓库。
- 管理发布。
- 与K8S Server端交互,发送chart(releas)安装、升级或卸载请求。

- Chart.yaml:chart包的元数据, 包含了chart信息(比如名称、版本号)的YAML文件。
- Requirement:可选,列举chart的依赖关系。
- Chart目录:可选,列举chart的依赖关系。
- Crds目录:可选,自定义资源的定义,比如Crds的一些模板。
- Template目录:模板目录,内含go templa格式的模板文件。
- Value.yaml文件:chart的默认配置值,与templa结合,生成有效的kubernetes manifest文件。
- Values.schema.json文件:可选,JSON schema格式的value属性和规格描述。

- Chart:创建Kubernetes应用程序所需的一组信息。Chart目录:可选,chart依赖的其他chart。
- Config:包含了可以合并到chart中的配置信息,用于创建一个可发布的对象。
- Release:是一个与特定配置相结合的运行实例。
- Release:代表Release对象,属性包括:Release.Name、Relaese.Namespace、Release.Revision等。
- Values:表示Values.yaml文件数据。
- Chart:表示Chart.yaml数据。
- Files:用于访问chart中非标准文件。
- Capabilities:用于获取K8S集群的一些信息 。
- -Capabilities.KubeVersion.Major:K8s的主版本。
- Template:表示当前被执行的模板。
- -Name:表示模板名。
- -BasePath:表示路径。
2.Hook机制
三、大脑:Operator机制
1.Operator原理——扩展Kubernetes API,定义应用



2.Operator自身管理-Operator Framework

四、总结
1.Helm小结:
2.Operator小结:
边栏推荐
- JSON常用注解
- Container sorting case
- eclipse连接SQL server数据库「建议收藏」
- A new generation of open source free terminal tools, so cool
- Web3创始人和建设者必备指南:如何构建适合的社区?
- [机缘参悟-53]:《素书》-3-修身养志[求人之志章第三]
- What should I do if the sql server installation fails (what should I do if the sql server cannot be installed)
- 关于华为应用市场审核App无法启动的问题
- 手把手教你写让人眼前一亮的软件测试简历,收不到面试邀请算我输
- Machine learning difference in the competition and industry application
猜你喜欢

Understand Chisel language. 28. Chisel advanced finite state machine (2) - Mealy state machine and comparison with Moore state machine

MongoDB starts an error Process: 29784 ExecStart=/usr/bin/mongod $OPTIONS (code=exited, status=14)

Baijiahao cancels the function of posting documents on the interface: the weight of the plug-in chain is blocked

浅析显卡市场的未来走向:现在可以抄底了吗?

00 testers of seasoning after nearly a year, whether to change careers or to learn the software testing students summarized the following heart advice

【回归预测-CNN预测】基于卷积神经网络CNN实现数据回归预测附matlab代码

2022年,目前大环境下还适合转行软件测试吗?

分布式前修课:MySQL实现分布式锁

The truth of the industry: I will only test those that have no future, and I panic...

开源工具推荐:高性能计算辅助工具MegPeak
随机推荐
Six-faced ant financial clothing, resisting the bombardment of the interviewer, came to interview for review
Huawei's 7-year-experienced software testing director, gives some advice to all friends who want to change careers to learn software testing
什么是缺陷分析?一篇文章带你了解,测试工程师必备技能
怎么判断两个字符串是否相等?
JUC common thread pool source learning 02 ( ThreadPoolExecutor thread pool )
3 years of software testing experience, the interview requires a monthly salary of 22K, obviously he has memorized a lot of interview questions...
四大首搭加持,美学、安全、操控、效率优势明显,比亚迪海豹售价20.98万元起售!
Remember an experience of interviewing an outsourcing company, should you go?
手把手教你写让人眼前一亮的软件测试简历,收不到面试邀请算我输
从实例来看DAO:权力分散的伟大尝试
Mac 中 MySQL 的安装与卸载
Meta首份元宇宙白皮书9大看点,瞄准80万亿美元市场
还在说软件测试没有中年危机?9年测试工程师惨遭淘汰
eclipse连接SQL server数据库「建议收藏」
Cookie simulation login "recommended collection"
71-page comprehensive overall solution for global tourism 2021 ppt
三电系统集成技术杂谈
The main content of terrain analysis (the special effect level of the wandering earth)
关于华为应用市场审核App无法启动的问题
华为7年经验的软件测试总监,给所有想转行学软件测试的朋友几点建议