Enable users to change cluster label for pmm-admin

Description

PMM is grouping the database servers by using the cluster label. Databases servers which have the same cluster label they belong to one cluster. (from PMM point of view)

At the moment the operator set the cluster label for the name of the cluster:

If the customer deploys MongoDB clusters in different name spaces or different DCs they can use different names but buy using multi region deployments these clusters are connected. But PMM will not connect those clusters together if the cluster label is different.

Users should be allowed to set the cluster flag if necessary.

Also if a user is using different namespaces and deploys mongodb cluster with the same name, and if they will connect to the same PMM server, PMM server will think they belong to the same cluster because the cluster label is the same, but because two clusters have the same name in different namespaces it does not mean they belong together.

Environment

None

is cloned by

Activity

Show:

Bhanu Naidu 13 hours ago

Posting this update as per Daniel’s request. We deployed 1 managed cluster (Namespace 1 & Cluster 1)and 2 unmanaged clusters (Namespace 2 & Cluster 2 and Namespace 3 & Cluster 3 )as part of our 3 node replica set deployment. In PMM, I see Cluster 1, cluster 2 and cluster 3 as 3 different projects even though they are part of same replica set. Ideally all 3 clusters should be bundle together as one PMM project.

peter.szczepaniak March 24, 2025 at 11:52 AM

I like customClusterName: cluster-XXX more

Details

Assignee

Reporter

Needs QA

Yes

Fix versions

Priority

Smart Checklist

Created March 20, 2025 at 8:39 PM
Updated 13 hours ago