-
Notifications
You must be signed in to change notification settings - Fork 1.1k
--sync-timeout is capped at 60s #3049
Comments
the command execution timesout at 60s, it's set here - https://github.com/fluxcd/flux/blob/v1.19.0/pkg/manifests/configfile.go#L24 and used here to execute the command - https://github.com/fluxcd/flux/blob/v1.19.0/pkg/manifests/configfile.go#L490 It would be nice to make it configurable, or use the |
I agree that the command timeout could use |
Kustomize tends to take quite a while when remote resources in git are referenced, it would be nice to see the command timeout respect the |
Does anyone have time to look at the PR from @marshallford possibly @stefanprodan? We are running into this issue as we use kustomize to install everything in our cluster, our manifest generation is now timing out 90% of the time, and changing sync-timeout has no effect, you can change it to 20min and it still times out. After 2 or 3 days though one of the syncs seems to sneak through successfully. |
This is also impacting us in certain regions. We recently spun up a cluster in Australia and its taking 1m 30s to perform a kustomize build due to a large amount of remote git repos and we have no way to adjust. |
Hi, could someone look at merging the PR potentially? It seems this issue is also impacting us.
|
I'll be working on the PR review items this weekend. EDIT: That error is different than the one I'm trying to fix. |
Describe the bug
We're running a sync that is taking longer than a minute and hits a timeout. We tried to raise the timeout to account for this but we still get a
context deadline exceeded
error. If we lower the timeout to less than 60s we see timeouts sooner. I suspect there is another timeout that is being hit that is overriding the effective sync-timeoutTo Reproduce
Expected behavior
The sync timeout should be respected
Logs
our args
Additional context
The text was updated successfully, but these errors were encountered: