Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Updated
cache.Options
with a DefaultTransform
function that rem…
…oves managed fields and the `"kubectl.kubernetes.io/last-applied-configuration"` annotation from objects before storing them in the cache. (#2300) - Stripping managed fields reduces cache memory overhead, which improves performance in large clusters. - Removing the `"last-applied-configuration"` annotation prevents unnecessary cache bloat and reduces redundant reconciliation triggers caused by changes to this field, which does not require for operation. This enhancement minimizes cache size and resource usage, improving controller runtime performance and memory management. Co-authored-by: afdesk <[email protected]>
- Loading branch information