当前位置:网站首页>Kustomize user manual
Kustomize user manual
2022-07-02 10:45:00 【chenxy02】
Related website :Kustomize - Kubernetes native configuration management
kustomize What is it?
Kubernetes Integrated configuration management tools . Lightweight version helm;
Some middleware deployed by our company in the future , Can be encapsulated kustomize Managed file structure
It only needs kubectl apply -k You can quickly deploy applications in different environments
Demo usage
kustomization.yaml
commonLabels:
app: hello # Every resource built has app=hello label
resources: # Which resources to deploy
- deployment.yaml
- service.yaml
- configMap.yaml
function
kubectl apply -k demo
Advanced usage
When we have a large number of microservices or environments , We have many sets of configurations , These configurations are only slightly different , To a large extent, they are the same ,kustomize You can inherit the template , then Personalized overlay template Generate the description file required for the final deployment Application .
Many times, we deploy differently for different environments , We can pass in “demo usage ” On the basis of , newly build overlays Folder to define Deployment of different environments . Below we define a production environment and a demonstration environment :
as for kustomization What can be written in the document , May refer to : Configuration Management | SIG CLI
边栏推荐
猜你喜欢
1287_FreeRTOS中prvTaskIsTaskSuspended()接口实现分析
Introduction to MySQL 8 DBA foundation tutorial
Session cookies and tokens
pytest框架实现前后置
sqoop创建job出现的一系列问题解决方法
2021-10-02
[MySQL] an exception occurs when connecting to MySQL: connection must be valid and open
SUS系统可用性量表
Understand the composition of building energy-saving system
The nanny level tutorial of flutter environment configuration makes the doctor green to the end
随机推荐
Flutter环境配置保姆级教程,让doctor一绿到底
Operator-1初识Operator
Postman--使用
Beautiful and intelligent, Haval H6 supreme+ makes Yuanxiao travel safer
Nonlinear optimization: steepest descent method, Newton method, Gauss Newton method, Levenberg Marquardt method
SQOOP 1.4.6 INSTALL
Sum the two numbers to find the target value
02-taildir source
[unity3d] production progress bar - make image have the functions of filled and sliced at the same time
Database dictionary Navicat automatic generation version
Kustomize使用手册
Pywin32打开指定窗口
4. Random variables
Solutions to a series of problems in sqoop job creation
KS009基于SSH实现宠物管理系统
高考的意义是什么
(五)APA场景搭建之挡位控制设置
Allure -- common configuration items
[tutorial] how to make the Helpviewer help document of VisualStudio run independently
Flink实时计算topN热榜