Matyas Orhidi created FLINK-29194:
-------------------------------------

             Summary: 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
             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:

{{[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 }}



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

Reply via email to