Skip to main content

Control Plane Components


ETCD

ETCD is a control-plane component that acts as a key-value store for K8S. The data store is used to store information about and relating to the cluster, such as nodes, pods, configs, secrets, and more.

By default, ETCD listens on port 2379.

High Availability

In HA K8S environments, there are multiple master nodes, meaning multiple ETCD stores. In order for this configuration to work, you have to ensure that each ETCD service is aware of the others by .......

ETCD API

API Authentication

 

API Version

Commands differ between ETCD API versions. Check the version using etcdctl version, or etcdctl --version.

Commands

List available commands:

etcdctl
API V2

Manually set a key value:

etcdctl set key1 value1

Manually get a key value:

etcdctl get key1
API V3

Manually set a key value:

etcdctl put key1 value1

Manually get a key value:

etcdctl get key1