You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@flink.apache.org by "Tamir Sagi (Jira)" <ji...@apache.org> on 2023/02/13 16:42:00 UTC

[jira] [Created] (FLINK-31046) Support Extra environment variables from field ref

Tamir Sagi created FLINK-31046:
----------------------------------

             Summary: Support Extra environment variables from field ref
                 Key: FLINK-31046
                 URL: https://issues.apache.org/jira/browse/FLINK-31046
             Project: Flink
          Issue Type: Improvement
          Components: Kubernetes Operator
    Affects Versions: kubernetes-operator-1.4.0
            Reporter: Tamir Sagi


The operator should provide several environment variables that are available only upon deployment

 

hostIP which is taken from fieldRef status.hostIP

podIP which is taken from FieldRef status.podIP

 

Example
Namespace is provided

[https://github.com/apache/flink-kubernetes-operator/blob/main/helm/flink-kubernetes-operator/templates/flink-operator.yaml#L81-L84]

 



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