Search⌘ K
AI Features

Install a Helm Chart on GKE

Explore how to install Helm charts on a Google Kubernetes Engine cluster. Learn to deploy and verify Helm-managed applications, including port-forwarding and checking Kubernetes resources. Gain hands-on experience managing Helm deployments in a cloud environment for scalable Kubernetes applications.

Install Kanban on GKE

We’ll use our umbrella chart to install an application with only one command. Yes, that’s right. With only one command we can install an application on a cloud!

Here is a summary of the most important commands that can help us manage a cluster.

And here is the command to install the Kanban application, which might take a couple of minutes:

Shell
helm upgrade kanban ./kanban -n kanban --create-namespace --install --wait

The output will be as follows:

Release "kanban" does not exist. Installing it now.
W0107 06:53:14.496052   22612 warnings.go:70] Autopilot set default resource requests for Deployment kanban/kanban-frontend, as resource requests were not specified. See http://g.co/gke/autopilot-defaults.  
W0107 06:53:14.497283   22612 warnings.go:70] Autopilot set default resource requests for Deployment kanban/kanban-backend, as resource requests were not specified. See http://g.co/gke/autopilot-defaults.   
W0107 06:53:14.609664   22612 warnings.go:70] Autopilot increased resource requests for StatefulSet kanban/postgres to meet requirements. See http://g.co/gke/autopilot-resources.
NAME: kanban
LAST DEPLOYED: Fri Jan  7 06:53:13 2022
NAMESPACE: kanban
STATUS: deployed
REVISION: 1
Thank you for running Kanban application!


1. Establish port-forwarding:

   > kubectl port-forward svc/kanban-frontend 8080:8080 --namespace kanban

2. Enter the page http://localhost:8080/

If you encounter, Error: Kubernetes cluster unreachable: Get "http://localhost:8080/version": ...