You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
If we only validate the resource at the last stage, it might be difficult to locate the code that generated the invalidated xds.
Keeping the original validation makes debugging easier when a validation error occurs, as these checks are closer to the code with problems.
Validating 1000 HTTPRoutes takes less than 1 millisecond in a kind cluster in my dev machine. It's not that bad.
Validation of all resources took 6.071µs
Validation of all resources took 9.969µs
Validation of all resources took 42.08µs
Validation of all resources took 4.878249ms
Validation of all resources took 25.899µs
Validation of all resources took 6.012µs
Validation of all resources took 25.689µs
Activity
zhaohuabing commentedon Mar 10, 2025
If we only validate the resource at the last stage, it might be difficult to locate the code that generated the invalidated xds.
Keeping the original validation makes debugging easier when a validation error occurs, as these checks are closer to the code with problems.
Validating 1000 HTTPRoutes takes less than 1 millisecond in a kind cluster in my dev machine. It's not that bad.
Close this issue for now.