To run Helm charts in a Minikube cluster, follow these steps:
Ensure Minikube is installed and start it:
minikube start
Verify that Minikube is running:
minikube status
kubectl get nodes
If Helm is not installed, install it:
curl -fsSL -o get_helm.sh https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3
chmod +x get_helm.sh
./get_helm.sh
Verify the installation:
helm version
Add the official Helm chart repository:
helm repo add stable https://charts.helm.sh/stable
helm repo update
Example: Deploying the nginx
chart.
helm install my-nginx stable/nginx-ingress
my-nginx
: Release name for the deployment.stable/nginx-ingress
: The chart to deploy.
Check the Helm release:
helm list
Check the Kubernetes resources:
kubectl get all
Expose the service using Minikube:
minikube service my-nginx-nginx-ingress-controller
To remove the chart:
helm uninstall my-nginx
This setup allows you to deploy and manage Helm charts in your Minikube environment seamlessly.