gardener / kupid

Inject scheduling criteria into target pods orthogonally by policy definition.
Apache License 2.0
11 stars 19 forks source link

Improved behaviour if cache goes stale. #17

Closed amshuman-kr closed 4 years ago

amshuman-kr commented 4 years ago

What this PR does / why we need it: Improved behaviour if cache goes stale.

  1. Lookup namespaces from direct reader if not found in cache.
  2. Reduced the default sync period for the cache to 1h.
  3. Introduced cli flags for sync period, client QPS and burst.
  4. Changed webhook configuration failure policy to Ignore.
  5. Changed the mutating webhook to allow without mutation in case of errors (metrics and logs show error still)

Which issue(s) this PR fixes: Fixes #

Special notes for your reviewer:

Release note:

Improved behaviour if cache goes stale.