Skip to content

Conversation

@davidhao3300
Copy link
Contributor

I've noticed that kubeval was MUCH slower after upgrading from 0.11.0 to 0.14.0. It turns out the schema server kubeval is hitting is very slow in returning 404s (like 15-30 seconds), so if you have a lot of custom resources, you're going to be waiting a long time if there's no caching. While it would be nice to make the server faster, there's no reason to not cache the schema misses.

I noticed that there was a commented-out line that explained why it wasn't done, so I modified a test to reproduce the error mentioned in the comment and then changed the code to fix the nil reference.

@davidhao3300 davidhao3300 requested a review from garethr February 6, 2020 01:09
@garethr
Copy link
Collaborator

garethr commented Apr 14, 2020

Thanks for the fix, much appreciated.

@garethr garethr merged commit 46c69da into instrumenta:master Apr 14, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants