๐งช Helm Day-1: Deploy App on EKS
๐ฏ Goal
Understand Helm basics
Deploy an app to EKS using Helm
Learn chart, values, install, upgrade, uninstall
๐งฐ Prerequisites (Quick Check)
Make sure these already work:
kubectl get nodes
You should see EKS worker nodes.
helm version
If Helm not installed:
curl https://raw.githubusercontent.com/helm/helm/main/scripts/get-helm-3 | bash
๐ง What is Helm? (1-line)
Helm = Package manager for Kubernetes
๐ Step 1: Create a Helm Chart
helm create myapp
Directory structure:
myapp/
โโโ Chart.yaml
โโโ values.yaml
โโโ templates/
โ โโโ deployment.yaml
โ โโโ service.yaml
โ โโโ _helpers.tpl
๐ Step 2: Understand Key Files (Very Important)
Chart.yaml
Metadata of your app (name, version)
values.yaml
๐ Default configuration (replicas, image, ports)
templates/
๐ Kubernetes YAML files with variables
โ๏ธ Step 3: Update values.yaml (Simple)
Edit values.yaml:
replicaCount: 2
image:
repository: nginx
tag: "latest"
service:
type: LoadBalancer
port: 80
๐ Step 4: Dry Run (Always do this)
helm install myapp-release myapp --dry-run --debug
โ Checks template rendering
โ No resources created yet
๐ Step 5: Install Helm Chart on EKS
helm install myapp-release myapp
๐ Step 6: Verify Deployment
kubectl get pods
kubectl get svc
You should see:
2 nginx pods
LoadBalancer service
Get external IP:
kubectl get svc myapp-release
Open in browser:
http://<EXTERNAL-IP>
๐ NGINX page loads!
๐ Step 7: Helm Upgrade (Real-World Use)
Change replicas to 3 in values.yaml:
replicaCount: 3
Upgrade:
helm upgrade myapp-release myapp
Verify:
kubectl get pods
๐ Step 8: Helm Commands You MUST Know
helm list
helm status myapp-release
helm history myapp-release
โ Step 9: Uninstall (Cleanup)
helm uninstall myapp-release
Check:
kubectl get all
๐ง Helm vs kubectl (Interview Gold)
| kubectl | Helm |
| Single YAML | Multiple YAML |
| Manual updates | Versioned releases |
| No rollback | Rollback supported |
๐ Bonus: Rollback Demo (Optional)
helm rollback myapp-release 1
๐ง Day-1 Key Takeaways
Helm uses charts
values.yamlcontrols configurationHelm supports install, upgrade, rollback
Perfect for EKS production deployments
โ What You Learned Today
โ Helm basics
โ Deploy app on EKS
โ Upgrade & rollback
โ Interview-ready commands


