如何加快MIG实例的启动时间?
我正在运行自动级别的MIG,通常会上下缩放。
我指定了一个启动脚本,该脚本从人工制品注册表中提取Docker映像:
docker run us-central1-docker.pkg.dev/$PROJECT_ID/$APP_ID/$APP_ID:latest
我的一些MIG正在拉大容器(1.5GB),但大多数容器都是LT; 150MB。
我如何将其达到最小的启动时间?
如果我要创建图像而不是模板并将其指定为启动磁盘之类的东西,这会有所帮助吗?
I'm running an autoscaling MIG, it often scales up and down.
I specify a startup script that pulls a docker image from artifact registry:
docker run us-central1-docker.pkg.dev/$PROJECT_ID/$APP_ID/$APP_ID:latest
Some of my MIGs are pulling big containers (1.5GB), but most of the containers are <150MB.
How do I get it to the minimal possible startup time?
Would it help if I would be creating a Images instead of Templates and specifying them as a bootup disk or something?
如果你对这篇内容有疑问,欢迎到本站社区发帖提问 参与讨论,获取更多帮助,或者扫码二维码加入 Web 技术交流群。

绑定邮箱获取回复消息
由于您还没有绑定你的真实邮箱,如果其他用户或者作者回复了您的评论,将不能在第一时间通知您!
发布评论