Versions Compared

Key

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

...

minLevel1
maxLevel7

Argo Configurations

Git Configuration in Argo

...

  1. Login to Argo tool → Settings

...

5. The added Repo details get reflected in Repositories

...

...

Project Configuration in Argo

...

  1. Navigate to Repositories → Projects

  2. Click New Project

  3. Enter the required details and save

  4. The saved project is reflected

...

Kubernetes

...

Cluster Configuration in Argo

...

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> --name <cluster-name>

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

Opsera Configuration

...

Tool Registry Configuration

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

...

Click Save button to save project.

Pipeline

...

Setup and

...

Configuration:

Sample pipeline flow:

Jenkins Docker Build → ECR Push → Argo Deploy

...

Sample Configuration screenshot of Docker build step:

...

2. ECR Push step configuration sample screenshot:

...

3. Argo Tool - Argo deploy step configuration sample screenshot:

...

Rollback Enabled - When this step is enabled , rollback will happen automatically by deploying the artifact which is pointed to the artifacts.
Repository Tag - Select the repository or run to rollback to.

4. Save the steps and Run the Pipelinerun the pipeline by clicking ‘Start Pipeline’.

...

5. Pipeline Logs: successful run

...

Argo Tool Validation

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

...