[k8s] kustomize ======= ###### tags: `kubernetes` :::success + helps customizing config files ==in a template free way==. + provides a number of handy methods ==like generators== to make customization easier. + ==uses patches== to introduce environment specific changes on an already *existing standard config file* without disturbing it. :::   ``` ├── base │ ├── deployment.yaml │ ├── kustomization.yaml │ └── service.yaml └── overlays ├── dev │ ├── deployment.yaml │ ├── kustomization.yaml │ └── namespace.yaml └── prod ├── deployment.yaml ├── kustomization.yaml └── namespace.yaml ``` ```shell= kubectl apply -k overlays/dev kubectl apply -k overlays/prod ``` # reference + [kustomize-examples](https://github.com/boltops-tools/kustomize-examples)
×
Sign in
Email
Password
Forgot password
or
By clicking below, you agree to our
terms of service
.
Sign in via Facebook
Sign in via Twitter
Sign in via GitHub
Sign in via Dropbox
Sign in with Wallet
Wallet (
)
Connect another wallet
New to HackMD?
Sign up