Xin Hao created FLINK-29465: ------------------------------- Summary: Supports limit factor in the resource definition Key: FLINK-29465 URL: https://issues.apache.org/jira/browse/FLINK-29465 Project: Flink Issue Type: Improvement Components: Kubernetes Operator Reporter: Xin Hao
Can we add limit factor supports in the resource definition? {code:java} public class Resource { /** Amount of CPU allocated to the pod. */ private Double cpu; private double cpuLimitFactor; /** Amount of memory allocated to the pod. Example: 1024m, 1g */ private String memory; private double memoryLimitFactor; } {code} We can set the defaults as `1.0`, and update them to K8s config options {code:java} JOB_MANAGER_CPU_LIMIT_FACTOR JOB_MANAGER_MEMORY_LIMIT_FACTOR TASK_MANAGER_CPU_LIMIT_FACTOR TASK_MANAGER_MEMORY_LIMIT_FACTOR {code} -- This message was sent by Atlassian Jira (v8.20.10#820010)