helm repo list helm repo remove bitnami helm repo add bitnami "> helm repo list helm repo remove bitnami helm repo add bitnami "> helm repo list helm repo remove bitnami helm repo add bitnami ">
Install Helm:

curl <https://baltocdn.com/helm/signing.asc> | gpg --dearmor | sudo tee /usr/share/keyrings/helm.gpg > /dev/null
sudo apt-get install apt-transport-https --yes
echo "deb [arch=$(dpkg --print-architecture) signed-by=/usr/share/keyrings/helm.gpg] <https://baltocdn.com/helm/stable/debian/> all main" | sudo tee /etc/apt/sources.list.d/helm-stable-debian.list
sudo apt-get update
sudo apt-get install helm

helm repo list

helm repo add bitnami <https://charts.bitnami.com/bitnami>

helm repo list

helm repo remove bitnami

helm repo add bitnami <https://charts.bitnami.com/bitnami>

Search the repository:

helm search repo mysql

helm search repo database

helm search repo database --versions

Install a package:

helm install mydb bitnami/mysql

helm install tomcat bitnami/tomcat

Check the cluster:

kubectl get pods

minikube ssh

docker images

To check the installation status:

helm status mydb

To Upgrade:

ROOT_PASSWORD=$(kubectl get secret --namespace default mydb-mysql -o jsonpath="{.data.mysql-root-password}" | base64 --decode)
helm upgrade --namespace default mysql-release bitnami/mysql --set auth.rootPassword=$ROOT_PASSWORD
helm uninstall mysql-release

Helm Interview Questions


Untitled

Q1. Helm Advantages

  1. Makes application deployment easy
  2. Standardize and reusable
  3. Improves developer productivity