Refresher/basics Flashcards

1
Q

What kubernetes component does the client (kubectl) connect to?

A

kube API server

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

What kubernetes component acts as a key-value store to store all data about the cluster?

A

etcd

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

What kubernetes component distributes work across worker nodes?

A

scheduler

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

What kubernetes component responds to events (e.g. pod crashing) and makes decisions?

A

controller

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

What kubernetes component runs containers?

A

container runtime, typically docker

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

What kubernetes component on the worker is responsible for carrying out actions requested by the master node?

A

kubelet

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

How do you view information about the cluster?

A

kubectl cluster-info

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

How do you get information about the nodes of a cluster?

A

kubectl get nodes

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

How are applications to be run on kubernetes packaged?

A

In a container image (aka Docker image).

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

Where does kubernetes typically expect to find applications which it is to run?

A

Applications are expected to be packaged as container images and available from an image repository, e.g. Docker Hub.

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

What is the name of the kubernetes object that encapsulates one or more containers?

A

pod

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

If you scale up your application, what component is increased in number?

A

The number of pods

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

What does contains Control plane ?

A

Contains API, scheduler, self-healing, autoscaling, rollouts, …

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

What is the RAFT algorithm ?

A

On a multiple node system, a node will become leader and assure correct replication of the data across your system.

More info on : http://thesecretlivesofdata.com/raft/

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

Goal of a controller in kubernetes while running in watch-loop ?

A

Ensure the observed state is the same as the declared state in a cluster

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

Logic behind declarative design patterns in a controller perspective

A
  • Obtain desired state
  • Observe current state
  • Determine differences
  • Reconcile differences