Filtering clusters in ApplicationSets #18234
cloud-digitaltag
started this conversation in
General
Replies: 1 comment
-
Your first cluster generator is a superset of the second. I would guess the appset controller processes your superset cluster generator last when it applies the templates to the applications. It would help if you excluded the clusters you want to be filtered. |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hi.
I have prepared clusters in ArgoCD with additional labels: env, type, cluster_name.
I have four clusters: cluster1, cluster2, cluster3, cluster4
I also have prepared following ApplicationSet:
And for above configuration, selectors not working as I expected. When I look at the generated application config, for all clusters I see values files : dev_all.yaml, instead dev_filter.yaml for cluster1 and cluster2. I check a lot configs changes, but still the same results.
What mistake I make, that is not working ?
Thanks in advance.
Beta Was this translation helpful? Give feedback.
All reactions