当前位置:网站首页>In-depth analysis of Kubernetes application management
In-depth analysis of Kubernetes application management
2022-07-30 15:17:00 【InfoQ】
一、K8SWhat are application template usage scenario?
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格式的valueAttribute and Specification Description.

- Chart:创建KubernetesA set of information required by the application.Chart目录:可选,chart依赖的其他chart.
- Config:contains that can be merged intochart中的配置信息,用于创建一个可发布的对象.
- Release:is a running instance combined with a specific configuration.
- 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小结:
边栏推荐
- 1222. 可以攻击国王的皇后-力扣双百代码
- The use and principle of distributed current limiting reduction RRateLimiter
- ECCV 2022 | 通往数据高效的Transformer目标检测器
- The evolution of content products has three axes: traffic, technology, and product form
- 952. 按公因数计算最大组件大小 : 枚举质因数 + 并查集运用题
- 分布式限流 redission RRateLimiter 的使用及原理
- Lock wait timeout exceeded solution
- 分布式前修课:MySQL实现分布式锁
- JSON common annotations
- 自动化办公|办公软件和亿图脑图MindMaster快捷键
猜你喜欢

This editor actually claims to be as fast as lightning!

How to use Databricks for data analysis on TiDB Cloud | TiDB Cloud User Guide

Go to Tencent for an interview and let people turn left directly: I don't know idempotency!

吃透Chisel语言.28.Chisel进阶之有限状态机(二)——Mealy状态机及与Moore状态机的对比

如何在 TiDB Cloud 上使用 Databricks 进行数据分析 | TiDB Cloud 使用指南
4 senior experts share the insider architecture design and implementation principles of Flink technology with years of experience in large factories

JUC常见的线程池源码学习 02 ( ThreadPoolExecutor 线程池 )

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

Kubernetes应用管理深度剖析

Our company has used gateway services for 6 years, dynamic routing, authentication, current limiting, etc., a stable batch!
随机推荐
The website adds a live 2d kanban girl that can dress up and interact
Metaverse Post Office AI space-themed series of digital collections will be launched at 10:00 on July 30th "Yuanyou Digital Collection"
瑞吉外卖项目实战Day02
BI-SQL丨WHILE
Flink实时仓库-DWS层(关键词搜索分析-自定义函数,窗口操作,FlinkSql设置水位线,保存数据到Clickhouse)模板代码
Android jump to google app market
Office Automation | Office Software and Edraw MindMaster Shortcuts
5. DOM
Start learning C language
About the data synchronization delay of MySQL master-slave replication
Interface automation framework, lm-easytest beta version released, use it quickly~
The use and principle of distributed current limiting reduction RRateLimiter
LeetCode_98_验证二叉搜索树
localhost与127.0.0.1
CMake库搜索函数居然不搜索LD_LIBRARY_PATH
基于FPGA的DDS任意波形输出
This editor actually claims to be as fast as lightning!
机器学习在竞赛和工业界应用区别
localhost with 127.0.0.1
MPSK抗噪声性能对比(即MPSK标准误码率曲线)