Skip to main content
In this lesson, you’ll learn how to perform various tasks with Helm—from searching for chart packages and adding repositories to configuring and installing charts. Follow the steps below, and refer to the command outputs to validate your progress.

1. Searching for a Helm Chart Package

To search for a WordPress Helm chart package on Artifact Hub, run the following command:
This command displays all available WordPress-related chart packages.

2. Adding a Bitnami Helm Chart Repository

First, add the Bitnami Helm chart repository on your control plane node by executing:
Once added, search the repository for the Joomla package with:
A sample output might look like:
From this output, observe that the Joomla package has an app version of 4.1.5 and a chart version of 13.2.16.

3. Listing Helm Repositories

To review all repositories configured on the control plane node, run:
A typical output might be:
This indicates that there are three repositories currently added.

4. Installing and Uninstalling a Drupal Helm Chart

Installing the Chart

Install the Drupal Helm chart from the Bitnami repository using the release name “bravo”:
After installation, verify the release by listing all Helm releases:
The output should include an entry for “bravo”, similar to:

Uninstalling the Chart

To remove the Drupal Helm package (release “bravo”), execute:
The command should confirm the uninstallation:

5. Downloading the Bitnami Apache Package

Download the Bitnami Apache package from the repository to your /root directory without installing it. Use the --untar flag:
After downloading, verify that a new directory named apache has been created:
Then, change to the Apache directory with:

6. Modifying the Apache Helm Chart Configuration

Open the values.yaml file within the Apache chart directory to make two essential changes:
  1. Set the replica count for the web server to 2.
  2. Configure the HTTP service to expose NodePort 30080.
Search the file for the replica settings. You might see a section like:
Make the necessary modifications by adding or updating the entries for the replica count and the service configuration. For assistance on the file structure, refer to the official Helm or Bitnami documentation. Once the changes are complete, install the Apache chart from the current directory using the release name “mywebapp”:
Confirm the deployment by listing your Helm releases:

7. Accessing the Apache Service

Retrieve and set the service IP by extracting the external IP of the Apache service, then print the URL:
Visit the printed URL in your web browser to confirm that the Apache page is successfully loading.
This lesson demonstrated how to interact with Helm in a Kubernetes environment: from searching and adding repositories to deploying, configuring, and accessing services using Helm. For further details and best practices, consider exploring the Helm Documentation.

Watch Video