You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "ConradJam (Jira)" <ji...@apache.org> on 2022/07/24 07:33:00 UTC

[jira] [Commented] (FLINK-28615) Add K8s recommend labels to the deployments, services created by operator

    [ https://issues.apache.org/jira/browse/FLINK-28615?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17570425#comment-17570425 ] 

ConradJam commented on FLINK-28615:
-----------------------------------

I think we can can add this  label in helm flink-operator.yaml to delopy flink k8s operator,for example

 

 
{code:java}
metadata:
  labels:
    app.kubernetes.io/name: flink-k8s-operator
    app.kubernetes.io/instance: flink-k8s-operator
    app.kubernetes.io/version: "1.1.0"
    app.kubernetes.io/component: operator
    app.kubernetes.io/part-of: flink
    app.kubernetes.io/managed-by: helm
    app.kubernetes.io/created-by: controller-manager {code}
 

 

[~haoxin] [~gyfora] what do you think ?if assign this suggest, will edit flink-operator.yaml add this labels

> Add K8s recommend labels to the deployments, services created by operator
> -------------------------------------------------------------------------
>
>                 Key: FLINK-28615
>                 URL: https://issues.apache.org/jira/browse/FLINK-28615
>             Project: Flink
>          Issue Type: Improvement
>          Components: Kubernetes Operator
>            Reporter: Xin Hao
>            Priority: Minor
>
> I'm using the Flink operator with Argo CD, it will be nice if we can add the K8s recommend labels to the deployments and services. Such as:
> {code:java}
> labels:    
>   app.kubernetes.io/managed-by: apache-flink-operator    
>   app.kubernetes.io/part-of: flink-session-cluster-a {code}
> With this, the users can see all the resources created by FlinkDeployment in the Argo CD Web UI
>  
> See also:
> [https://kubernetes.io/docs/concepts/overview/working-with-objects/common-labels/#labels]



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