Troubleshooting Temporary File Leakage in Argo CD on OpenShift GitOps
Issue
- In some instances, the OpenShift GitOps Argo CD
application-controller
pod may fail to sync applications properly due to the excessive accumulation of temporary files in the/dev/shm
directory, 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
- 4
- Red Hat OpenShift GitOps (ArgoCD)
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.