Kevin Lam
02/28/2023, 6:29 PM* When HA is enabled theI'm wondering about the unhealthy state because I'm observing an issue where the operator won't take a new savepoint whenupgrade mode may fall back to thesavepointbehaviour in cases where the job is in an unhealthy state.last-state
savepointTriggerNonce is updated, or when a FlinkDeployment spec is changed and the upgradeMode is set to savepoint . Any help is appreciated!Kevin Lam
02/28/2023, 6:32 PMKevin Lam
02/28/2023, 7:13 PMKevin Lam
02/28/2023, 7:13 PMGyula F贸ra
02/28/2023, 7:29 PMGyula F贸ra
02/28/2023, 7:29 PMKevin Lam
02/28/2023, 9:13 PMupgradeMode: savepoint and kubernetes.operator.job.upgrade.last-state-fallback.enabled: false
there are these logs in the operator:
2023-02-28 18:46:42,779 o.a.f.k.o.r.d.AbstractFlinkResourceReconciler [INFO ][redacted] UPGRADE change(s) detected (FlinkDeploymentSpec[job.upgradeMode=SAVEPOINT,flinkConfiguration.web.timeout=1800000] differs from FlinkDeploymentSpec[job.upgradeMode=STATELESS,flinkConfiguration.web.timeout=1800001]), starting reconciliation.
2023-02-28 18:46:42,793 o.a.f.k.o.l.AuditUtils [INFO ][redacted] >>> Event | Info | SPECCHANGED | UPGRADE change(s) detected (FlinkDeploymentSpec[job.upgradeMode=SAVEPOINT,flinkConfiguration.web.timeout=1800000] differs from FlinkDeploymentSpec[job.upgradeMode=STATELESS,flinkConfiguration.web.timeout=1800001]), starting reconciliation.
2023-02-28 18:46:42,793 o.a.f.k.o.r.d.AbstractJobReconciler [INFO ][redacted] Upgrading/Restarting running job, suspending first...
2023-02-28 18:46:42,794 o.a.f.k.o.r.d.ApplicationReconciler [INFO ][redacted] Job is not running and HA metadata is not available or usable for executing the upgrade, waiting for upgradeable state
How does the operator make the FlinkDeployment transition to Running state?Kevin Lam
02/28/2023, 9:16 PMWhat is the status of the deployment ?Status of FlinkDeployment is RECONCILING (job status) and DEPLOYED (reconciliation status)
Kevin Lam
02/28/2023, 9:19 PMGyula F贸ra
02/28/2023, 9:23 PMKevin Lam
02/28/2023, 9:29 PMKevin Lam
02/28/2023, 9:42 PMGyula F贸ra
02/28/2023, 9:46 PM