Cloud / HELM Interview Questions
How do you install, upgrade, and rollback a Helm chart with real examples?
Helm provides intuitive commands for the complete application lifecycle. Here are concrete examples using the popular Bitnami Nginx chart:
Installation: helm install my-web bitnami/nginx --namespace web-apps --create-namespace --set service.type=LoadBalancer,replicaCount=3. This installs a release named "my-web" using the bitnami/nginx chart. Helm creates revision 1.
Upgrade with values file: Create custom-values.yaml then run helm upgrade my-web bitnami/nginx -f custom-values.yaml --namespace web-apps. This creates revision 2, applies changes, and only updates modified resources using three-way strategic merge.
Rollback: helm history my-web -n web-apps shows revisions. helm rollback my-web 1 -n web-apps reverts to revision 1, creating a new revision (3) that reproduces revision 1's manifests.
Uninstall: helm uninstall my-web -n web-apps removes all resources. Add --keep-history to retain records.
Upgrade with --install: helm upgrade --install my-web bitnami/nginx -n web-apps performs install if release doesn't exist, upgrade if it does - ideal for CI/CD.
Invest now in Acorns!!! 🚀
Join Acorns and get your $5 bonus!
Acorns is a micro-investing app that automatically invests your "spare change" from daily purchases into diversified, expert-built portfolios of ETFs. It is designed for beginners, allowing you to start investing with as little as $5. The service automates saving and investing. Disclosure: I may receive a referral bonus.
Invest now!!! Get Free equity stock (US, UK only)!
Use Robinhood app to invest in stocks. It is safe and secure. Use the Referral link to claim your free stock when you sign up!.
The Robinhood app makes it easy to trade stocks, crypto and more.
Webull! Receive free stock by signing up using the link: Webull signup.
More Related questions...
