Manifest sync with 15+ manifests in a single glob is unreliable
Summary
When the Kubernetes Agent is configured to sync 15+ manifests in a single glob, then it fails syncing.
This screenshot is misleading! The top line actually showed up a minute later than the other two lines. With 90+ files, this time increased even further.
Triggering a new sync deploys the manifests. It seems as if the syncing would be over with agentk
when the files actually arrive there.
Steps to reproduce
Deploy kube-prometheus
as described in their quickstart docs.
Example Project
https://gitlab.com/gitlab-examples/ops/configure-product-walkthrough
What is the current bug behavior?
The manifests do not sync following the commit they are added to the repo.
They sync at the next commit if enough time passes between the two.
What is the expected correct behavior?
The manifests should sync at the first commit.
Relevant logs and/or screenshots
Output of checks
Results of GitLab environment info
Expand for output related to GitLab environment info
(For installations with omnibus-gitlab package run and paste the output of: `sudo gitlab-rake gitlab:env:info`) (For installations from source run and paste the output of: `sudo -u git -H bundle exec rake gitlab:env:info RAILS_ENV=production`)
Results of GitLab application Check
Expand for output related to the GitLab application check
(For installations with omnibus-gitlab package run and paste the output of:
sudo gitlab-rake gitlab:check SANITIZE=true
)(For installations from source run and paste the output of:
sudo -u git -H bundle exec rake gitlab:check RAILS_ENV=production SANITIZE=true
)(we will only investigate if the tests are passing)