google / gke-policy-automation

Tool and policy library for reviewing Google Kubernetes Engine clusters against best practices
Apache License 2.0
512 stars 26 forks source link

Scalability: number of PODs in cluster #166

Closed mikouaj closed 1 year ago

mikouaj commented 1 year ago

Community Note

Description

For standard clusters, the maximum number of PODs in a cluster is 200k. For autopilot clusters, the maximum number of PODs in a cluster is 12k.

This can be counted using API server metric apiserver_storage_objects, example promql: avg(apiserver_storage_objects{resource="pods"})

References

mikouaj commented 1 year ago

kube-state-metrics query: sum (kube_pod_info{cluster="cluster-waw",location="europe-central2",project_id="demo-project-123"})