Skip to content

Commit

Permalink
feat: use dockerhub through internal mirror (#1007)
Browse files Browse the repository at this point in the history
# Why:
pull from dockerhub directly will
- use internet bandwidth
- meet 'TOOMANYREQUESTS: You have reached your pull rate limit'

# How:
- pull dockerhub image through PingCAP internal mirror

---------

Signed-off-by: lijie <lijie@pingcap.com>
  • Loading branch information
lijie authored Mar 1, 2024
1 parent 861d8e7 commit 3faf6dd
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions apps/prod/tekton/configs/tasks/pingcap-build-images.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -75,6 +75,8 @@ spec:
env:
- name: KANIKO_EXECUTOR
value: /kaniko/executor
- name: KANIKO_REGISTRY_MIRROR
value: registry-mirror.pingcap.net
resources:
requests:
cpu: "4"
Expand Down

0 comments on commit 3faf6dd

Please sign in to comment.