[ 
https://issues.apache.org/jira/browse/FLINK-29194?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Matyas Orhidi updated FLINK-29194:
----------------------------------
    Description: 
For auditing/debugging purposes the operator needs a way to report the emitted 
events / status updates in the logs:

{{Event  | Info    | SpecChanged     | UPGRADE change(s) detected 
(FlinkDeploymentSpec[image=flink:1.15,restartNonce=<null>] differs from 
FlinkDeploymentSpec[image=flink:1.15asdf,restartNonce=123]), starting 
reconciliation.}}
{{Event  | Info    | Suspended       | Suspending existing deployment.}}
{{Status | Info    | UPGRADING       | The resource is being upgraded }}
{{Status | Info    | UPGRADING       | The resource is being upgraded }}
{{Event  | Info    | Submit          | Starting deployment}}
{{Status | Info    | DEPLOYED        | The resource is deployed/submitted to 
Kubernetes, but it’s not yet considered to be stable and might be rolled back 
in the future }}
{{Status | Info    | DEPLOYED        | The resource is deployed/submitted to 
Kubernetes, but it’s not yet considered to be stable and might be rolled back 
in the future }}
{{Event  | Info    | StatusChanged   | Job status changed from RECONCILING to 
CREATED}}
{{Status | Info    | DEPLOYED        | The resource is deployed/submitted to 
Kubernetes, but it’s not yet considered to be stable and might be rolled back 
in the future }}
{{Event  | Info    | StatusChanged   | Job status changed from CREATED to 
RUNNING}}
{{Status | Info    | STABLE          | The resource deployment is considered to 
be stable and won’t be rolled back }}

  was:
For auditing/debugging purposes the operator needs a way to report the emitted 
events / status updates in the logs:

{{[DEBUG] [default.basic-example] Event  | Info    | SpecChanged     | UPGRADE 
change(s) detected (FlinkDeploymentSpec[image=flink:1.15,restartNonce=<null>] 
differs from FlinkDeploymentSpec[image=flink:1.15asdf,restartNonce=123]), 
starting reconciliation.}}
{{[DEBUG] [default.basic-example] Event  | Info    | Suspended       | 
Suspending existing deployment.}}
{{[DEBUG] [default.basic-example] Status | Info    | UPGRADING       | The 
resource is being upgraded }}
{{[DEBUG] [default.basic-example] Status | Info    | UPGRADING       | The 
resource is being upgraded }}
{{[DEBUG] [default.basic-example] Event  | Info    | Submit          | Starting 
deployment}}
{{[DEBUG] [default.basic-example] Status | Info    | DEPLOYED        | The 
resource is deployed/submitted to Kubernetes, but it’s not yet considered to be 
stable and might be rolled back in the future }}
{{[DEBUG] [default.basic-example] Status | Info    | DEPLOYED        | The 
resource is deployed/submitted to Kubernetes, but it’s not yet considered to be 
stable and might be rolled back in the future }}
{{[DEBUG] [default.basic-example] Event  | Info    | StatusChanged   | Job 
status changed from RECONCILING to CREATED}}
{{[DEBUG] [default.basic-example] Status | Info    | DEPLOYED        | The 
resource is deployed/submitted to Kubernetes, but it’s not yet considered to be 
stable and might be rolled back in the future }}
{{[DEBUG] [default.basic-example] Event  | Info    | StatusChanged   | Job 
status changed from CREATED to RUNNING}}
{{[DEBUG] [default.basic-example] Status | Info    | STABLE          | The 
resource deployment is considered to be stable and won’t be rolled back }}


> Add LoggingResourceListener as default
> --------------------------------------
>
>                 Key: FLINK-29194
>                 URL: https://issues.apache.org/jira/browse/FLINK-29194
>             Project: Flink
>          Issue Type: New Feature
>          Components: Deployment / Kubernetes
>            Reporter: Matyas Orhidi
>            Priority: Major
>             Fix For: kubernetes-operator-1.2.0
>
>
> For auditing/debugging purposes the operator needs a way to report the 
> emitted events / status updates in the logs:
> {{Event  | Info    | SpecChanged     | UPGRADE change(s) detected 
> (FlinkDeploymentSpec[image=flink:1.15,restartNonce=<null>] differs from 
> FlinkDeploymentSpec[image=flink:1.15asdf,restartNonce=123]), starting 
> reconciliation.}}
> {{Event  | Info    | Suspended       | Suspending existing deployment.}}
> {{Status | Info    | UPGRADING       | The resource is being upgraded }}
> {{Status | Info    | UPGRADING       | The resource is being upgraded }}
> {{Event  | Info    | Submit          | Starting deployment}}
> {{Status | Info    | DEPLOYED        | The resource is deployed/submitted to 
> Kubernetes, but it’s not yet considered to be stable and might be rolled back 
> in the future }}
> {{Status | Info    | DEPLOYED        | The resource is deployed/submitted to 
> Kubernetes, but it’s not yet considered to be stable and might be rolled back 
> in the future }}
> {{Event  | Info    | StatusChanged   | Job status changed from RECONCILING to 
> CREATED}}
> {{Status | Info    | DEPLOYED        | The resource is deployed/submitted to 
> Kubernetes, but it’s not yet considered to be stable and might be rolled back 
> in the future }}
> {{Event  | Info    | StatusChanged   | Job status changed from CREATED to 
> RUNNING}}
> {{Status | Info    | STABLE          | The resource deployment is considered 
> to be stable and won’t be rolled back }}



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

Reply via email to