open-cluster-management-io / ocm

Core components in the OCM project. Report here if you found any issues in OCM.
https://open-cluster-management.io
Apache License 2.0
714 stars 87 forks source link

Support ClusterLabels #269

Open aii-nozomu-oki opened 10 months ago

aii-nozomu-oki commented 10 months ago

Describe the enhancement I would like to manage ManagedCluster using labels. Currently, this is possible through, for example, kubectl label, but it would be useful to accomplish this through an OCM ecosystem such as clusteradm.

Related issues/pull requests: https://github.com/open-cluster-management-io/registration/issues/225 https://github.com/open-cluster-management-io/api/pull/252 https://github.com/open-cluster-management-io/ocm/pull/234

qiujian16 commented 9 months ago

Do you intend to allow setting the label of the cluster when the first bootstrap?

aii-nozomu-oki commented 9 months ago

Yes, what I finally want is clusteradm join --cluster-labels=[key=value]. To accomplish just that, maybe support at the API level is not needed.

qiujian16 commented 9 months ago

cc @xuezhaojun

github-actions[bot] commented 5 months ago

This issue is stale because it has been open for 120 days with no activity. After 14 days of inactivity, it will be closed. Remove the stable label to prevent this issue from being closed.

github-actions[bot] commented 1 month ago

This issue is stale because it has been open for 120 days with no activity. After 14 days of inactivity, it will be closed. Remove the stable label to prevent this issue from being closed.