You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Till Rohrmann (Jira)" <ji...@apache.org> on 2020/10/09 12:39:00 UTC
[jira] [Closed] (FLINK-11798) Incorrect Kubernetes Documentation
[ https://issues.apache.org/jira/browse/FLINK-11798?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Till Rohrmann closed FLINK-11798.
---------------------------------
Resolution: Done
This issue should be fixed via FLINK-17160.
> Incorrect Kubernetes Documentation
> ----------------------------------
>
> Key: FLINK-11798
> URL: https://issues.apache.org/jira/browse/FLINK-11798
> Project: Flink
> Issue Type: Bug
> Components: Deployment / Kubernetes
> Affects Versions: 1.7.2
> Reporter: Pritesh Patel
> Assignee: Alex
> Priority: Major
>
> I have been trying to use the kubernetes session cluster manifests provided in the documentation. The -Dtaskmanager.host flag doesn't seem to pass through, meaning it uses the pod name as the host name. This wont work.
> The current docs state the args should be:
>
> {code:java}
> args:
> - taskmanager
> - "-Dtaskmanager.host=$(K8S_POD_IP)"
> {code}
>
> I did manage to get it to work by using this manifest for the taskmanager instead. This did waste alot of time as it was very hard to find.
> {code:java}
> args:
> - taskmanager.sh
> - -Dtaskmanager.host=$(K8S_POD_IP)
> - -Djobmanager.rpc.address=$(JOB_MANAGER_RPC_ADDRESS)
> {code}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)