flink-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Pritesh Patel (JIRA)" <j...@apache.org>
Subject [jira] [Created] (FLINK-11798) Incorrect Kubernetes Documentation
Date Sun, 03 Mar 2019 09:10:00 GMT
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:

- taskmanager 
- "-Dtaskmanager.host=$(K8S_POD_IP)"

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.

- taskmanager.sh
- -Dtaskmanager.host=$(K8S_POD_IP)
- -Djobmanager.rpc.address=$(JOB_MANAGER_RPC_ADDRESS) 

This message was sent by Atlassian JIRA

View raw message