通过平台创建 Argo CD Application
本文将介绍通过平台的 GitOps Applications 完成创建 Argo CD Application 的完整流程,实现对应用的 GitOps 管理。
使用场景
- 通过平台创建一个 SpringBoot Argo CD Application,体验通过 GitOps 管理应用的完整流程。
前提条件
- 安装 Alauda Container Platform GitOps
- 已分配项目和命名空间
操作步骤
按照以下步骤使用该功能:
代码仓库配置
如果在 Create GitOps Applications 详情页中未看到集成代码仓库,可以先进行代码仓库集成:
INFO
如果没有可用的代码仓库,可以使用演示仓库进行演示。
仓库地址:https://github.com/argoproj/argocd-example-apps.git
说明:该仓库包含示例应用,可用于演示和测试 Argo CD 功能。
通过 GitOps Applications 创建 Argo CD Application
-
在 Container Platform 中,点击 GitOps Applications。
-
点击 Create GitOps Application。
-
在 Basic Info 和 Code Repository 区域,按照以下说明配置相关信息。
-
在 Distribution 中,使用平台推荐的 Namespace,或选择其他命名空间。
-
同步策略默认设置为 Manually Sync。
-
点击 Create。