[jira] [Created] (FLINK-16111) Kubernetes deployment does not respect "taskmanager.cpu.cores".

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

[jira] [Created] (FLINK-16111) Kubernetes deployment does not respect "taskmanager.cpu.cores".

Shang Yuanchun (Jira)
Xintong Song created FLINK-16111:
------------------------------------

             Summary: Kubernetes deployment does not respect "taskmanager.cpu.cores".
                 Key: FLINK-16111
                 URL: https://issues.apache.org/jira/browse/FLINK-16111
             Project: Flink
          Issue Type: Bug
          Components: Deployment / Kubernetes
    Affects Versions: 1.10.0
            Reporter: Xintong Song
             Fix For: 1.10.1, 1.11.0


The Kubernetes deployment usesĀ `kubernetes.taskmanager.cpu` for configuring TM cpu cores, and will fallback to number-of-slots if not specified.

FLINK-14188 introduced a common option `taskmanager.cpu.cores` (ATM not exposed to users and for internal usage only). A common logic is to decide the TM cpu cores following the fallback order of "common option -> K8s/Yarn/Mesos specific option -> numberOfSlot".

The above fallback rules are not respected by the Kubernetes deployment.



--
This message was sent by Atlassian Jira
(v8.3.4#803005)