Kubeapps : It is a web-based UI for deploying and managing applications in Kubernetes clusters. It allows to browse and deploy Helm charts from chart repositories.

In this blog, we will see how to use this Kubeapps tool in our Kubernetes cluster.


Running Kubernetes cluster with helm

Installation Steps,

Step 1:

We are going to deploy kubeapps by helm and the helm version 2.

Add the kubeapps repo,

# helm repo add bitnami https://charts.bitnami.com/bitnami

update the helm repo,

# helm repo update

Step 2:

Install kubeapps,

# helm install --name kubeapps --namespace kubeapps bitnami/kubeapps

Step 3:

Generate Kubernetes API Token,

To access kubeapps dashboard, we need to generate Kubernetes API token by below steps,

# kubectl create serviceaccount kubeapps-operator

# kubectl create clusterrolebinding kubeapps-operator --clusterrole=cluster-admin --serviceaccount=default:kubeapps-operator

Use below command to retrieve the token in linux machine,

# kubectl get secret $(kubectl get serviceaccount kubeapps-operator -o jsonpath='{range .secrets[*]}{.name}{"\n"}{end}' | grep kubeapps-operator-token) -o jsonpath='{.data.token}' -o go-template='{{.data.token | base64decode}}' && echo

Step 4:

Access Kubeapps dashboard,

Run the below command to access Kubeapps Dashboard,

# kubectl port-forward -n kubeapps svc/kubeapps 8080:80

Now go to the browser and access the Kubeapps dashboard by,


and use the above generated token to login Kubeapps dashboard,

Now add a helm chart repository from configuration > App Repositories > Add App Repository.

From catalog section search your application and deploy it in kubernetes cluster.

Thats all, we have seen how to deploy Kubeapps application via helm in Kubernetes.

Post a Comment

Previous Post Next Post