fc icon indicating copy to clipboard operation
fc copied to clipboard

s 工具不支持企业版镜像仓库部署

Open rsonghuster opened this issue 2 years ago • 5 comments

s 工具不支持企业版镜像仓库部署

  1. 如果在本地 s 工具操作, 需要企业版实例开通公网访问
  2. 在1 满足的条件下, 可以探索下, 企业版 acr 实例的体验优化

rsonghuster avatar Aug 17 '22 08:08 rsonghuster

问题补充:

  1. 企业版实例的ID一般是 cri-开头的,crr是repo id
  2. 企业镜像只能在同一个主账号下使用,不能跨账号使用

wss-git avatar Aug 19 '22 09:08 wss-git

问题补充:

  1. 企业版实例的ID一般是 cri-开头的,crr是repo id
  2. 企业镜像只能在同一个主账号下使用,不能跨账号使用

wss-git avatar Aug 19 '22 09:08 wss-git

image

rsonghuster avatar Oct 17 '22 02:10 rsonghuster

https://help.aliyun.com/document_detail/145324.html

wss-git avatar Oct 17 '22 03:10 wss-git

总结下目前ACR的需求

  1. s.yaml支持acree
  2. s.yaml中的镜像地址如果是vpc的,则应用中心在s build时自动替换成公网地址,通过公网来上传镜像。部署时还是用vpc地址

lowkeyrd avatar Oct 19 '22 09:10 lowkeyrd

再补充一个需求:自定义镜像有加速转换的功能,CustomContainerConfig有个accelerationInfo属性用于返回加速状态。如果使用个人版FC会自动生成加速镜像,如果使用企业高级版需要用户自己开启加速并使用加速镜像。 当加速镜像没有转换完成时,updateFunction后在执行invoke会有很长的冷启动时间影响体验,期望是将加速镜像转换状态作为部署成功的条件,也就是deploy时一直等到accelerationInfo变成ready才算完成。

lowkeyrd avatar Oct 25 '22 05:10 lowkeyrd

这个能力要做到fc-deploy里面吧,相当于对镜像部署的能力增强哈。还有镜像加速时间可能是好几分钟,加上域名时间。这个可能会比较长时间。

heimanba avatar Oct 25 '22 06:10 heimanba

  1. accelerationInfo.status 的终态有哪些
  2. 是否有最大时间:5 min
  3. 所有镜像函数

wss-git avatar Oct 25 '22 08:10 wss-git

Failed、Preparing、Ready

lowkeyrd avatar Oct 26 '22 13:10 lowkeyrd

总结下目前ACR的需求

  1. s.yaml支持acree
  2. s.yaml中的镜像地址如果是vpc的,则应用中心在s build时自动替换成公网地址,通过公网来上传镜像。部署时还是用vpc地址

这个功能已经发布,新的需求在 #858 跟进

wss-git avatar Oct 27 '22 02:10 wss-git