salvalcantara opened a new pull request, #1230:
URL: https://github.com/apache/flink-kubernetes-operator/pull/1230
## What is the purpose of the change
Adds an opt-in autoscaler policy that applies the highest recommended scale
factor within each slot sharing group. By default, the policy only proceeds
when the estimated TaskManager replica count changes.
## Brief change log
- Adds configuration options for the per-slot-sharing-group scaling policy
and its TaskManager replica change requirement:
```yaml
job.autoscaler.scaling.max-scale-factor-per-slot-sharing-group.enabled:
"true"
job.autoscaler.scaling.max-scale-factor-per-slot-sharing-group.taskmanager-replicas-change-required:
"true"
```
- Applies the policy through the existing autoscaler scaling flow
- Documents the new options and behavior
and applies the policy through the existing scaling flow.
## Verifying this change
This change added tests and can be verified as follows:
- Ran `mvn -pl flink-autoscaler test` successfully.
## 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`:
no
- Core observer or reconciler logic that is regularly executed: no
## Documentation
- Does this pull request introduce a new feature? yes
- If yes, how is the feature documented? docs
---
##### Was generative AI tooling used to co-author this PR?
- [X] Yes
Generated-by: Codex (GPT-6)
--
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]