In this section, we will take a quick look at introduction to ETCD for beginners.
## What is a ETCD? - ETCD is a distributed reliable key-value store that is simple, secure & Fast.
Traditionally, databases have been in tabular format, you must have heard about SQL or Relational databases. They store data in rows and columns
A Key-Value Store stores information in a Key and Value format.
ETCD
.
Download the relevant binary for your operating system from github releases page (https://github.com/etcd-io/etcd/releases)
For Example: To download ETCD v3.5.6, run the below curl command
$ curl -LO https://github.com/etcd-io/etcd/releases/download/v3.5.6/etcd-v3.5.6-linux-amd64.tar.gz
$ tar xvzf etcd-v3.5.6-linux-amd64.tar.gz
$ ./etcd
ETCD
it will by default listen on port 2379
ETCD
is the etcdctl
client. You can use it to store and retrieve key-value pairs.
Syntax: To Store a Key-Value pair
$ ./etcdctl put key1 value1
Syntax: To retrieve the stored data
$ ./etcdctl get key1
Syntax: To view more commands. Run etcdctl without any arguments
$ ./etcdctl
K8s Reference Docs: