What Makes Up a Kubernetes Cluster?

Jonathan MathewsPublic

Kubernetes cluster

In our first three installments in this series, we learned what Kubernetes is, why it’s a good choice for your datacenter, and how it was descended from the secret Google Borg project. Now we’re going to learn what makes up a Kubernetes cluster.

A Kubernetes cluster is made of a master node and a set of worker nodes. In a production environment these run in a distributed setup on multiple nodes. For testing purposes, all the components can run on the same node (physical or virtual) by using minikube.

Kubernetes has six main components that form a functioning cluster:

  • API server
  • Scheduler
  • Controller manager
  • kubelet
  • kube-proxy
  • etcd

Each of these components can run as standard Linux processes, or they can run as Docker containers.

Kubernetes Overview

The Master Node

The master node runs the API server, the scheduler, and the controller manager. For example, on one of the Kubernetes master nodes that we started on a CoreOS instance, we see the following systemd unit files:

Full Article