diff --git a/pkg/operator/ceph/controller/spec.go b/pkg/operator/ceph/controller/spec.go index 40b075700..dfa984982 100644 --- a/pkg/operator/ceph/controller/spec.go +++ b/pkg/operator/ceph/controller/spec.go @@ -312,6 +312,7 @@ func AppLabels(appName, namespace string) map[string]string { // Daemon ID is the ID portion of the Ceph daemon name: "a" for "mon.a"; "c" for "mds.c" func PodLabels(appName, namespace, daemonType, daemonID string) map[string]string { labels := AppLabels(appName, namespace) + labels["ceph_daemon_type"] = daemonType labels["ceph_daemon_id"] = daemonID // Also report the daemon id keyed by its daemon type: "mon: a", "mds: c", etc. labels[daemonType] = daemonID