You are viewing a plain text version of this content. The canonical link for it is here.
Posted to user@flink.apache.org by "Liting Liu (litiliu)" <li...@cisco.com> on 2023/01/12 09:16:23 UTC
回复: How to specify both the resource limit and resource request for JM/TM in flink-operator
Seems i can achieve this by specify the "kubernetes.jobmanager.cpu.limit-factor" and "kubernetes.taskmanager.cpu.limit-factor" in flink properties. Those parameter are supported since flink 1.15
________________________________
发件人: Liting Liu (litiliu) <li...@cisco.com>
发送时间: 2023年1月12日 16:28
收件人: user <us...@flink.apache.org>
主题: How to specify both the resource limit and resource request for JM/TM in flink-operator
Hi, community. I wonder how can i specify both the resource request and limit for JM/TM in the podTemplate using flink-operator? We have the need to set the request resource and limit resource to different value.
For example:
jobManager:
limits:
cpu: 500m
memory: 500Mi
requests:
cpu: 1000m
memory: 1024Mi
taskManager:
limits:
cpu: 500m
memory: 1024Mi
requests:
cpu: 1000m
memory: 2048Mi