ETCD
- Etcd is a distributed reliable key-value store that is simple, secure, and fast.
- Key-value store (document DB, jasn-yaml-like structure)
- set a key value pair in etcd:
1
etcdctl set key value
- Every info (eg. Nodes, pods, configs, secrets) are stored in ETCD cluster.
- k8s stored structure:
Kube-API server
- how
get node
work?
- how
create pod
work?
Kube controller Manager
- Continueously watch the status.
- take necessary action to remediate the situation.
remediate: to correct something that is wrong or damaged or to improve a bad situation.