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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Shang Yuanchun (Jira)
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)