当前位置:网站首页>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
边栏推荐
猜你喜欢

14. Code implementation of semaphore

Operator-1初识Operator

session-cookie与token

Stm32 et développement de moteurs (système supérieur)

拆解美图SaaS:开着飞机换引擎

Post disaster reconstruction -- Floyd thought

Ks009 implement pet management system based on SSH

Sum the two numbers to find the target value

Postman -- use

01 install virtual machine
随机推荐
flume 190 INSTALL
lunix重新分配root 和 home 空间内存
Feature (5): how to organize information
传输优化抽象
[unity3d] nested use layout group to make scroll view with dynamic sub object height
Flutter环境配置保姆级教程,让doctor一绿到底
UVM——Callback
Importing tables from sqoop
Postman -- use
Nonlinear optimization: establishment of slam model
数据库字典Navicat自动生成版本
shell编程01_Shell基础
Nonlinear optimization: steepest descent method, Newton method, Gauss Newton method, Levenberg Marquardt method
The nanny level tutorial of flutter environment configuration makes the doctor green to the end
【Unity3D】嵌套使用Layout Group制作拥有动态子物体高度的Scroll View
session-cookie与token
使用sqlcipher打开加密的sqlite方法
12.进程同步与信号量
[visual studio] every time you open a script of unity3d, a new vs2017 will be automatically reopened
Pytest-- test report allure configuration