当前位置:网站首页>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.yamlfunction
kubectl apply -k demoAdvanced 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
边栏推荐
猜你喜欢
随机推荐
ERROR 1118 (42000): Row size too large (> 8126)
js promise.all
14.信号量的代码实现
sqoop的表的导入
allure--常用配置项
Redis set password
Allure -- common configuration items
Retrofit's callback hell is really vulnerable in kotlin synergy mode!
【Lua】常见知识点汇总(包含常见面试考点)
Blender ocean production
[unity3d] cannot correctly obtain the attribute value of recttransform, resulting in calculation error
【Visual Studio】每次打开一个Unity3D的脚本,都会自动重新打开一个新的VS2017
Feature (5): how to organize information
[visual studio] every time you open a script of unity3d, a new vs2017 will be automatically reopened
pytest框架实现前后置
STM32 and motor development (upper system)
MYSQL环境配置
Windows环境MySQL8忘记密码文件解决方案
1287_FreeRTOS中prvTaskIsTaskSuspended()接口实现分析
pytest学习--base








