[
https://issues.apache.org/jira/browse/FLINK-31046?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tamir Sagi updated FLINK-31046:
-------------------------------
Description:
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
podName which is taken from fieldRef metadata.name
Example
Namespace is provided
[https://github.com/apache/flink-kubernetes-operator/blob/main/helm/flink-kubernetes-operator/templates/flink-operator.yaml#L81-L84]
!image-2023-02-16-16-49-25-688.png!
was:
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
podName which is taken from fieldRef metadata.name
Example
Namespace is provided
[https://github.com/apache/flink-kubernetes-operator/blob/main/helm/flink-kubernetes-operator/templates/flink-operator.yaml#L81-L84]
Tested It locally.
!image-2023-02-16-16-49-25-688.png!
> Provide 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
> Reporter: Tamir Sagi
> Priority: Major
> Labels: flink-kubernetes-operator, pull-request-available
> Attachments: image-2023-02-16-16-49-25-688.png
>
>
> 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
> podName which is taken from fieldRef metadata.name
>
> Example
> Namespace is provided
> [https://github.com/apache/flink-kubernetes-operator/blob/main/helm/flink-kubernetes-operator/templates/flink-operator.yaml#L81-L84]
> !image-2023-02-16-16-49-25-688.png!
>
--
This message was sent by Atlassian Jira
(v8.20.10#820010)