通过平台创建 Argo CD Application

本文将介绍通过网页控制台的 GitOps 应用程序 创建 Argo CD Application 的完整过程,实现对应用程序的 GitOps 管理。

用例

  • 使用网页控制台创建一个 SpringBoot Argo CD Application,体验通过 GitOps 管理应用程序的完整过程。

前提条件

步骤

按照以下步骤使用这些功能:

代码仓库配置

如果在 创建 GitOps 应用程序 的详细页面中没有看到集成代码仓库,您可以先集成代码仓库:

INFO

如果您没有可用的代码仓库,您可以使用演示仓库进行演示。 仓库 URL: https://github.com/argoproj/argocd-example-apps.git 描述: 该仓库包含示例应用程序,可用于演示和测试 Argo CD 功能。

使用 GitOps 应用程序创建 Argo CD Application

  1. 容器平台 中,点击 GitOps 应用程序

  2. 点击 创建 GitOps 应用程序

  3. 基本信息代码仓库 部分,根据以下说明配置相关信息。

参数输入内容
类型Application
来源Argo CD 集成
集成项目名称argocd-example-apps
版本标识符Branch
master
源文件类型Helm
源文件目录helm-guestbook
自定义值values.yaml
  1. 分发 中,使用平台推荐的 命名空间,或者选择其他命名空间。

  2. 将同步策略设置为默认的 手动同步

  3. 点击 创建