Closed schdief closed 2 weeks ago
Thank you for opening this issue, we will look into it.
@bavneetsingh16 , can you pl. take a look at this?
@schdief, we are planning a new cli release next month which will have the 'wait' parameter. Currently, it can be done by creating or updating the configuration via ARM template deployment, please find the example in the link below.
The release of this cli was delayed as it is going to be released with support for new source - ociRepositories. A new api version has been added for it and it will be introduced in the cli. The new eta for this release is early September.
Please update the k8s-configuration cli extension to the latest version to use wait(--disable-health-check) parameter.
Update k8s-configuration cli extension az extension update -n k8s-configuration
Flux config create cmd az k8s-configuration flux create --resource-group my-resource-group --cluster-name mycluster --cluster-type connectedClusters --name myconfig --scope cluster --namespace my-namespace --kind git --url https://github.com/Azure/arc-k8s-demo --branch main --kustomization name=my-kustomization disable-health-check=true
Kustomization update cmd az k8s-configuration flux kustomization update --resource-group my-resource-group --cluster-name mycluster --cluster-type connectedClusters --name myconfig --kustomization-name my-kustomization --path ./my/new-path --prune --force --disable-health-check
Related command
az k8s-configuration flux create -k
https://learn.microsoft.com/de-de/cli/azure/k8s-configuration/flux?view=azure-cli-latest#az-k8s-configuration-flux-create-optional-parameters
Is your feature request related to a problem? Please describe. Yes, because the kustomization won't finish reconcilation in case a sub-resource fails as the wait option is always
true
. This is a problem since we have multiple individual deployments within our repo that are synced with a single Kustomization. If any deployment fails, this impacts the reconcilation of all deployments.Describe the solution you'd like I would like to set the value of
wait
tofalse
.Describe alternatives you've considered We could create individual Kustomizations, but then they won't be part of our repository so a restore would be cumbersome. So the only alternative is not using the aks flux extension.
Additional context