Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Switch some image from dockerhub to k8s.gcr (also increase pkg retries) #6955

Merged

Conversation

floryut
Copy link
Member

@floryut floryut commented Nov 26, 2020

What type of PR is this?
/kind feature

What this PR does / why we need it:
We need to implement a more permanent solution, in the meantime this will reduce pull from dockerhub

Which issue(s) this PR fixes:
None but this will reduce the pulls from dockerhub by 5 for each CI jobs, reducing the docker rate limit error

Special notes for your reviewer:
I also commented the dashboard_enabled so that it's not downloaded on each CI job and enable it only in one (the one where we changed the dashboard NS)

Does this PR introduce a user-facing change?:

NONE

@k8s-ci-robot k8s-ci-robot added kind/feature Categorizes issue or PR as related to a new feature. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. labels Nov 26, 2020
@k8s-ci-robot
Copy link
Contributor

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: floryut

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@k8s-ci-robot k8s-ci-robot requested review from bozzo and EppO November 26, 2020 11:25
@k8s-ci-robot k8s-ci-robot added approved Indicates a PR has been approved by an approver from all required OWNERS files. size/S Denotes a PR that changes 10-29 lines, ignoring generated files. labels Nov 26, 2020
@floryut floryut force-pushed the move_away_from_dockerhub branch from b880d90 to 30dac7f Compare November 26, 2020 11:27
@floryut floryut changed the title Switch some image from dockerhub to quay (also increase pkg retries) Switch some image from dockerhub to k8s.gcr (also increase pkg retries) Nov 26, 2020
@@ -918,15 +916,6 @@ downloads:
groups:
- kube-master

busybox:
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

For information, this is no longer used in kube-router since 1.x

@@ -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"
Copy link
Member Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is used in test and we don't care about the busybox image..

@floryut
Copy link
Member Author

floryut commented Nov 26, 2020

@EppO @oomichi If this could be reviewed that would be great, thank you :)

@@ -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"
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The official release repo for CoreDNS is DockerHub. I know kubeadm default is the one in gcr.io but I'm wondering what we should use, the official one or the kubeadm's.

Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I guess it doesn't really matter, as long as that's part of their release process now that CoreDNS is kube default DNS stack

@EppO
Copy link
Contributor

EppO commented Nov 26, 2020

/lgtm

@k8s-ci-robot k8s-ci-robot added the lgtm "Looks good to me", indicates that a PR is ready to be merged. label Nov 26, 2020
@k8s-ci-robot k8s-ci-robot merged commit 405692d into kubernetes-sigs:master Nov 26, 2020
@floryut floryut mentioned this pull request Jan 8, 2021
LuckySB pushed a commit to southbridgeio/kubespray that referenced this pull request Jan 16, 2021
k8s-ci-robot pushed a commit that referenced this pull request Jan 21, 2021
* [2.14] fix ci (#7021)

* fix flake8 errors in Kubespray CI - tox-inventory-builder

* fix flake8 errors in Kubespray CI - tox-inventory-builder

* Invalidate CRI-O kubic repo's cache

Signed-off-by: Victor Morales <[email protected]>

* add support to configure pkg install retries

and use in CI job tf-ovh_ubuntu18-calico (due to it failing often)

* Switch Calico and Cilium image repos to Quay.io

Co-authored-by: Victor Morales <[email protected]>
Co-authored-by: Barry Melbourne <[email protected]>

Conflicts:
	roles/download/defaults/main.yml

* up vagrant box to fedora/33-cloud-base in cri-o molecule tests

(cherry picked from commit 06ec539)

* add Google proxy-mirror-cache for docker hub to CI tests

(cherry picked from commit d739a6b)

* containerd docker hub registry mirror support

* containerd docker hub registry mirror support

* add docs

* fix typo

* fix yamllint

* fix indent in sample
and ansible-playbook param in testcases_run

* fix md

* mv common vars to tests/common/_docker_hub_registry_mirror.yml

* checkout vars to upgrade tests

(cherry picked from commit 4a8a52b)

* Exclude .git/ from shellcheck

If a branch name contains '.sh', current shellcheck checks the branch
file under .git/ and outputs error because the format is not shell
script one.
This makes shellcheck exclude files under .git/ to avoid this issue.

(cherry picked from commit e2467d8)

Co-authored-by: Hans Feldt <[email protected]>
Co-authored-by: Sergey <[email protected]>
Co-authored-by: Kenichi Omichi <[email protected]>

* Switch some image from dockerhub to k8s.gcr (also increase pkg retries) (#6955)

* Set packet_centos8-kube-ovn test to manual

Signed-off-by: Rick Haan <[email protected]>

Co-authored-by: Etienne Champetier <[email protected]>
Co-authored-by: Hans Feldt <[email protected]>
Co-authored-by: Sergey <[email protected]>
Co-authored-by: Kenichi Omichi <[email protected]>
Co-authored-by: Florian Ruynat <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
approved Indicates a PR has been approved by an approver from all required OWNERS files. cncf-cla: yes Indicates the PR's author has signed the CNCF CLA. kind/feature Categorizes issue or PR as related to a new feature. lgtm "Looks good to me", indicates that a PR is ready to be merged. size/S Denotes a PR that changes 10-29 lines, ignoring generated files.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants