阿里云ACK集群安装 ACK Virtual Node插件

image.png

在kube-system名称空间中配置 配置配置文件

配置项中配置
配置eci-profile配置文件
使用yaml配置

  1. selectors: |
  2. [
  3. {
  4. "name":"app-xpx-shopcode-eci",
  5. "objectSelector":{
  6. "matchLabels":{
  7. "eci-profile":"true"
  8. }
  9. }
  10. }
  11. ]

在需要使用ECI的容器中配置标签

image.png

eci-profile true
image.png

配置容器的yaml

两处配置

        alibabacloud.com/burst-resource: eci  # 添加注解,选择弹性调度的资源类型。
        eci-profile: 'true'  # 添加标签 与之前标签配置要一致。