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) <[email protected]>
发送时间: 2023年1月12日 16:28
收件人: user <[email protected]>
主题: 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