I want to use the new "sidecar" feature to monitor a container started in a job. The goal is to monitor the main container stdout and react to its completion.
For the last part I want to use something like a hook to send a event to the sidecar when the main container have completed (send an email with the logs, move some files, etc.).
Do you guys have some ideas to do that?