stolostron / multicluster-controlplane

A standalone controlplane to run ocm core.
Apache License 2.0
1 stars 5 forks source link

Set ETCD_SNAPSHOT_COUNT as 5000 and update-frequency as 60s #55

Closed clyang82 closed 1 year ago

clyang82 commented 1 year ago
  1. Set ETCD_SNAPSHOT_COUNT as 5000 to reduce the memory consumption - https://etcd.io/docs/v3.5/tuning/#snapshots. the default value is 100000. After set as 5000, the memory consumption can reduce 600M in 15 managed clusters and 41 policies environment.
  2. it is too frequency to check the compliance status in 10 seconds.
skeeey commented 1 year ago

/lgtm

openshift-ci[bot] commented 1 year ago

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: clyang82, skeeey

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Needs approval from an approver in each of these files: - ~~[OWNERS](https://github.com/stolostron/multicluster-controlplane/blob/main/OWNERS)~~ [clyang82] Approvers can indicate their approval by writing `/approve` in a comment Approvers can cancel approval by writing `/approve cancel` in a comment