Skip to content

Latest commit

 

History

History
48 lines (35 loc) · 1.03 KB

File metadata and controls

48 lines (35 loc) · 1.03 KB

Helm

In this training, we will use Kustomize to create and customize an application.

Navigate to the folder 27_kustomize from CLI, before you get started.

Verify if kustomize is installed

  • Check kustomize
    kustomize version

Have a look at the files

  • kustomization is the entrypoint for kustomize
cat kustomization.yaml
  • patch.yaml is the patch that is going to be overlayed by kustomize
cat patch.yaml
  • to see what the patch will change have a look at the base/configmap.yaml
cat base/configmap.yaml

Use kustomize to patch and apply the resources

  • Show resources with applied patch. Mark the prefix training-for the names of all resources and the new labels applied.

    kustomize build .
  • Deploy patched resources

    kustomize build . | kubectl apply -f -

Cleanup

kustomize build . | kubectl delete -f -

Jump to Home | Previous Training | Next Training