Certain Pods Have High Restarts - OpenShift Data Foundation (ODF)
Issue
If high pod restarts are observed on the following pods, this is usually an indication of the odf-operator-controller-manager not having enough memory resources (requests/limits):
- ceph-csi-controller-manager <----- Separate Article: ceph-csi-controller-manager Pod has High Restarts
- csi-addons-controller-manager <-- Separate Article: Pod csi-addons-controller-manager OOMKilled
- csi-cephfsplugin
- csi-cephfsplugin-provisioner
- csi-rbdplugin
- csi-rbdplugin-provisioner
- ocs-operator
- ocs-metrics-exporter
- odf-console
-
odf-operator-controller-manager
The ocs-metrics-exporter uses the odf-operator-controller-manager resources in ODF v4.18 and below; however, in ODF v4.19+ the ocs-metrics-exporter and it's respective containers must be patched in the storagecluster. See the ODF: The ocs-metrics-exporter killed by OOM repeatedly. solution for more informaiton.
NOTE: If the noobaa-operator pod is observed to have high pod restarts, this is a separate/known issue. This issue has been fixed in ODF v4.12.5+.
Environment
Red Hat OpenShift Data Foundations (RHODF) v4.9+
Subscriber exclusive content
A Red Hat subscription provides unlimited access to our knowledgebase, tools, and much more.