k8s part 1 (architecture) Flashcards

1
Q

what are worker nodes in k8s?

A

These are the physical servers where the containers will be running.

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

How many ways can a k8s master receive commands from the user?

A

Through API CLI and GUI

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

what is kubectl in k8s?

A

It is a command line tool that allows you to run commands against a k8s cluster.

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

what are the things you need before you start running kubectl commands against a k8s master?

A

you need the kubectl binary, a kube config file

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

what is the function of the api server?

A

Responsible for exposing the k8s API, it acts as the entry point for the entire cluster.

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

what is the function of ETCD?

A

Used for storing all the configuration data of the cluster.

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

what is the function of the scheduler?

A

Component on the master that selects nodes for pods to run on.

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

what is the function of the controller manager?

A

watches the state of the cluster through the API server and makes changes so that the desired state matches the current state.

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

what is the function of the cloud controller manager?

A

It allows Kubernetes to interact with the underlying cloud provider.

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

what is the function of the kubelet in a worker node?

A

Its primary role is to ensure that containers are running in the pods as expected.

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

what is the function of the kube-proxy in a worker node?

A

Kube-proxy is a critical component of Kubernetes responsible for maintaining network communication between the pods.

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

what is the function of the container runtime in a worker node?

A

It is the software responsible for running containers. eg docker, containerd,

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

what is a k8s object?

A

It is a record of intent that you pass to the k8s cluster.

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