How to Manage Multi Cluster Deployments with Flux? #5319
-
|
I want to deploy to many clusters across different clouds. I want to trigger an Azure devops test pipeline after deploying changes to all the clusters. Is there a native way in flux where I could trigger a webhook so that I can update a file in git about the status of each cluster? |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
|
Just found that we can use Then there will be the testing pipeline which watches the entries in the specific file hosted in Git. If all the cluster entries has updated commit hash then the tests will run. otherwise it will skip the run. |
Beta Was this translation helpful? Give feedback.
Just found that we can use
generic webhookprovider in flux to trigger a webhook. This webhook will be defined in azure devops end where it will trigger another pipeline to update the relevant cluster entry (based on the name of the kustomization resource) in git regarding the deployment status.Then there will be the testing pipeline which watches the entries in the specific file hosted in Git. If all the cluster entries has updated commit hash then the tests will run. otherwise it will skip the run.