An Argo CD Application says OutOfSync or Degraded. That is a useful signal, but it is not yet a diagnosis.
OutOfSync tells you live state differs from desired state. Degraded tells you one or more resources are unhealthy. The fastest next move is to keep the GitOps signal visible while following the affected resources into the live cluster.
Krust supports that workflow without requiring an Argo CD server URL or a second login. It reads the Argo CD custom resources through the Kubernetes API using your current kubeconfig identity.
New in 1.6: this article’s kubeconfig workflow describes Kubernetes CRD mode. The Argo CD API workspace adds a separate server profile and Argo CD sign-in, with native resource trees, live/desired diff, logs, and deployment history. API permissions follow the signed-in Argo CD account, not your Kubernetes context. See the 1.6.0 release notes.
Before You Touch Anything
First decide whether you are investigating or recovering.
- Investigation: read status, Events, logs, metrics, and YAML.
- Recovery: Refresh, Sync, restart, delete a failed Pod, or terminate a stuck operation.
- Durable fix: change the source in Git and let Argo CD reconcile it.
Do not start by editing a managed Deployment in the cluster. If Argo CD self-heal is enabled, it can restore the Git version. Even without self-heal, a later sync can overwrite the manual change. The Argo CD automated sync documentation is explicit about the difference between Git state, live changes, prune, and self-healing.
1. Find the Argo CD Application
Open Argo CD → Applications. Krust discovers the Application resources in the argoproj.io API group through the current Kubernetes context, so this view does not require a separate Argo CD server URL or login.
Krust applies an Argo-specific profile instead of treating every field as generic YAML. The table can surface and filter:
- sync state such as
Synced,OutOfSync, orUnknown - health such as
Healthy,Progressing,Degraded, orMissing - project
- destination cluster
- Application name
- current operation state
Start with the status combination:
| Sync | Health | Likely next question |
|---|---|---|
| OutOfSync | Healthy | Is this expected drift, a pending revision, or an ignored difference? |
| Synced | Degraded | Which live resource failed after the desired state was applied? |
| OutOfSync | Degraded | Did reconciliation fail before the workload became healthy? |
| Unknown | Unknown | Can Argo CD evaluate the source and destination at all? |
Treat the table as triage. Open the Application YAML and conditions before choosing a write action.
2. Refresh Before You Sync
If the state looks stale, use Refresh first. Krust supports both normal and hard refresh through the Argo CD Application resource.
A refresh asks Argo CD to recalculate state. It does not imply that the desired manifests should immediately be applied. That makes it a safer first action when you suspect cached repository or live-state information.
Use hard refresh only when you have evidence that normal refresh is not updating the comparison. It invalidates more cached state and should not become the default response to every warning.
3. Decide Whether Sync Is Actually the Fix
Sync is appropriate when:
- the desired revision in Git is correct
- the Application is OutOfSync
- the live difference is understood
- the sync policy and current change window allow it
Krust exposes Sync and Sync with Prune as separate actions. Keep them separate in your head as well.
The Argo CD documentation says pruning is intentionally not automatic by default. Sync with Prune can delete resources that no longer exist in Git. Use it only after you have inspected what would be removed and confirmed the Git source is correct.
If an operation is stuck and blocking further progress, Krust can request Terminate Operation. That stops the operation; it does not repair the underlying manifest or cluster condition.
When Should You Use Selective Sync?
Selective sync applies only the managed resources you choose instead of reconciling the entire Application. In Krust, open an Application, select one or more entries under Managed Resources, and choose Sync Selected. This is useful when the desired revision is already correct and you need to re-apply a known Deployment, Service, or other specific resource without launching a full-Application sync. Keep the scope narrow and inspect the resource identity, current status, and manifest before confirming the operation.
Selective sync is intentionally not equivalent to a normal Application sync. The official Argo CD selective sync documentation states that the operation is not recorded in sync history, cannot be rolled back from that history, and does not run resource hooks. Use a full sync when PreSync migrations, PostSync checks, hook-driven orchestration, or a complete Application reconciliation must run together.
4. Follow the Failing Workload
Once you know which Deployment, StatefulSet, DaemonSet, Job, or Pod is unhealthy, leave the Application summary and inspect the live resource.
Use resource topology to map the relationship chain. For a Deployment, that can include:
Deployment
→ ReplicaSet
→ Pod
→ Service
→ Endpoints
→ ConfigMap / Secret / ServiceAccount / PVC
Krust resolves those relationships from ownerReferences, selectors, endpoint targets, and Pod spec references. This is different from an Application-only tree: it helps you start at the actual symptom and follow live Kubernetes relationships.
Typical evidence:
- a new ReplicaSet exists but has zero available Pods
- a Service selector points at no ready Pods
- a Pod references a missing Secret
- an endpoint set is empty after a rollout
- the old ReplicaSet is still serving while the new one crashes
5. Read Events Before Logs
Events often explain failures that application logs cannot:
FailedSchedulingFailedMountErrImagePullorImagePullBackOff- admission webhook rejection
- readiness or liveness probe failures
- PVC binding failures
Then open logs for the specific failing container. If the container restarted, check previous logs as well. Add metrics when the symptom is resource pressure rather than startup failure.
The order matters:
Argo status → resource condition → Events → logs → metrics → action
It keeps the investigation evidence-driven and prevents a broad log search from becoming the first and only debugging technique.
6. Use the Agent on the Evidence You Already Selected
Krust Agent receives the current cluster, namespace, selected resource, and UI context. Ask narrow questions after you have selected the relevant Application or workload:
- “Why is this Application Degraded?”
- “Trace the failing Deployment to its Pods and summarize warning Events.”
- “Compare current and previous container logs for the first failure.”
- “Is this safe to Sync, or is the failure outside Argo CD reconciliation?”
The agent should gather live evidence before recommending a mutation. A sync button is not a diagnosis.
7. Put the Durable Fix Back in Git
If the root cause is a bad image tag, missing environment variable, incorrect probe, resource limit, selector, or volume reference, fix the manifest source.
The complete loop is:
- identify the failing Argo CD Application
- trace the unhealthy live resource
- confirm the cause with Events, logs, YAML, or metrics
- change the desired state in Git
- let Argo CD detect and reconcile the revision
- watch the Application move toward
SyncedandHealthy
Direct actions remain useful for recovery. The repository remains the durable record.
When to Stay in the Argo CD UI
Argo CD’s own UI is better when the main question is about revisions, sync waves, hooks, ApplicationSets, generated Applications, or a detailed desired-versus-live diff. Its ApplicationSet UI can preview generated Application changes and show their health hierarchy.
Krust is most useful when the question escapes the GitOps boundary and becomes a live-cluster investigation.
Use both tools for what they are designed to own.
See Krust resource topology, AI diagnostics, or Krust vs Lens.
