chore(registry): uses calico's quay.io repo
This patch set changes the default calico's registry from dockerhub to quay.io to mitigate issues where frequent run of the script hits against the dockerhub's rate limit. Signed-off-by: Tin Lam <tin@irrational.io> Change-Id: Ic3e047fb89c14a5fffc59333c4f705b4be21dcaa
This commit is contained in:
parent
031c1f9f22
commit
2a04062b3d
@ -122,6 +122,10 @@ sudo -E minikube start \
|
||||
minikube addons list
|
||||
|
||||
curl https://docs.projectcalico.org/"${CALICO_VERSION}"/manifests/calico.yaml -o /tmp/calico.yaml
|
||||
# NOTE: Changes the default repository to use quay.io. Running this script multiple times can result
|
||||
# in image pull error due to dockerhub's rate limiting policy. To avoid potential conflict,
|
||||
# use calico's quay.io repository to mitigate this issue.
|
||||
sed -i -e 's#docker.io/calico/#quay.io/calico/#g' /tmp/calico.yaml
|
||||
kubectl apply -f /tmp/calico.yaml
|
||||
|
||||
# Note: Patch calico daemonset to enable Prometheus metrics and annotations
|
||||
|
Loading…
Reference in New Issue
Block a user