blublinsky commented on pull request #14591:
URL: https://github.com/apache/flink/pull/14591#issuecomment-769119537
"_Why is the owner reference only set for JobManager. Are other resources
guaranteed to be cleaned up? We might want to make it more explicit that
"delete the actual cluster" means all resources are cleaned up."_
Owner reference will ensure deletion of Job manager deployment. Deployment
deletion will trigger all instances of Job manager. Job manager deletion will
delete all of the Task managers that it controls. As a result deletion of the
Job manager deployment leads to deletion of the cluster and setting owner
reference on Job manager deployment is sufficient for controlled deletion of
the cluster
_How exactly to use the configuration option. I would suggest to add an
example (with multiple owner references)._
Example of setting owner reference looks like following:
-Dkubernetes.jobmanager.owner.reference="apiversion":"cloudflow.io/v1beta1",
"blockownerdeletion":"true","controller":"true","kind":"FlinkApplication","name:"testapp","uid":"e3c9aa3f-cc42-4178-814a-64aa15c82373"
Currently multiple owner reference is not supported. It can be added, but
there is not real need for this. Usage of multiple owner reference is allowed,
but rarely used
----------------------------------------------------------------
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.
For queries about this service, please contact Infrastructure at:
[email protected]