Shutting down your Flink job
In general, Flink Jobs can be shut down gracefully via Flink's "stop" command and ungracefully via Flink's "cancel" command.
A graceful stop with snapshotting the current state can be done by creating the final Savepoint.
_3$ rok create savepoint --job my-job --type Final --shutdown-method Graceful my-job-final-savepoint_3_3✔ Savepoint "my-job-final-savepoint" has been created.
To cancel the underlying Flink job you need to delete the Job Resource.
_3$ rok delete -f job.yaml_3_3✔ Job "my-job" has been deleted.
_3$ rok delete job my-job_3_3✔ Job "my-job" has been deleted.