vsantwana opened a new pull request, #1237:
URL: https://github.com/apache/flink-kubernetes-operator/pull/1237
## What is the purpose of the change
Right now, after a savepoint suspend without HA, the operator keeps the
JobManager running for `jm-deployment.shutdown-ttl` (a day by default). If it
restarts in that time, it runs the job again as it was first deployed,
duplicating data while the resource still shows SUSPENDED. This PR deletes the
JobManager deployment on suspend when HA is disabled, like the stateless and
last-state suspends already do.
## Verifying this change
Extended an existing unit test to cover suspending with and without HA.
## 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: yes (the
suspend path of application deployments)
## Documentation
- Does this pull request introduce a new feature? no
- If yes, how is the feature documented? not applicable
---
##### Was generative AI tooling used to co-author this PR?
- [X] Yes (please specify the tool below)
Generated-by: Claude Code (Claude Opus 5.5)
--
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]