From 30dac7fc2c7897aba98eb11e45ce950b3dbda382 Mon Sep 17 00:00:00 2001 From: Florian Ruynat <16313165+floryut@users.noreply.github.com> Date: Thu, 26 Nov 2020 12:23:28 +0100 Subject: [PATCH] Switch some image from dockerhub to k8s.gcr (also increase pkg retries) --- .../sample/group_vars/k8s-cluster/addons.yml | 2 +- roles/download/defaults/main.yml | 15 ++------------- tests/files/packet_centos8-calico.yml | 1 + tests/files/tf-ovh_ubuntu18-calico.yml | 2 +- 4 files changed, 5 insertions(+), 15 deletions(-) diff --git a/inventory/sample/group_vars/k8s-cluster/addons.yml b/inventory/sample/group_vars/k8s-cluster/addons.yml index c03ac1c29fd..ad404af2607 100644 --- a/inventory/sample/group_vars/k8s-cluster/addons.yml +++ b/inventory/sample/group_vars/k8s-cluster/addons.yml @@ -1,7 +1,7 @@ --- # Kubernetes dashboard # RBAC required. see docs/getting-started.md for access details. -dashboard_enabled: true +# dashboard_enabled: true # Helm deployment helm_enabled: false diff --git a/roles/download/defaults/main.yml b/roles/download/defaults/main.yml index f91e0fcae1f..0b027f842e4 100644 --- a/roles/download/defaults/main.yml +++ b/roles/download/defaults/main.yml @@ -479,7 +479,7 @@ haproxy_image_tag: 2.2 # Coredns version should be supported by corefile-migration (or at least work with) # bundle with kubeadm; if not 'basic' upgrade can sometimes fail coredns_version: "1.7.0" -coredns_image_repo: "{{ docker_image_repo }}/coredns/coredns" +coredns_image_repo: "{{ kube_image_repo }}/coredns" coredns_image_tag: "{{ coredns_version }}" nodelocaldns_version: "1.15.16" @@ -489,10 +489,8 @@ nodelocaldns_image_tag: "{{ nodelocaldns_version }}" dnsautoscaler_version: 1.8.3 dnsautoscaler_image_repo: "{{ kube_image_repo }}/cpa/cluster-proportional-autoscaler-{{ image_arch }}" dnsautoscaler_image_tag: "{{ dnsautoscaler_version }}" -test_image_repo: "{{ docker_image_repo }}/library/busybox" +test_image_repo: "{{ kube_image_repo }}/busybox" test_image_tag: latest -busybox_image_repo: "{{ docker_image_repo }}/library/busybox" -busybox_image_tag: 1.32.0 helm_version: "v3.2.4" helm_image_repo: "{{ docker_image_repo }}/lachlanevenson/k8s-helm" helm_image_tag: "{{ helm_version }}" @@ -918,15 +916,6 @@ downloads: groups: - kube-master - busybox: - enabled: "{{ kube_network_plugin in ['kube-router'] }}" - container: true - repo: "{{ busybox_image_repo }}" - tag: "{{ busybox_image_tag }}" - sha256: "{{ busybox_digest_checksum|default(None) }}" - groups: - - k8s-cluster - testbox: enabled: false container: true diff --git a/tests/files/packet_centos8-calico.yml b/tests/files/packet_centos8-calico.yml index 30844b3306f..209b44ff497 100644 --- a/tests/files/packet_centos8-calico.yml +++ b/tests/files/packet_centos8-calico.yml @@ -9,6 +9,7 @@ deploy_netchecker: true dns_min_replicas: 1 metrics_server_enabled: true dashboard_namespace: "kube-dashboard" +dashboard_enabled: true loadbalancer_apiserver_type: haproxy # required / not autodetected for now diff --git a/tests/files/tf-ovh_ubuntu18-calico.yml b/tests/files/tf-ovh_ubuntu18-calico.yml index 704e21735bd..60e83ffbc0d 100644 --- a/tests/files/tf-ovh_ubuntu18-calico.yml +++ b/tests/files/tf-ovh_ubuntu18-calico.yml @@ -2,7 +2,7 @@ dns_min_replicas: 1 deploy_netchecker: true sonobuoy_enabled: true -pkg_install_retries: 10 +pkg_install_retries: 15 retry_stagger: 10 # Ignore ping errors