[
https://issues.apache.org/jira/browse/FLINK-37126?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Gyula Fora closed FLINK-37126.
------------------------------
Fix Version/s: kubernetes-operator-1.14.0
Resolution: Fixed
merged to main 84c76839591d7b49ed17a85cbc784d850093b407
> 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
> Assignee: yuanfenghu
> Priority: Minor
> Labels: pull-request-available
> Fix For: kubernetes-operator-1.14.0
>
>
> 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)