Table of Contents |
---|
...
|
Argo Configurations
Git Configuration in Argo
...
Login to Argo tool → Settings
...
5. The added Repo details get reflected in Repositories
...
...
Project Configuration in Argo
...
Navigate to Repositories → Projects
Click New Project
Enter the required details and save
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 | ||
---|---|---|
| ||
# 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
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
Login to Argo Tool and verify the application reflected and synced
...