CKA Certification Course - Certified Kubernetes Administrator

2025 Updates Kustomize Basics

InstallationSetup

This guide explains how to install and configure Kustomize on your local machine. Before proceeding, ensure the following prerequisites are met:

  • You have a running Kubernetes cluster.
  • The kubectl command-line tool is installed and configured correctly to connect to your cluster.

Kustomize is compatible with Linux, Windows, and macOS. The development team offers a convenient installation script that automatically detects your operating system and installs the appropriate version.

Step 1: Run the Installation Script

Open your terminal and execute the following command to download and run the installation script:

curl -s "https://raw.githubusercontent.com/kubernetes-sigs/kustomize/master/hack/install_kustomize.sh" | bash

Step 2: Verify the Installation

Once the script finishes executing, confirm that Kustomize is installed by checking its version. Run the command below:

kustomize version --short

A successful installation should display output similar to:

{kustomize/v4.4.1 2021-11-11T23:36:27Z}

Note

If the version output does not appear as expected, there may have been an error during installation or your environment variables might not have updated in the current terminal session. Close your terminal, reopen it, and try again. If the issue persists, consider rerunning the installation script.

For further details on Kustomize and its usage, visit the Kustomize Documentation.

Watch Video

Watch video content

Previous
Kustomize vs Helm