Skip to content

Commit 54bd32b

Browse files
authored
Add new troubleshooting topic for GitOps apps (#768)
* Add new troubleshooting topic for GitOps apps Added troubleshootin info for deployment in progressing state * Update nav.yml Added troubleshooting gitops apps entry to nav yaml * Add screenshot for issue * Update troubleshooting-gitops-apps.md Implemented feedback comments * Update troubleshooting-gitops-apps.md Changed Possible Cause description * Update troubleshooting-gitops-apps.md Moved default behavior sentence up in Possible Cause
1 parent d93051a commit 54bd32b

File tree

4 files changed

+42
-5
lines changed

4 files changed

+42
-5
lines changed

_data/nav.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -366,6 +366,8 @@
366366
url: "/manage-application"
367367
- title: Progressive delivery with GitOps
368368
url: "/install-argo-rollouts"
369+
- title: Troubleshooting GitOps applications
370+
url: "/troubleshooting-gitops-apps"
369371

370372

371373

_docs/deployments/gitops/applications-dashboard.md

Lines changed: 4 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -198,10 +198,6 @@ The Quick View includes the following tabs:
198198
* Events: Displays status and sync events for the application.
199199

200200

201-
202-
203-
204-
205201
## Monitor resources for selected application
206202

207203
Monitor the resources deployed in the current version of the selected application in the Current State tab.
@@ -510,6 +506,7 @@ You can:
510506
<!--* [Monitor updated resources by deployment](#monitor-updated-resources-by-deployment) -->
511507
* [Monitor rollouts by deployment](#monitor-rollouts-by-deployment)
512508

509+
See also [Troubleshooting GitOps applications]({{site.baseurl}}/docs/deployments/gitops/troubleshooting-gitops-apps/).
513510

514511
**How to monitor deployments**
515512
1. If required, set filters to narrow the number of deployments for the selected application.
@@ -681,6 +678,7 @@ max-width="50%"
681678
%}
682679

683680

681+
684682
## Monitor services for selected application
685683
The Services tab shows the K8s services for each deployment of the application.
686684
Each service shows the number of replicas, the endpoint IP, the labels that reference the application, and the health status.
@@ -699,7 +697,8 @@ max-width="50%"
699697

700698
## Related articles
701699
[Creating GitOps applications]({{site.baseurl}}/docs/deployments/gitops/create-application)
702-
[Managing GitOps applications]({{site.baseurl}}/docs/deployments/gitops/manage-application)
700+
[Managing GitOps applications]({{site.baseurl}}/docs/deployments/gitops/manage-application)
701+
[Troubleshooting GitOps applications]({{site.baseurl}}/docs/deployments/gitops/troubleshooting-gitops-apps)
703702
[Home Dashboard]({{site.baseurl}}/docs/dashboards/home-dashboard)
704703
[DORA metrics]({{site.baseurl}}/docs/dashboards/dora-metrics/)
705704

Lines changed: 36 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,36 @@
1+
---
2+
title: "Troubleshooting GitOps applications"
3+
description: ""
4+
group: deployments
5+
sub_group: gitops
6+
toc: true
7+
---
8+
9+
10+
11+
## Current release version stuck in Progessing state
12+
In the GitOps Apps dashboard, when viewing the Timeline tab for the selected application, the Current Version is shown as **Progressing**, though the application status is Healthy and Synced.
13+
14+
{% include
15+
image.html
16+
lightbox="true"
17+
file="/images/troubleshooting/gitops-apps/timeline-current-version-progressing.png"
18+
url="/images/troubleshooting/gitops-apps/timeline-current-version-progressing.png"
19+
alt="Current version stuck in Progressing"
20+
caption="Current version stuck in Progressing"
21+
max-width="60%"
22+
%}
23+
24+
### Possible Cause
25+
This issue can occur when Istio VirtualService and Argo Rollouts are used in your application in Codefresh.
26+
The default behavior of VirtualService weights in Argo Rollouts can lead to synchronization issues with Git as the Rollout progresses.
27+
For more information, see [Argo Rollouts with Istio](https://argoproj.github.io/argo-rollouts/features/traffic-management/istio/#istio){:target="\_blank"}.
28+
29+
In Codefresh, this issue leads to a loop with the following behavior:
30+
* Current release remains as **Progressing** in the Timeline tab.
31+
* A new release when triggered, changes the previous release to **Terminated**, and the new release now remains stuck as **Progressing**.
32+
33+
34+
### Possible Actions
35+
36+
To resolve this issue when using Istio with Argo Rollouts, configure the application following the best practices for [integration with GitOps](https://argoproj.github.io/argo-rollouts/features/traffic-management/istio/#integrating-with-gitops){:target="\_blank"} in the Argo Rollouts documentation.
125 KB
Loading

0 commit comments

Comments
 (0)