[ 
https://issues.apache.org/jira/browse/SUBMARINE-1232?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

cdmikechen updated SUBMARINE-1232:
----------------------------------
    Description: 
At present, the resources provided by submarine lack some labels that can 
indicate the resource type, component, version, etc. it is suggested to add 
some labels to the existing resources to distinguish them. This is very useful 
for get, list or group when there are many resources in a namespace.

Reference link:
* Recommended label: 
https://kubernetes.io/zh/docs/concepts/overview/working-with-objects/common-labels/
* prometheus-operator label:  
https://github.com/prometheus-community/helm-charts/blob/main/charts/kube-prometheus-stack/templates/_helpers.tpl#L48

  was:
At present, the resources provided by submarine lack some labels that can 
indicate the resource type, component, version, etc. it is suggested to add 
some labels to the existing resources to distinguish them. This is very useful 
for get, list or group when there are many resources in a namespace.

Reference link:
* 推荐使用的标签: 
https://kubernetes.io/zh/docs/concepts/overview/working-with-objects/common-labels/
* prometheus-operator label:  
https://github.com/prometheus-community/helm-charts/blob/main/charts/kube-prometheus-stack/templates/_helpers.tpl#L48


> Add common labels to Helm/Operator/Deployments Resources
> --------------------------------------------------------
>
>                 Key: SUBMARINE-1232
>                 URL: https://issues.apache.org/jira/browse/SUBMARINE-1232
>             Project: Apache Submarine
>          Issue Type: Improvement
>            Reporter: cdmikechen
>            Priority: Major
>             Fix For: 0.8.0
>
>
> At present, the resources provided by submarine lack some labels that can 
> indicate the resource type, component, version, etc. it is suggested to add 
> some labels to the existing resources to distinguish them. This is very 
> useful for get, list or group when there are many resources in a namespace.
> Reference link:
> * Recommended label: 
> https://kubernetes.io/zh/docs/concepts/overview/working-with-objects/common-labels/
> * prometheus-operator label:  
> https://github.com/prometheus-community/helm-charts/blob/main/charts/kube-prometheus-stack/templates/_helpers.tpl#L48



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to