K8s architecture Flashcards

1
Q

What is a Node

A

A worker machine where containers will be launched by k8s

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a Cluster

A

Set of nodes grouped together in order to share load

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
3
Q

What is the “manager” node?

A
  • Watches nodes in a cluster
  • Responsible for orchestration and monitoring workloads
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
4
Q

What are the five K8s componentes

A
  • k8s API
  • etcd
  • kubelet
  • container runtime
  • controller
  • scheduler
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
5
Q

What does the k8s API do

A

Responds to and enacts k8s SLI commands

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
6
Q

What is etcd

A

key-value store that holds all the data about a cluster (including logs)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

What is a kubelet

A

The agent running on each node in a cluster, it’s responsible for ensuring containers are running on the node

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

What is container runtime

A

The underlying software to run containers (e.g., Docker)

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
9
Q

What is the controller

A
  • the brains
  • responsible for noticing and responding when nodes/containers go down
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What is a scheduler

A

It distributes work/load across multiple nodes

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What’s the difference between a manager and a worker node

A

Workers host containers and have the container runtime

Managers have the k8s API server, etcd, controller, and scheduler

How well did you know this?
1
Not at all
2
3
4
5
Perfectly
12
Q

What is kubectl

A
  • Kube Control
  • k8s cli tool
How well did you know this?
1
Not at all
2
3
4
5
Perfectly