diff --git a/pkg/operator/ceph/cluster/cephstatus.go b/pkg/operator/ceph/cluster/cephstatus.go index c8045f5db..9cc8ae515 100644 --- a/pkg/operator/ceph/cluster/cephstatus.go +++ b/pkg/operator/ceph/cluster/cephstatus.go @@ -323,6 +323,7 @@ func (c *cephStatusChecker) getRookPodsOnNode(node string) ([]v1.Pod, error) { "rook-ceph-mgr", "rook-ceph-mds", "rook-ceph-rgw", + "rook-ceph-exporter", } podsOnNode := []v1.Pod{} listOpts := metav1.ListOptions{ diff --git a/pkg/operator/ceph/cluster/cephstatus_test.go b/pkg/operator/ceph/cluster/cephstatus_test.go index 1652d3051..564f72316 100644 --- a/pkg/operator/ceph/cluster/cephstatus_test.go +++ b/pkg/operator/ceph/cluster/cephstatus_test.go @@ -335,6 +335,7 @@ func TestGetRookPodsOnNode(t *testing.T) { {"app": "rook-ceph-rgw"}, {"app": "user-app"}, {"app": "rook-ceph-mon"}, + {"app": "rook-ceph-exporter"}, } pod := v1.Pod{ @@ -362,7 +363,7 @@ func TestGetRookPodsOnNode(t *testing.T) { pods, err := c.getRookPodsOnNode("node0") assert.NoError(t, err) // A pod is having two matching labels and its returned only once - assert.Equal(t, 11, len(pods)) + assert.Equal(t, 12, len(pods)) podNames := []string{} for _, pod := range pods {