You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Yang Wang (Jira)" <ji...@apache.org> on 2021/01/25 09:46:00 UTC
[jira] [Commented] (FLINK-15648) Support to configure limit for CPU
requirement
[ https://issues.apache.org/jira/browse/FLINK-15648?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17271200#comment-17271200 ]
Yang Wang commented on FLINK-15648:
-----------------------------------
I have to revive this stale ticket since our users also have same the requirement now.
After a little more consideration, I believe introducing a ratio or factor is more reasonable. Just like [~xintongsong] said, if the requested cpu is 2.0 and ratio is 1.5, then we will set the limit to 3.0.
Please note that the ratio should be greater than 1 since the cpu limit is required to be greater than the request cpu.
> Support to configure limit for CPU requirement
> ----------------------------------------------
>
> Key: FLINK-15648
> URL: https://issues.apache.org/jira/browse/FLINK-15648
> Project: Flink
> Issue Type: Sub-task
> Components: Deployment / Kubernetes
> Reporter: Canbin Zheng
> Assignee: Canbin Zheng
> Priority: Major
> Labels: pull-request-available
> Fix For: 1.13.0
>
> Time Spent: 10m
> Remaining Estimate: 0h
>
> The current branch use kubernetes.xx.cpu to configure request and limit resource requirement for a Container, it's an important improvement to separate these two configurations, we can use kubernetes.xx.request.cpu and kubernetes.xx.limit.cpu to specify request and limit resource requirements.{color:#6a8759}
> {color}
--
This message was sent by Atlassian Jira
(v8.3.4#803005)