mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-01 19:39:21 +08:00
Break docker pull rate limit
Signed-off-by: quicksilver <zhifeng.zhang@zilliz.com>
This commit is contained in:
parent
0e16a786e7
commit
fb000d0060
@ -21,11 +21,34 @@ spec:
|
||||
volumeMounts:
|
||||
- name: docker-graph-storage
|
||||
mountPath: /var/lib/docker
|
||||
- name: docker-daemon
|
||||
mountPath: /etc/docker
|
||||
initContainers:
|
||||
- name: docker-daemon-config
|
||||
image: registry.zilliz.com/library/dind-compose:v0.1
|
||||
command: ["sh", "-c"]
|
||||
args:
|
||||
- |
|
||||
cat > "/etc/docker/daemon.json" <<EOF
|
||||
{
|
||||
"registry-mirrors": [
|
||||
"https://hub-mirror.c.163.com",
|
||||
"https://mirror.baidubce.com" ]
|
||||
}
|
||||
EOF
|
||||
volumeMounts:
|
||||
- name: docker-daemon
|
||||
mountPath: /etc/docker
|
||||
volumes:
|
||||
- name: docker-graph-storage
|
||||
emptyDir: {}
|
||||
- name: docker-daemon
|
||||
emptyDir: {}
|
||||
tolerations:
|
||||
- key: dedicated
|
||||
operator: Equal
|
||||
value: milvus
|
||||
effect: NoSchedule
|
||||
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user