Troubleshooting Temporary File Leakage in Argo CD on OpenShift GitOps
Issue
-
In some instances, the OpenShift GitOps Argo CD
application-controllerPod may fail to sync applications properly due to the excessive accumulation of temporary files in the/dev/shmdirectory, leading to a 'no space left on device' error.Failed sync attempt to 306419cc3721dfghxxxxxxx7c28d280531d575abc: failed to initialize sync context: failed to write kubeconfig: write /dev/shm/322xxxx321: no space left on device (retried 5 times).
Environment
- Red Hat OpenShift Container Platform (RHOCP)
- 4.8+
- Red Hat OpenShift GitOps (ArgoCD)
- 1.5.0+
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.