Closed
Description
When deploying for example a PyTorchJob using an AppWrapper, the AppWrapper controller monitors the pods but not the PyTorchJob itself. We should consider extending the monitoring to the AppWrapper's components, in particular detection the deletion of these components, and responding to the deletion by undeploying other components if any, releasing the quota, and reporting the AppWrapper status. This may require a setting to opt-in (or opt-out) from this monitoring separately from the monitoring of the pods.