From 43a0d03562f848ecd248d9126c8a8a19f4b76764 Mon Sep 17 00:00:00 2001 From: Thomas Stromberg Date: Wed, 18 Sep 2019 21:45:08 -0700 Subject: [PATCH 1/2] Update image cache to addon-manager 9.0.2 --- pkg/minikube/constants/constants.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/minikube/constants/constants.go b/pkg/minikube/constants/constants.go index 001cc6f92dcb..86ff396baba6 100644 --- a/pkg/minikube/constants/constants.go +++ b/pkg/minikube/constants/constants.go @@ -348,7 +348,7 @@ func GetKubeadmCachedImages(imageRepository string, kubernetesVersionStr string) images = append(images, []string{ imageRepository + "kubernetes-dashboard" + ArchTag(true) + "v1.10.1", - imageRepository + "kube-addon-manager" + ArchTag(false) + "v9.0", + imageRepository + "kube-addon-manager" + ArchTag(false) + "v9.0.2", minikubeRepository + "storage-provisioner" + ArchTag(false) + "v1.8.1", }...) From bdd2c75208fa2596e66534a61479290566343fcc Mon Sep 17 00:00:00 2001 From: Thomas Stromberg Date: Wed, 18 Sep 2019 21:47:12 -0700 Subject: [PATCH 2/2] Update addon-manager to v9.0.2, disable master negotiation and increase reconcile frequency --- deploy/addons/addon-manager.yaml.tmpl | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/deploy/addons/addon-manager.yaml.tmpl b/deploy/addons/addon-manager.yaml.tmpl index 8ca91ee120ad..469fa1a783c0 100644 --- a/deploy/addons/addon-manager.yaml.tmpl +++ b/deploy/addons/addon-manager.yaml.tmpl @@ -19,16 +19,20 @@ metadata: namespace: kube-system labels: component: kube-addon-manager - version: v9.0 + version: v9.0.2 kubernetes.io/minikube-addons: addon-manager spec: hostNetwork: true containers: - name: kube-addon-manager - image: {{default "k8s.gcr.io" .ImageRepository}}/kube-addon-manager{{.ExoticArch}}:v9.0 + image: {{default "k8s.gcr.io" .ImageRepository}}/kube-addon-manager{{.ExoticArch}}:v9.0.2 env: - name: KUBECONFIG value: /var/lib/minikube/kubeconfig + - name: TEST_ADDON_CHECK_INTERVAL_SEC + value: "5" + - name: ADDON_MANAGER_LEADER_ELECTION + value: "false" imagePullPolicy: IfNotPresent resources: requests: