In etcd, what does the 1.5 MB limit refer to?

Study for the Kubernetes Certified Network Administrator Exam. Our test offers comprehensive flashcards, multiple-choice questions, and detailed explanations. Be confident for your exam!

Multiple Choice

In etcd, what does the 1.5 MB limit refer to?

Explanation:
In etcd, the data you store is a set of key-value pairs, and the 1.5 MB limit is about the value part of a pair. The largest value you can store for a single key is 1.5 MiB. This bound helps keep raft log entries, memory usage, and snapshot sizes predictable and performant, since every put includes that value in the log and in replicated state. If you need to store more data, you’d split it across multiple keys or reference external storage and store the pointer in etcd. This limit does not apply to the size of the key itself, the total data in the cluster, or the snapshot file size.

In etcd, the data you store is a set of key-value pairs, and the 1.5 MB limit is about the value part of a pair. The largest value you can store for a single key is 1.5 MiB. This bound helps keep raft log entries, memory usage, and snapshot sizes predictable and performant, since every put includes that value in the log and in replicated state. If you need to store more data, you’d split it across multiple keys or reference external storage and store the pointer in etcd. This limit does not apply to the size of the key itself, the total data in the cluster, or the snapshot file size.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy