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

Process all relevant cluster resources at start #184

Merged
merged 5 commits into from
Aug 17, 2022

Conversation

pleshakov
Copy link
Contributor

@pleshakov pleshakov commented Aug 12, 2022

Proposed changes

Problem:
At start, the Gateway generates the first NGINX configuration (and
a few subsequent ones) before it processed all relevant cluster resources.
Such configuration is incomplete and should not be generated. For clients
it means they can see transient 404 errors when NGINX is configured with
such configuration.

Solution:
When the Gateway starts, it will generate the first NGINX configuration
based on processing all relevant cluster resources.

@pleshakov pleshakov force-pushed the feature/batch-events branch 2 times, most recently from 281e342 to 9501170 Compare August 16, 2022 17:01
Base automatically changed from feature/batch-events to main August 16, 2022 17:21
Problem:
At start, the Gateway generates the first NGINX configuration (and
a few subsequent ones) before it processed all relevant cluster resources.
Such configuration is incomplete and should not be generated. For clients
it means they can see transient 404 errors when NGINX is configured with
such configuration.

Solution:
When the Gateway starts, it will generate the first NGINX configuration
based on processing all relevant cluster resources.
Copy link
Contributor

@kate-osborn kate-osborn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@pleshakov pleshakov merged commit bd7d4b6 into main Aug 17, 2022
@pleshakov pleshakov deleted the feature/startup-event-processing branch August 17, 2022 21:49
@lucacome lucacome added the enhancement New feature or request label Aug 19, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
enhancement New feature or request
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants