gyfora opened a new pull request, #928:
URL: https://github.com/apache/flink-kubernetes-operator/pull/928
## What is the purpose of the change
The main purpose is to allow users to easily and explicitly clear all
autoscaler state and parallelism overrides.
Currently users need to toggle the autoscaler on/off to clear the
parallelism settings which relies on implicit internal behaviour and is not
always easy to execute safely. Unfortunately the on-off workaround requires 2
spec changes which need to be submitted carefully one after the other as the
operator may only look at the 2nd one and then nothing happens.
## Brief change log
- *Add autoscalerResetNonce to jobSpec*
- *Tests*
## Verifying this change
New unit tests have been added to cover the reset logic
## Does this pull request potentially affect one of the following parts:
- Dependencies (does it add or upgrade a dependency): no
- The public API, i.e., is any changes to the `CustomResourceDescriptors`:
yes
- Core observer or reconciler logic that is regularly executed: yes
## Documentation
- Does this pull request introduce a new feature? yes
- If yes, how is the feature documented? JavaDocs
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]