yuanfenghu created FLINK-37126:
----------------------------------

             Summary: Add Validator for Autoscler
                 Key: FLINK-37126
                 URL: https://issues.apache.org/jira/browse/FLINK-37126
             Project: Flink
          Issue Type: Improvement
          Components: Autoscaler
            Reporter: yuanfenghu


If the configured Autoscaler config is incorrect, it can be detected in advance 
in flink-kubernetes-operator. However, if an independent version of Autoscaler 
is used, it cannot be actively detected. We need to extract the Autoscaler 
Validator and use it in the independent version of Autoscaler. 
 
When incorrect configurations are discovered, they are reported through events 
to avoid submitting them to scale and generating a large number of exceptions.
{quote}eventType -> Warning

reason -> AutoScalerValidation

message-> [validationError] example:  `The AutoScalerOption %s is invalid, it 
should be a value within the range [%s, %s]`
{quote}
 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to