Kustomize is a tool that's used for creating environment-specific customizations of the Kubernetes definitions files, that is, the YAML files, for example, for development, test, staging, and production environments. Common definition files are stored in a base folder, while environment-specific additions are kept in environment-specific overlay folders. Environment-specific information can, for example, be any of the following:
- What version of the Docker images to use
- Number of replicas to runÂ
- Resource quotas in terms of CPU and memory
Each folder contains a kustomization.yml file that describes its content for Kustomize. When deploying to a specific environment, Kustomize will take the content from the base folder and the environment-specific overlay folder and send the combined result to kubectl. Properties from the files...