Install the Helm Chart
Explore how to install Helm charts on Kubernetes, including creating releases with helm install, managing namespaces, and verifying deployments using kubectl commands. Understand how to list, inspect, and troubleshoot Helm releases and associated Kubernetes objects to ensure successful application deployment.
We'll cover the following...
n the previous lesson we added the Helm repository information to the Helm CLI so now we can make use of it and install the Kubernetes Dashboard
Create a new Release
The helm install command
We can run an installation command as follows:
The output will be as follows:
NAME: dashboard
LAST DEPLOYED: Thu Nov 25 07:41:37 2021
NAMESPACE: monitoring
STATUS: deployed
REVISION: 1
TEST SUITE: None
NOTES:
*********************************************************************************
*** PLEASE BE PATIENT: kubernetes-dashboard may take a few minutes to install ***
*********************************************************************************
Get the Kubernetes Dashboard URL by running:
export POD_NAME=$(kubectl get pods -n monitoring -l "app.kubernetes.io/name=kubernetes-dashboard,app.kubernetes.io/instance=dashboard" -o jsonpath="{.items[0].metadata.name}")
echo https://127.0.0.1:8443/
kubectl -n monitoring port-forward $POD_NAME 8443:8443
There are a lot of arguments. Let’s look into them individually:
helm install: This is the basic command for installing a Helm chart.[NAME]: Here it is calleddashboardand it’s the name of the Helm release we have just created[CHART]: Here it is known askubernetes-dashboard/kubernetes-dashboardand it’s the full name of the Helm chart that we’re installing. A full name consists of two parts: the repository name and the name of the chart located there. If we name this repository other thankubernetes-dashboard, we need to change this part. For example, if we name itdashboard, the full name of the chart will bedashboard/kubernetes-dashboard.
Apart from the mandatory arguments, two flags ...