flinkk8soperator icon indicating copy to clipboard operation
flinkk8soperator copied to clipboard

transfer a running job to flinkk8soperator

Open nealsun opened this issue 5 years ago • 2 comments

Is it possible to tranfer a running flink job to flinkk8soperator seamlessly, especially recover from a savepoint?

nealsun avatar Aug 26 '19 08:08 nealsun

Hi @nealsun,

Thanks for the question. In order to migrate a Flink job to run on flinkk8soperator, you can update the SavepointInfo section of the CRD with a SavepointLocation.

Code: https://github.com/lyft/flinkk8soperator/blob/ba1533b757c2ef5c541443df6d08ed5be069f163/pkg/apis/app/v1beta1/types.go#L125

Example:

spec:
  savepointInfo:
     savepointLocation: <INSERT SAVEPOINT PATH HERE>

glaksh100 avatar Aug 26 '19 18:08 glaksh100

ok, I will have a try.

nealsun avatar Aug 27 '19 04:08 nealsun