multicloud-operators-subscription
multicloud-operators-subscription copied to clipboard
How can we distribute an application locally to hub cluster by subscription?
I register Hub Cluster to itself, as "cluster-local". I want to distribute an application from github to some Managed Clusters and Hub Cluster by subscription. But, If I create Subscription CR with placement which contains "cluster-local" in Hub Cluster, the parent Subscription CR will be overrode to Subscription with local placement. After overriding, if I update the application yaml in github, subscription will can not reconcile the change to Managed Clusters.
I see ACM can distribution an application locally to hub cluster. So, @qiujian16 @mikeshng Could you give me some advice?
Sorry, I just saw this issue. I will look into this by the end of this week.
/assign mikeshng
In ACM, we run a separate a subscription pod with standalone mode on. https://github.com/open-cluster-management-io/multicloud-operators-subscription#stand-alone-deployment
Then for the subscription in the hub the placement should be just "local": https://github.com/open-cluster-management-io/multicloud-operators-subscription/blob/main/examples/helmrepo-channel/02-subscription.yaml#L9
Just a note on the hub cluster, you shouldn't have the app addon and the standalone subscription pod running competing against each other.