# ETCD

It is a database that store the data of container and the data of cluster such as `Node` , `Pod`, `Config Map,` `Secret`,  `Account` , `Role` and etc with key-value format.\
\
**The Advantage of Key-value DB:**\
\
Example:

| ID | Name |
| -- | ---- |
| 1  | Bob  |
| 2  | Sam  |
| 3  | Tony |

If you want to add new column in Table it will not affect to existing record in table <br>

| ID | Name |
| -- | ---- |
| 1  | Bob  |
| 2  | Sam  |
| 3  | Tony |

| ID | Name | Age |
| -- | ---- | --- |
| 4  | Jane | 20  |

But If we use relational DB every record in table will need to determine the `Age` value\ <br>

{% hint style="warning" %}
**Noted:**

If you setup cluster manually , you need to download `ETCD binary file` and install on `Master Node`by yourself. Each `Master Node` will separate ETCD but we are able to configure parameter to sync the data across Node .
{% endhint %}


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://dev7days.gitbook.io/dev7days/kubernetes/kubernetes-architecture/etcd.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
