How to update Kubernetes Dashboard in hosted Kubernetes on GKE?

9/21/2016

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.

-- tex
google-cloud-platform
google-kubernetes-engine
kubernetes

2 Answers

9/26/2016

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).

-- Piotr Bryk
Source: StackOverflow

4/3/2017

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

-- Michael Cole
Source: StackOverflow