astefanutti commented on issue #595: Set platform as integration contexts owner
URL: https://github.com/apache/camel-k/pull/595#issuecomment-480863468
 
 
   There is a `Controller` field in the `OwnerReference` API that can be set to 
indicate that _control_ behaviour 
(https://github.com/kubernetes/apimachinery/blob/21de1bffe600f61f4873ae774a60f7a7d37ac9bf/pkg/apis/meta/v1/types.go#L290).
 It seems to change the garbage collector behaviour and a resource can only 
have one controlling owner reference.
   
   For the other "controlling" behaviours, I think they are more ad-hoc 
depending on the type of resources and can be _partial_ to the intersection of 
information between the owner and owned. For example, updating the Camel 
runtime version in the platform could lead to rebuilding the owned contexts.
   
   In that sense, `OwnerReference` can be generalized to cascading any kind of 
operations to the owner resource, whether it's deletion (garbage collection) or 
update.
   
   I still trying to figure out what makes senses from a user standpoint. Is 
that surprising to have the integrations still up and running while the 
platform is deleted? ...
   
   
   
   
   

----------------------------------------------------------------
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:
us...@infra.apache.org


With regards,
Apache Git Services

Reply via email to