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
Improve CRD openapi serving speed #86967
Comments
/sig api-machinery |
Re ToProtoBinary - did you split that into: NewDocument + jsonToYAML and proto.Marshal()? |
Not I didn't. I will add logging to break that down |
Looking in the kube-openapi repo, I only found one benchmark under pkg: func BenchmarkMergeSpecsIgnorePathConflictsWithKubeSpec(b *testing.B) { Wondering if more benchmark should be added. |
@annajung I don't have the cycle to work on it this release. Let's move it to milestone 1.19. Thank you |
/milestone v1.19 |
👋 Hello from Bug Triage team! Wanted to follow up on this issue with a friendly reminder that the code freeze for 1.19 is starting June 25th (about 4 weeks from now). As this issue is tagged for 1.19, is it still planned for this release? |
CustomResourcePublishOpenAPI e2e tests are flaky because the time for a given CRD change to get reflected in the openapi spec exceeds the 30s timeout.
Here is a analysis for the worst case-- assuming three CRD changes were made at the same time (change A&B by tests running in parallel, and change C by the current test), it may take up to three 200OK downloads before the current e2e test sees change C in the openapi spec. The 30s timeout can be reached before the test starts the third 200OK download.
Things that we can improve:
cc @liggitt @sttts @wojtek-t
The text was updated successfully, but these errors were encountered: