Skip to content
New issue

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

Reduce reloads #362

Merged
merged 3 commits into from
Sep 10, 2018
Merged

Reduce reloads #362

merged 3 commits into from
Sep 10, 2018

Conversation

isaachawley
Copy link
Contributor

@isaachawley isaachawley commented Sep 6, 2018

Reduce the number of reloads for endpoint changes by batching the ingresses to be updated, writing the config files and (in the case of Plus) updating UpstreamServers via the API, before finally reloading NGINX at the end.

  • I have read the CONTRIBUTING doc
  • I have added tests that prove my fix is effective or that my feature works
  • I have checked that all unit tests pass after adding my changes
  • I have updated necessary documentation
  • I have rebased my branch onto master
  • I will ensure my PR is targeting the master branch and pulling from my branch from my own fork

@isaachawley isaachawley self-assigned this Sep 6, 2018
@isaachawley isaachawley added the enhancement Pull requests for new features/feature enhancements label Sep 6, 2018
pleshakov and others added 3 commits September 7, 2018 09:54
- batch handling for mergable ingresses
- error collection and logging
- Most of the error handling in these batch update funcs can be removed.
The caller only logs the errors anyway.
- Fix a few rebase issues.
@isaachawley isaachawley merged commit 7e54578 into master Sep 10, 2018
@isaachawley isaachawley deleted the reduce-reloads branch September 10, 2018 10:52
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement Pull requests for new features/feature enhancements
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants