You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Pritesh Patel (JIRA)" <ji...@apache.org> on 2019/03/03 09:10:00 UTC

[jira] [Created] (FLINK-11798) Incorrect Kubernetes Documentation

Pritesh Patel created FLINK-11798:
-------------------------------------

             Summary: 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


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
(v7.6.3#76005)