Maximum Size of Status in the Kubernetes CRD? Maximum Size of Status in the Kubernetes CRD? kubernetes kubernetes

Maximum Size of Status in the Kubernetes CRD?


Quoting the answer from the comment.

Kubernetes stores cluster data in etcd. By default, etcd limits themaximum data entry size to 1.5 megabytes. – Chin Huang

ETCD Documentation: Request size limit:

etcd is designed to handle small key value pairs typical for metadata.Larger requests will work, but may increase the latency of otherrequests. By default, the maximum size of any request is 1.5 MiB. Thislimit is configurable through --max-request-bytes flag for etcdserver.

Kubernetes has not put any limits on Status and Spec size individually but the limit is on the overall object size since limits are from the etcd storage. It can be configured using --max-request-bytes. It is better to use Config Maps to store status when the data is huge and save pointers or overall summary in the status.