Skip to main content
In this lesson, we will walk through the steps required for the Helm installation lab, covering the process from identifying your operating system to validating your Helm installation.

1. Identifying the Operating System

Before installing Helm, you need to verify the operating system on your machine. Run the following command to view your OS details:
The output confirms that the machine is running Ubuntu. Therefore, we will choose Ubuntu-specific installation steps.

2. Installing Helm

Refer to the official Helm documentation for the most accurate instructions. For Ubuntu, follow these commands. Depending on your package manager, use one of the methods below:
  • Using Chocolatey:
    (For environments where Chocolatey is available)
  • Using Scoop:
    (For environments where Scoop is installed)
  • Using apt (Preferred for Ubuntu):
    Copy and execute the commands in your terminal to add the Helm repository, update your package list, and install Helm:
Ensure you follow only the method applicable to your package management setup.

3. Validating the Helm Installation

After installation, it’s essential to confirm that Helm has been successfully installed on your system.

3.1. Installing Helm from the Repository

When installing Helm from the repository using the apt command, you should see an output similar to the following:

3.2. Viewing Helm Commands

You can explore Helm’s available commands and options by invoking the help command:
Remember to use the “env” command in lowercase when checking the Helm client environment information.

3.3. Checking the Helm Version

Verify that Helm is correctly installed and check its version by running:
This confirms that you are running Helm version 3.9.2.

3.4. Enabling Verbose Output

For troubleshooting and deeper inspection, you can enable verbose output by adding the --debug flag when executing Helm commands. An excerpt from the Helm help output shows available flags:
Using the --debug flag will provide more detailed output, which is useful for diagnosing any issues during Helm operations.
This concludes the Helm installation lab. You now have Helm installed and verified on your Ubuntu machine, with the ability to leverage its extensive command set for managing Kubernetes deployments effectively.

Watch Video