Helm Flashcards
What is Helm?
A templating tool for generating Kubernetes manifests
What does Helm do?
Makes generating Kubernetes manifests easier
What is a Helm chart made of?
specific values pertinent to your app used for generating your app’s deployment manifest
What should you look for in Helm?
chart.yml, and values.yml
What is chart.yaml
Chart.yaml contains metadata about the chart itself: its name, the chart version, a description, and similar details. In Helm 3 it can contain dependencies as well
The chart.yaml is the template for your generating your manifest
What is values.yaml?
Settings for chart file, default values go in this file inside helm chart. Values are the configs for the chars values.yaml is default baseline values file
values.yaml contains configuration settings for the chart. This typically includes things like the image repository to pull from, where you want data to be stored, and how to make the service accessible.
How is Helm test file named?
Not used in our org
What to know about Helm templates?
Files under templates directory are treated as dynmaic yamls to avoid code duplication
Are treated as templates for different manifests
What can Helm do?
Helm manages installation, removal and can provide status info
Templating tool for generating manifests. To make creating manifests easier.
How are Helm templates referred to?
charts (deployable units for kubernetes bound apps)
How to use custom values?
By using values.yaml file or inside your render chart job you can provide a variable ‘EXTRA_HELM_OPTIONS’ and provide those custom values
Where does the “application” manifest get deployed/committed to?
GitOps repo
test-cicd
prod-cicd
4 different objects in the deployment manifest?
- Deployment
- Replica sets
- Pod template
- Containers
Where are Helm charts saved?
Either in your app’s repo or in artifactory
What is the command to see charts?
To search a public hub:
helm search hub
searches the Artifact Hub, which lists helm charts from dozens of different repositories.
At your org, you’d want to configure your artifact hub to be more specific. Add artifactory to your helm config.
helm repo add <org’s url for artifacts>