Skip to content

Commit ab56279

Browse files
authored
Merge pull request #56809 from Dhruv-Soni11/RHDEVDOCS-3825
Creating content for Troubleshooting section in the GitOps 1.8 Release
2 parents 75790af + 2312045 commit ab56279

4 files changed

+38
-0
lines changed

_topic_maps/_topic_map.yml

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1868,6 +1868,8 @@ Topics:
18681868
File: run-gitops-control-plane-workload-on-infra-nodes
18691869
- Name: Sizing requirements for GitOps Operator
18701870
File: about-sizing-requirements-gitops
1871+
- Name: Troubleshooting issues in GitOps
1872+
File: troubleshooting-issues-in-GitOps
18711873
- Name: Jenkins
18721874
Dir: jenkins
18731875
Distros: openshift-enterprise
Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,12 @@
1+
:_content-type: ASSEMBLY
2+
[id="troubleshooting-issues-in-GitOps"]
3+
4+
= Troubleshooting issues in Red Hat OpenShift GitOps
5+
include::_attributes/common-attributes.adoc[]
6+
:context: troubleshooting-issues-in-GitOps
7+
8+
When working with {gitops-title}, you might face issues related to performance, monitoring, configuration, and other aspects. This section helps you to understand those issues and provide solutions to resolve them.
9+
10+
include::modules/con_auto-reboot-during-argo-cd-sync-with-machine-configurations.adoc[leveloffset=+1]
11+
include::modules/performance-challenges-in-machine-configurations-and-argo-cd.adoc[leveloffset=+2]
12+
Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,10 @@
1+
:_content-type: CONCEPT
2+
3+
[id="auto-reboot-during-argo-cd-sync-with-machine-configurations"]
4+
= Issue: Auto-reboot during Argo CD sync with machine configurations
5+
6+
In the Red Hat OpenShift Container Platform, nodes are updated automatically through the Red Hat OpenShift Machine Config Operator (MCO). A Machine Config Operator (MCO) is a custom resource that is used by the cluster to manage the complete life cycle of its nodes.
7+
8+
When an MCO resource is created or updated in a cluster, the MCO picks up the update, performs the necessary changes to the selected nodes, and restarts the nodes gracefully by cordoning, draining, and rebooting those nodes. It handles everything from the kernel to the kubelet.
9+
10+
However, interactions between the MCO and the GitOps workflow can introduce major performance issues and other undesired behaviors. This section shows how to make the MCO and the Argo CD GitOps orchestration tool work well together.
Lines changed: 14 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,14 @@
1+
:_content-type: CONCEPT
2+
3+
[id="performance-challenges-in-machine-configurations-and-argo-cd"]
4+
= Solution: Enhance performance in machine configurations and Argo CD
5+
6+
When you are using a Machine Config Operator as part of a GitOps workflow, the following sequence can produce suboptimal performance:
7+
8+
* Argo CD starts an automated sync job after a commit to the Git repository that contains application resources.
9+
10+
* If Argo CD notices a new or an updated machine configuration while the sync operation is in process, MCO picks up the change to the machine configuration and starts rebooting the nodes to apply the change.
11+
12+
* If a rebooting node in the cluster contains the Argo CD application controller, the application controller terminates, and the application sync is aborted.
13+
14+
As the MCO reboots the nodes in sequential order, and the Argo CD workloads can be rescheduled on each reboot, it can take some time for the sync to be completed. This results in an undefined behavior until the MCO has rebooted all nodes affected by the machine configurations within the sync.

0 commit comments

Comments
 (0)