容器部署优化及问题总结
# 方案
在 dockerfile build的时候,大文件模型或者apk 从 minio或s3进行下载
1
2
3
2
3
# k8s镜像下载缓慢
# 有限看这篇文章
https://liangyuanpeng.com/post/service-lank8s.cn/
quay.io/kubernetes-ingress-controller/nginx-ingress-controller:0.30.0
quay.io -> quay.mirrors.ustc.edu.cn
registry.aliyuncs.com/google_containers/nginx-ingress-controller:0.30.0
# k8s.gcr.io/registry.k8s.io (这两个是跳转的)
k8s.gcr.io -> lank8s.cn
# gcr.io
gcr.io/kaniko-project/executor:v1.9.0
demo: gcr.dockerproxy.com/kaniko-project/executor:v1.9.0
官方命令:docker pull gcr.io/username/image:tag
代理命令:docker pull gcr.dockerproxy.com/username/image:tag
# google_containers
registry.cn-beijing.aliyuncs.com/google_containers/
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
# 机器学习
# tf serving 从S3 minio 加载模型
https://blog.csdn.net/nangua06/article/details/127734792
https://www.flyai.com/md/model4199e2ff11c48922d8279469
1
2
3
4
2
3
4
# 参考
上次更新: 2023-08-04 13:53:02