Skip to content

InstanceType cache is not cleared after ICE #7443

Open
@jesseanttila-cai

Description

Description

Observed Behavior:
The instance type cache size grows linearly with the number of UnavailableOfferings cache modifications, bounded by the TTL of the instance type cache.

Expected Behavior:
The instance type cache should be cleared whenever UnavailableOfferings changes, since any previously cached values will no longer be accessible as the UnavailableOfferings seqnum is part of the cache key. I have verified that this is the cause of the observed memory usage increase by comparing behavior with this patch: e6cfa31

Reproduction Steps (Please include YAML):
N/A
Versions:

  • Chart Version: 1.0.8
  • Kubernetes Version (kubectl version): v1.29.10-eks-7f9249a
  • Please vote on this issue by adding a 👍 reaction to the original issue to help the community and maintainers prioritize this request
  • Please do not leave "+1" or "me too" comments, they generate extra noise for issue followers and do not help prioritize the request
  • If you are interested in working on this issue or have submitted a pull request, please leave a comment

Metadata

Assignees

No one assigned

    Labels

    performanceIssues relating to performance (memory usage, cpu usage, timing)

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions