Barisa created FLINK-29391:
------------------------------

             Summary: Add option to set labels and annotations in kubernetes 
deployment
                 Key: FLINK-29391
                 URL: https://issues.apache.org/jira/browse/FLINK-29391
             Project: Flink
          Issue Type: Improvement
          Components: Kubernetes Operator
            Reporter: Barisa


Using 
[https://nightlies.apache.org/flink/flink-kubernetes-operator-docs-main/docs/custom-resource/pod-template/,|https://nightlies.apache.org/flink/flink-kubernetes-operator-docs-main/docs/custom-resource/pod-template/]
 , it is quite easy to to set any configuration, containers, volumes in the 
pods.

 

However, I have a requirement to be able to set annotations and labels directly 
on the kubernetes deployments, which manage taskamanger/jobmanager pods.

 

In example
{noformat}
kc describe deployment basic-example
Name:                   basic-example
Namespace:              zonda
CreationTimestamp:      Thu, 22 Sep 2022 10:54:30 +0100
Labels:                 app=basic-example
                        component=jobmanager
                        type=flink-native-kubernetes
Annotations:            deployment.kubernetes.io/revision: 1
                        flinkdeployment.flink.apache.org/generation: 2
{noformat}



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

Reply via email to