-
Notifications
You must be signed in to change notification settings - Fork 593
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
[spike] Prevent DataPlane Lockups #2195
Comments
I'm considering a compromise between the two extremes which I'll be writing up in a KEP: effectively significantly reducing multi-object validation, but not eliminating it, and simultaneously making it possible to run validation at the |
Original bug report for the ordering issue on credentials: #2324 (comment) |
Closing in favor of more targeted issues
For DB-less covered by #3205
The former part (_not halt back-end data-plane configurations) covered by #4048
validating relationships can only reliably happen post-facto because webhooks have only partial knowledge of the target state. Such validations can currently be added and use (1) events (2) status conditions to surface conflicts. Closing as stale.
the severity of this issue has greatly reduced with the events mechanism - closing this part as it's lacking clear scope in today's context. Closing as stale. |
Problem Statement
As of
v2.x
we have added several pieces of API validation for resources such asKongConsumers
,Secrets
,Gateways
, andHTTPRoutes
which include validation for multiple objects which refer to or are related to one another, for instance:KongConsumer
credentialsSecret
multi-object validation for unique-key constraint violationsHTTPRoute
validationsThese validations help to avoid lockups of dataplane synchronization but currently only if the validating webhook has been enabled and we're aware that the webhook validation is technical best effort with some timing issue edge cases that can occur.
The purpose of this task is to develop a comprehensive solution forward that enables us to run validation across multiple objects to avoid configuration that would lock up the data-plane while also improving the long term maintainability of validation code.
Proposed Solution
Additional information
Notes:
Acceptance Criteria
A "design proposal/draft PR/KEP" exists that provides a solution to the below points:
The text was updated successfully, but these errors were encountered: