Updating kubernetes-dashboard image in a Azure acs-k8s cluster is not getting reflected

10/7/2017

Action:

Tried updating the kubernetes-dashboard in k8s hosted in azure acs with image gcrio.azureedge.net/google_containers/kubernetes-dashboard-amd64 from version v1.6.3 to v1.7.1 (latest).

Problem:

The image version, when edited either with kubectl or UI, is not getting reflected/updated.

Question:

Is there any way to update the image version ?

-- codenio
acs
azure
dashboard
kubernetes

1 Answer

11/23/2017

It will be getting updated but then reverted by the k8s addon manager. If you ssh into a master the templates for the addon services live in etc/kubernetes/addons.

To upgrade the image you can edit /etc/kubernetes/addons/kubernetes-dashboard-deployment.yaml and change image inside the Deployment spec.

Your change should be picked up in a few seconds.

-- stug
Source: StackOverflow