Creating GitOps Application
Overview
Leverage Alauda Container Platform GitOps application management capabilities to visually create Argo CD ApplicationSet for comprehensive lifecycle management of containerized applications through GitOps Applications.
TOC
PrerequisitesCreating Argo CD Application via web consoleProcedureView Sync Ignore Configuration Fields in YAML fileCreating Argo CD Application via YAMLProcedureCreating Argo CD Application via CLIPrerequisitesPrerequisites
-
Install Alauda Container Platform GitOps:
- If not installed, please contact the Administrator to Installing Alauda Container Platform GitOps
-
Git Repository Integration (Choose one method):
- Integrating Code Repositories via Argo CD dashboard
- The Administrator must provision Code Repositories through DevOps Toolchain > Integrate
Creating Argo CD Application via web console
Streamline application distribution through visual management interfaces.
Procedure
-
Container Platform, and navigate to GitOps Applications.
-
Click on Create GitOps Application.
-
Configure parameters in Basic Info and Code Repository sections:
-
Configure parameters in Destination sections:
-
Application: Differential configs don't modify base files in source directory.
-
ApplicationSet: Multi-cluster deployment with Differentiated Configuration.
Note: Differentiated Configuration don't modify base files in Source Directory.
-
-
Sync Policy (3-minute reconciliation interval).
-
Click Create.
Manual Sync Note: Choose Synchronize Immediately for immediate deployment or Synchronize Later to trigger manually via details page.
View Sync Ignore Configuration Fields in YAML file
After configuring sync ignore rules, verify via:
-
Navigate to GitOps Application
-
Select target application
-
Click Action > Update
-
Inspect YAML file.
Creating Argo CD Application via YAML
Procedure
-
Container Platform, and navigate to GitOps Applications.
-
Click on Create GitOps Application.
-
Switch to the YAML tab.
-
In the YAML sections, refer to the following YAML file and configure the relevant information. Replace
namespaceandprojectwith your own namespace and project. -
Click Create.
Creating Argo CD Application via CLI
Prerequisites
The web-cli plugin is installed and the web-cli switch is enabled.