We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
There should be batching and I'm almost sure there used to be, I think it may have been lost with the dry-run mechanism.
The text was updated successfully, but these errors were encountered:
Actually it is still there:
func (p *UpgradeWorkers) Run() error { if err := p.hosts.Each(p.cordonWorker); err != nil { return err } // Upgrade worker hosts parallelly in 10% chunks concurrentUpgrades := int(math.Floor(float64(len(p.hosts)) * 0.10)) if concurrentUpgrades == 0 { concurrentUpgrades = 1 } log.Infof("Upgrading max %d workers in parallel", concurrentUpgrades) return p.hosts.BatchedParallelEach(concurrentUpgrades, p.start, p.cordonWorker, p.drainWorker, p.upgradeWorker, p.uncordonWorker, p.finish, ) }
Sorry, something went wrong.
Successfully merging a pull request may close this issue.
There should be batching and I'm almost sure there used to be, I think it may have been lost with the dry-run mechanism.
The text was updated successfully, but these errors were encountered: