morhidi opened a new pull request, #363:
URL: https://github.com/apache/flink-kubernetes-operator/pull/363

   ## What is the purpose of the change
   
   Being able to tell what status updates and events are being sent via the 
ResourceListener interfaces. It allow to easily tail/grep related messages 
reported under a specific resource.
   
   ## Brief change log
   - Added `Unified logging for StatusRecorder/EventRecorder`
   - Added `description for ResourceLifecycleState`
   - Minor fix in EventRecorded to avoid creating redundant `ctx` objects if 
multiple ResourceListeners are registered.
   ## Verifying this change
   
   Manual verification:
   ```
   2022-09-06 13:19:47,920 o.a.f.k.o.l.ListenerUtils      [INFO ] 
[default.basic-example] >>> Status | Info    | UPGRADING       | The resource 
is being upgraded 
   2022-09-06 13:19:48,030 o.a.f.k.o.l.ListenerUtils      [INFO ] 
[default.basic-example] >>> Event  | Info    | Submit          | Starting 
deployment
   2022-09-06 13:19:48,672 o.a.f.k.o.l.ListenerUtils      [INFO ] 
[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 
   2022-09-06 13:19:52,700 o.a.f.k.o.l.ListenerUtils      [INFO ] 
[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 
   2022-09-06 13:20:02,857 o.a.f.k.o.l.ListenerUtils      [INFO ] 
[default.basic-example] >>> Event  | Info    | StatusChanged   | Job status 
changed from RECONCILING to RUNNING
   2022-09-06 13:20:02,927 o.a.f.k.o.l.ListenerUtils      [INFO ] 
[default.basic-example] >>> Status | Info    | STABLE          | The resource 
deployment is considered to be stable and won’t be rolled back 
   
   ```
   ## Does this pull request potentially affect one of the following parts:
     - Dependencies (does it add or upgrade a dependency): no
     - The public API, i.e., is any changes to the `CustomResourceDescriptors`: 
no
     - Core observer or reconciler logic that is regularly executed: no
   
   ## Documentation
     - Does this pull request introduce a new feature? no
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to