Skip to content

Reconciliation calls kube-apiserver 1000/sec with high concurrency and many databases #2136

@jimethn

Description

@jimethn

Report

We have 100 PSMDB defined. The operator is calling kube-apiserver over 1000x/sec with a MAX_CONCURRENT_RECONCILES of 60. Reducing to 2 lowers it to merely dozens of calls per second.

More about the problem

We have EKS audit logging enabled and the increased concurrency is causing a noticeable increase to our cloudwatch bill.

Steps to reproduce

  1. Be on operator 1.21.1
  2. Turn up MAX_CONCURRENT_RECONCILES
  3. Define many clusters

Versions

  1. Kubernetes v1.32
  2. Operator v1.21.1
  3. Database 6-8 (various versions)

Anything else?

I reported it as a bug because I'm not sure this level of activity is intended. But maybe this is actually a feature request for a parameter to slow down the reconciliation loop.

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions