Certified Kubernetes Application Developer - CKAD
2025 Updates Kustomize Basics
InstallationSetup
In this guide, you'll learn how to install and configure Kustomize—a powerful tool for customizing Kubernetes configurations. Before you begin, ensure that you have the following prerequisites:
- A running Kubernetes cluster.
- kubectl installed on your local machine and configured to connect to your cluster.
- A compatible operating system (Linux, Windows, or macOS).
The Kustomize installation script automatically detects your operating system and installs the appropriate version.
Installing Kustomize
To install Kustomize, open your terminal and execute the command below. This command downloads and runs the installation script:
curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash
Once the installation is complete, verify the installation by running:
kustomize version --short
You should see an output similar to the following:
{kustomize/v4.4.1 2021-11-11T23:36:27Z}
Verification Note
If you do not see the expected output or if you encounter any issues, it may be due to environment variables not being updated in your current terminal session. Close and reopen your terminal, then try the verification step again.
Installation Warning
If problems persist after restarting your terminal, re-run the installation script to ensure that Kustomize is correctly set up.
Watch Video
Watch video content