gocrane / crane

Crane is a FinOps Platform for Cloud Resource Analytics and Economics in Kubernetes clusters. The goal is not only to help users to manage cloud cost easier but also ensure the quality of applications.
https://gocrane.io
Apache License 2.0
1.83k stars 377 forks source link

craned cpu utilization continues at 100% and resource and replicas recommended values are older #898

Closed Cloudzp closed 3 months ago

Cloudzp commented 3 months ago

Describe the bug When using craned for Resource and Replicas recommendation in a larger cluster, when the number of workloads reaches 2w+, the CPU utilization continues to be 100% (limit 8c), resource and replicas recommended values are older( runInterval: 24h0m0s) Reproduce steps

  1. Create more than 20,000 workload objects;
  2. Configure recommended rules for all workloads;

Expected behavior The Resource and Replicas recommendation work properly

Screenshots image image

Environment (please complete the following information):