You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "duchen (Jira)" <ji...@apache.org> on 2020/01/19 05:48:00 UTC
[jira] [Comment Edited] (FLINK-15654) Expose podIP for Containers
by Environment Variables
[ https://issues.apache.org/jira/browse/FLINK-15654?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17018795#comment-17018795 ]
duchen edited comment on FLINK-15654 at 1/19/20 5:47 AM:
---------------------------------------------------------
Could assign this ticket for me ?[~felixzheng]
was (Author: duchen):
Could assign this ticket for me ?
> Expose podIP for Containers by Environment Variables
> ----------------------------------------------------
>
> Key: FLINK-15654
> URL: https://issues.apache.org/jira/browse/FLINK-15654
> Project: Flink
> Issue Type: New Feature
> Components: Deployment / Kubernetes
> Reporter: Canbin Zheng
> Priority: Major
>
> Expose IP information of a Pod for its containers to use.
>
> {code:java}
> new ContainerBuilder()
> .addNewEnv()
> .withName(ENV_JOBMANAGER_BIND_ADDRESS)
> .withValueFrom(new EnvVarSourceBuilder()
> .withNewFieldRef("v1", "status.podIP")
> .build())
> .endEnv()
> {code}
>
--
This message was sent by Atlassian Jira
(v8.3.4#803005)