Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Table of Contents

Configuring git in Argo Tool

  1. Login to Argo tool → Settings

2. Navigate to Repositories

3. Click “Connect repo using HTTPS” / SSH as per requirement

4. Enter the details:

Select the type as git

Enter Repo URL and credentials and connect

5. The added Repo details get reflected in Repositories

Configuring Kubernetes cluster in Argo Tool

The cluster added to Argo via CLI is reflected in “Clusters” tab of Argo tool.

Code Block
languagebash
# Update the kubeconfig file for auth.
aws eks update-kubeconfig --region us-east-2 --name cluster-name

# Login to argocd server through cli
argocd login <argocd_server_url> --password <password> --username <username>

# add external cluster through cli to argocd
argocd cluster add <kube_context>

Note: kube_context format for EKS: arn:aws:eks:<region>:<account_id>:cluster/<cluster_name> 

Registering Argo Tool

  1. Login tohttps://portal.opsera.io -> Tool Registry -> Click “+New Tool” Button

2. Enter a name and select “Argo” as Tool Identifier

3. Click “Create” button for the tool to be registered

4. Enter connection details - URL, ID and password and save

5. “Test Connection” to be successful to ensue the credentials are valid

6. Navigate to Application tab and Click “Create Argo Application”

7. Enter the details and save

Image RemovedImage Added

Pipeline setup and configuration:

Sample pipeline flow:

Jenkins Docker Build → ECR Push → Argo Deploy

  1. Jenkins - Docker Build

Sample Configuration screenshot of Docker build step:

2. ECR Push configuration sample screenshot

3. Argo Tool - Argo deploy step configuration

4. Save the steps and Run the Pipeline

5. Pipeline successful run

Argo Tool Validation

  1. Login to Argo Tool and verify the application reflected and synced