Skip to content

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.
  • Labs icon Lab
  • A Cloud Guru
Google Cloud Platform icon
Labs

Creating Helm Charts

There are some instances in which a chart for your application might not exist and one must be created; in other cases, you might have a Kubernetes deployment that you want to convert into a Helm chart. In this hands-on lab, we will take an existing deployment and convert it into a Helm chart.

Google Cloud Platform icon
Labs

Path Info

Level
Clock icon Advanced
Duration
Clock icon 45m
Published
Clock icon Feb 26, 2021

Contact sales

By filling out this form and clicking submit, you acknowledge our privacy policy.

Table of Contents

  1. Challenge

    Convert the Service Manifest into a Service Template in a New Helm Chart

    Create a folder for the new chart and name it blog. Create the minimum necessary scaffolding for the new chart. Locate the existing manifest for the service in the /home/cloud_user/kubernetes directory. Copy the service.yaml file into the new charts template directory. Take the necessary values from the service.yaml file and create entries in the values.yaml file. Create the necessary directives to set the values in the service.yaml template. Make sure the service type is NodePort and the nodePort value is 30080.

  2. Challenge

    Convert the Application Manifest into a Deployment Template in a New Helm Chart

    Locate the existing manifest for the application in the /home/cloud_user/kubernetes directory. Copy the application.yaml file into the new charts template directory and name it deployment.yaml. Take the necessary values from the deployment.yaml file and create entries in values.yaml. Create the necessary directives to set the values in the service.yaml template.

  3. Challenge

    Ensure the Manifests Render Correctly and Deploy the Application as a NodePort Application

    Use the --dry-run option of the install command to review the manifests and ensure they render correctly. After they are verified, deploy the application, then access the appliation on the primary server's public IP address at the node port.

The Cloud Content team comprises subject matter experts hyper focused on services offered by the leading cloud vendors (AWS, GCP, and Azure), as well as cloud-related technologies such as Linux and DevOps. The team is thrilled to share their knowledge to help you build modern tech solutions from the ground up, secure and optimize your environments, and so much more!

What's a lab?

Hands-on Labs are real environments created by industry experts to help you learn. These environments help you gain knowledge and experience, practice without compromising your system, test without risk, destroy without fear, and let you learn from your mistakes. Hands-on Labs: practice your skills before delivering in the real world.

Provided environment for hands-on practice

We will provide the credentials and environment necessary for you to practice right within your browser.

Guided walkthrough

Follow along with the author’s guided walkthrough and build something new in your provided environment!

Did you know?

On average, you retain 75% more of your learning if you get time for practice.

Start learning by doing today

View Plans