Skip to content

Commit

Permalink
Merge pull request rook#14857 from rook/mergify/bp/release-1.15/pr-14854
Browse files Browse the repository at this point in the history
core: Skip counting exporter pods as a ceph pod (backport rook#14854)
  • Loading branch information
subhamkrai authored Oct 16, 2024
2 parents 3fd226b + a4aea24 commit 1686b1a
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion pkg/operator/ceph/cluster/nodedaemon/add.go
Original file line number Diff line number Diff line change
Expand Up @@ -177,7 +177,8 @@ func isCephPod(labels map[string]string, podName string) bool {
// will be empty since the monitors don't exist yet
isCanaryPod := strings.Contains(podName, "-canary-")
isCrashCollectorPod := strings.Contains(podName, "-crashcollector-")
if ok && !isCanaryPod && !isCrashCollectorPod {
isExporterPod := strings.Contains(podName, "-exporter-")
if ok && !isCanaryPod && !isCrashCollectorPod && !isExporterPod {
logger.Debugf("%q is a ceph pod!", podName)
return true
}
Expand Down

0 comments on commit 1686b1a

Please sign in to comment.