zncdatadev / trino-operator

Operator for Trino, the distributed SQL query engine for big data
Apache License 2.0
3 stars 5 forks source link

[Feature]: Update the label strategy to the latest version #92

Closed lwpk110 closed 1 month ago

lwpk110 commented 4 months ago

Summary πŸ’‘

The current labeling strategy applied by the operator needs to be updated to align with the latest operator recommendations. The existing labels :

need to be replaced by :

and a new label "app.kubernetes.io/role-group" (role group name) added.

Examples 🌈

For a resource instance "trinocluster-sample" of role "coordinator" managed by group "trino.zncdata.dev", the labels would change from:

To:

Motivation πŸ”¦

Updating to the current labeling recommendations allows resources to be more easily discovered, managed and automated according to Kubernetes upstream practices. This ensures the operator's labels are aligned with evolving industry standards.