Skip to content
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

cache cluster-registry memory based on rsr namespaces #925

Draft
wants to merge 2 commits into
base: release-1.15
Choose a base branch
from

Conversation

nishantapatil3
Copy link
Contributor

@nishantapatil3 nishantapatil3 commented Jul 5, 2023

Q A
Bug fix? no
New feature? no
API breaks? no
Deprecations? no
Related tickets fixes memory issue in multicluster scenario
License Apache 2.0

What's in this PR?

Contains the changes required to limit namespace cache on ResourceSyncRule rules.match.namespaces
This PR adds the namespaces field to chart release namespace in ResourceSyncRule.

With changes in cluster-registry-controller here cisco-open/cluster-registry-controller#62
Limit caching on requiredNamespaces can be used in spec.rules.match.namespaces

Why?

In a large cluster with many namespaces, cluster-registry can consume memory resources and reach OOMKilled state due to memory limitations. This change adds namespaces filed to RSR rule to cache on istio-operator release namespace to reduce memory consumption.

Checklist

  • Implementation tested
  • Error handling code meets the guideline
  • Logging code meets the guideline
  • User guide and development docs updated (if needed)

@nishantapatil3 nishantapatil3 changed the title cache controller memory based on rsr namespaces cache cluster-registry memory based on rsr namespaces Jul 5, 2023
@nishantapatil3 nishantapatil3 marked this pull request as draft July 6, 2023 16:18
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.

1 participant