You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@flink.apache.org by "David Maddison (Jira)" <ji...@apache.org> on 2022/07/08 17:01:00 UTC

[jira] [Commented] (FLINK-27893) Add additionalPrinterColumns for Job Status and Reconciliation Status in CRDs

    [ https://issues.apache.org/jira/browse/FLINK-27893?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17564362#comment-17564362 ] 

David Maddison commented on FLINK-27893:
----------------------------------------

I do agree that the JobState reflects a point in time value and therefore may miss state changes that happen in between the reconcile schedule (i.e. a Job changing RUNNING -> RESTARTING -> RUNNING) however, it's still potentially useful information that is not reflected elsewhere. 

Other useful information would be the Flink Version, Upgrade Mode and Savepoint the job last started from, i.e.
{code:java}
NAME                          STATE     FLINK    MODE        SAVEPOINT
basic-checkpoint-ha-example   RUNNING   1.15.0   savepoint   file:/mnt/flink/savepoints/savepoint-000000-081fd2030040
basic-example                 RUNNING   1.15.0   stateless{code}
 

> Add additionalPrinterColumns for Job Status and Reconciliation Status in CRDs
> -----------------------------------------------------------------------------
>
>                 Key: FLINK-27893
>                 URL: https://issues.apache.org/jira/browse/FLINK-27893
>             Project: Flink
>          Issue Type: Improvement
>          Components: Kubernetes Operator
>            Reporter: Jeesmon Jacob
>            Assignee: Jeesmon Jacob
>            Priority: Major
>
> Right now only columns available when you run "kubectl get flinkdeployment" is NAME and AGE. It is beneficial to see the .status.jobStatus.State and .status.ReconciliationStatus.State as additionalPrintColumns in CRD. It will be beneficial for automation to use those columns for status reporting.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)