tezvyn:

etcd as the cluster source of truth

Source: interviewintermediate

WHAT IT TESTS: understanding the cluster state store. OUTLINE: etcd is the consistent key-value store holding all cluster state, accessed only via the apiserver, and uses Raft needing a quorum.

WHAT IT TESTS: whether you understand etcd's role and failure modes. ANSWER OUTLINE: etcd is a distributed, strongly consistent key-value store that holds the entire desired and observed cluster state and is the single source of truth, reached only through the apiserver. It uses the Raft consensus protocol, so it needs a majority quorum to accept writes. If etcd loses quorum, the control plane can no longer change state, though already-running Pods keep running.

Read the original → interview

Get five bites like this every day.

Tezvyn delivers a daily feed of 60-second tech bites with quizzes to lock in what you learn.

etcd as the cluster source of truth · Tezvyn