kustomize
Easily deploy resources for Kubernetes. More information: https://github.com/kubernetes-sigs/kustomize/blob/master/site/content/en/docs/Reference/CLI/_index.md.
- Create a kustomization file with resources and namespace:
kustomize create --resources --namespace
- Build a kustomization file and deploy it with
kubectl:
kustomize build . | kubectl apply -
- Set an image in the kustomization file:
kustomize edit set image
- Search for Kubernetes resources in the current directory to be added to the kustomization file:
kustomize create --autodetect
来源:tldr-pages contributors · 作者与贡献记录 · CC BY 4.0。离线整理了版式、链接和媒体显示。
