You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "Fuyao Li (Jira)" <ji...@apache.org> on 2022/04/19 20:11:00 UTC

[jira] [Created] (FLINK-27314) Enable active resource management (reactive scaling) in Flink Kubernetes Operator

Fuyao Li created FLINK-27314:
--------------------------------

             Summary: Enable active resource management (reactive scaling) in Flink Kubernetes Operator
                 Key: FLINK-27314
                 URL: https://issues.apache.org/jira/browse/FLINK-27314
             Project: Flink
          Issue Type: New Feature
            Reporter: Fuyao Li


Generally, this task is a low priority task now.

Flink has some system level Flink metrics, Flink kubernetes operator can detect these metrics and rescale automatically based checkpoint(similar to standalone reactive mode) and rescale policy configured by users.

The rescale behavior can be based on CPU utilization or memory utilization.
 # Before rescaling, Flink operator should check whether the cluster has enough resources, if not, the rescaling will be aborted.
 # We can create a addition field to support this feature. The fields below is just a rough suggestion.

{code:java}
reactiveScaling:
  enabled: boolean
  scaleMetric:  enum ["CPU", "MEM"]
    scaleDownThreshold:
    scaleUpThreshold:
    minimumLimit:
    maximumLimit:
    increasePolicy: <increase/decrease exponentially or linearly..>
<some other timeout configuration...>{code}
 



--
This message was sent by Atlassian Jira
(v8.20.7#820007)