Installing Alauda Container Platform Argo Rollouts

前提条件

  1. 下载对应您平台架构的Alauda Container Platform Argo Rollouts集群插件安装包。
  2. 通过上架软件包机制上传安装包。
  3. 使用集群插件机制安装安装包到集群。
INFO

上架软件包: 进入管理员 > Marketplace > Upload Packages页面。 点击右侧的帮助文档获取如何发布集群插件到集群的操作说明。更多详情请参考CLI

安装 Alauda Container Platform Argo Rollouts

操作步骤

  1. 点击Marketplace > Cluster Plugins进入Cluster Plugins列表页面。
  2. 找到Alauda Container Platform Argo Rollouts集群插件,点击Install,进入Install Alauda Container Platform Argo Rollouts Plugin页面。
  3. 直接点击Install完成Alauda Container Platform Argo Rollouts集群插件安装。
INFO

对于版本 v4.2.6,安装完成后需要执行以下步骤:

  1. global集群中找到argo-rollouts moduleinfo 实例:

    $ kubectl get moduleinfo | grep {cluster} | grep argo-rollouts

    其中 {cluster} 是业务集群的名称。

  2. 根据集群的 argo-rollouts moduleinfo 名称,编辑该 moduleinfo 添加 valuesOverride 字段:

    $ kubectl edit moduleinfo {moduleinfo-name}

    修改内容如下:

    spec:
      config: {}
      valuesOverride:
        acp/argoproj/chart/argo-rollouts:
          controller:
            initContainers:
            - args:
              - cp /bin/rollouts-plugin-trafficrouter-gatewayapi /plugins
              command:
              - /bin/sh
              - -c
              image: {registry address}/acp/argoproj-labs/rollouts-plugin-trafficrouter-gatewayapi:v0.6.0-6
              name: copy-gwapi-plugin
              resources:
                requests:
                  cpu: 100m
                  memory: 64Mi
                limits:
                  cpu: 200m
                  memory: 128Mi
                  ephemeral-storage: 500Mi
              volumeMounts:
                - mountPath: /plugins
                  name: gwapi-plugin

    其中 {registry address} 需要替换为实际地址。