π How to Re-promote a Failed App in ArgoCDRepromote App That has failed

Walk in cb1
If you're working with ArgoCD and have come across an application that failed during deployment, no worries! π‘ In this post, weβll walk you through the steps to re-promote that app and get it running smoothly again. Hereβs what you need to do:
1. π Check the Applicationβs Current State
The first step is to identify the issue. In the ArgoCD UI, navigate to the Application dashboard. You should see a red status indicating that the deployment has failed.
- Tip: Look at the logs to pinpoint exactly where things went wrong. Logs are your best friend here! π
2. π οΈ Fix the Root Cause
Before re-promoting the application, itβs essential to resolve the issue that caused the failure. This could be a problem with:
-
Configuration files (
ConfigMapsorSecrets) -
Network issues or missing dependencies
-
Incompatible versions of your appβs components
Correct the problem either by fixing the YAML or resolving external issues. β
3. π Sync the Application Again
Once the issue is fixed, head back to the ArgoCD interface and Sync the application.
-
Click the Sync button, and ArgoCD will try to reapply the changes to the Kubernetes cluster.
-
ArgoCD will automatically detect the changes and deploy the updated resources.
4. β³ Wait for the App to Become Healthy
Once you sync, the applicationβs status will update, and you can see whether itβs progressing as expected. π’ Ideally, the app should move to a βHealthyβ state. You can monitor the resources directly from the UI.
5. π Use Auto-Heal Features
ArgoCD comes with a helpful Auto-Sync feature that can automatically recover your application if it drifts from the desired state. Enabling this can ensure that future failures are automatically corrected without manual intervention.
- Navigate to the Application Settings and enable Auto-Sync π§ to prevent downtime during future failures.
6. β Celebrate a Successful Deployment!
Once the application is healthy again, youβve successfully re-promoted it. π
By following these steps, you should be able to re-promote any failed application in ArgoCD with minimal effort. Keep an eye on logs and status changes to ensure a smooth recovery next time as well!
Imported from rifaterdemsahin.com Β· 2025