(Limits Question) Number CRDs and CRs: Millions of CRs in a cluster possible?

Hey all,

We’re looking at leveraging CRDs and CRs in k8s to manage our enterprise “resources” over a custom solution which will lead to hundreds of CRDs and millions of CRs in k8s. We haven’t been able to find any documentation related to CRDs and CRs limitations, any recommendations or concerns based on the prior statement?

Thanks all

You will probably overwhelm your etcd cluster and cause initially slowness…high resource consumption and eventually will cause it to malfunction

1 Like

Hey tiny-dancer:

Maybe you could take a look a the extensive article by the Upbound guys (Aug-2022) Scaling Kubernetes to Thousands of CRDs on hitting weird behaviour when loading a huge numbers of CRDs…

I dont’ know if it’s something transient during the deploying of the CRDs or just because the API Server is not able to handle so many CRDs…

Best regards,

Xavi