Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

How to update Kubernetes Dashboard in hosted Kubernetes on GKE?

We are using the hosted version of Kubernetes inside Google Container Engine (GKE).

Currently we are at Version 1.3.x, which comes with an Kubernetes Dashboard v1.1.1.

Some days ago Kubernetes Dashboard v1.4.0 was released which includes some very nice enhancements.

My Question: What is the recommended way to update the Kubernetes Dashboard on a hosted (GKE) Kubernetes cluster?

The cluster comes with a Dashboard controlled by an Replication Controller. We could just dump the RC config, edit the image tag and labels and apply it. But I don't want to break the dashboard. So I'd like to know what the "official" or suggested way of doing this is.

like image 284
tex Avatar asked Sep 21 '16 14:09

tex


2 Answers

The official way is to update your cluster to 1.4. It should be available a few days after Kubernetes 1.4 is released. You can do this via gcloud CLI or Google Cloud Console (click "Upgrade available" next to your cluster).

like image 67
Piotr Bryk Avatar answered Sep 22 '22 10:09

Piotr Bryk


GKE didn't manage this during upgrades on my clusters. Reinstall from kubernetes git repo:

☀ kubectl apply -f https://rawgit.com/kubernetes/dashboard/master/src/deploy/kubernetes-dashboard.yaml

like image 21
Michael Cole Avatar answered Sep 21 '22 10:09

Michael Cole