aboutsummaryrefslogtreecommitdiffstats
path: root/deploy/adapters/ansible/kubernetes/roles/kargo
diff options
context:
space:
mode:
authorJingzhao Ni <jingzhao.ni@arm.com>2018-08-13 09:18:20 +0800
committerJingzhao Ni <jingzhao.ni@arm.com>2018-08-13 09:18:20 +0800
commit0e6ffa22f729d755db3c4903fa9e6eb1e872854e (patch)
tree77d8fe04c4de0887ad01f755235d0ae3e057d5ae /deploy/adapters/ansible/kubernetes/roles/kargo
parentd1005a8f88160342c907b383a1005b85b5bc9308 (diff)
Change the dashboard and heapster images in k8s to arm64 when running on arm platform
Change the dashboard image in k8s from amd64 to arm64 on arm platform. In extra-vars-aarch64.yml, add the dashboard image tag for supporting the arm64 arch. For heapster images, add a "sed" command in main.yml for replacing the cpu architecture from amd64 to arm64. And it will be invoked only when deploying the arm platform. Change-Id: I584485f0356dcb925814f63cbc45ecbd459715bb Signed-off-by: Jingzhao Ni <jingzhao.ni@arm.com>
Diffstat (limited to 'deploy/adapters/ansible/kubernetes/roles/kargo')
-rw-r--r--deploy/adapters/ansible/kubernetes/roles/kargo/files/extra-vars-aarch64.yml1
1 files changed, 1 insertions, 0 deletions
diff --git a/deploy/adapters/ansible/kubernetes/roles/kargo/files/extra-vars-aarch64.yml b/deploy/adapters/ansible/kubernetes/roles/kargo/files/extra-vars-aarch64.yml
index 2e31cbdb..ae3dce76 100644
--- a/deploy/adapters/ansible/kubernetes/roles/kargo/files/extra-vars-aarch64.yml
+++ b/deploy/adapters/ansible/kubernetes/roles/kargo/files/extra-vars-aarch64.yml
@@ -14,6 +14,7 @@ dnsmasq_nanny_image_repo: "gcr.io/google_containers/k8s-dns-dnsmasq-nanny-arm64"
dnsmasq_sidecar_image_repo: "gcr.io/google_containers/k8s-dns-sidecar-arm64"
kubednsautoscaler_image_repo: "gcr.io/google_containers/\
cluster-proportional-autoscaler-arm64"
+dashboard_image_repo: "gcr.io/google_containers/kubernetes-dashboard-arm64"
# inventory/group_vars/k8s-cluster.yml
kube_network_plugin: flannel