You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In the repo, why is the gotk-components.yaml file being created twice for the clusters production and staging? Is it because we are creating a seperate "pods" for respective controllers for both the production and staging environments to ensure common controllers (source, kustomize, helm, notification) won't be a problem?
Production
---
flux2-multi-tenancy/clusters/production/flux-system/gotk-components.yaml
flux2-multi-tenancy/clusters/production/flux-system/gotk-sync.yaml
flux2-multi-tenancy/clusters/production/flux-system/kustomization.yaml
Staging
---
flux2-multi-tenancy/clusters/staging/flux-system/gotk-components.yaml
flux2-multi-tenancy/clusters/staging/flux-system/gotk-sync.yaml
flux2-multi-tenancy/clusters/staging/flux-system/kustomization.yaml
From what I understand, that file will be identical and only the gotk-sync.yaml and kustomiation.yaml files will be different to point to the respective folders to deploy the required resources?
Would something like below make sense
flux2-multi-tenancy/clusters/gotk-components.yaml
Production
---
flux2-multi-tenancy/clusters/production/flux-system/gotk-sync.yaml
flux2-multi-tenancy/clusters/production/flux-system/kustomization.yaml
Staging
---
flux2-multi-tenancy/clusters/staging/flux-system/gotk-sync.yaml
flux2-multi-tenancy/clusters/staging/flux-system/kustomization.yaml
Thanks
The text was updated successfully, but these errors were encountered:
bluedog13
changed the title
Question :
Question : gotk-components.yaml repetition in multiple clusters
Oct 27, 2022
We don't recommend reusing the Flux manifests across clusters. If the upgrade fails, all your clusters will be impacted. Instead you would upgrade staging first, check that Flux is Ok there and then do production. Having said that, there is nothing stopping you from having a single gotk-components.yaml which gets imported in all the cluster overlays. You can use the Flux action to automatically upgrade all your clusters at the same time.
In the repo, why is the gotk-components.yaml file being created twice for the clusters production and staging? Is it because we are creating a seperate "pods" for respective controllers for both the production and staging environments to ensure common controllers (source, kustomize, helm, notification) won't be a problem?
From what I understand, that file will be identical and only the
gotk-sync.yaml
andkustomiation.yaml
files will be different to point to the respective folders to deploy the required resources?Would something like below make sense
Thanks
The text was updated successfully, but these errors were encountered: