day5/40 Flashcards

1
Q

Front: What is the Control Plane in Kubernetes?

A

The Control Plane is responsible for managing the Kubernetes cluster.
● It includes components such as the API server, scheduler, controller manager, and etcd.

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

What is the role of the API server in Kubernetes?

A

The API server is the entry point for all requests to the cluster.
● It authenticates requests, performs validation, and updates the etcd database.

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

What is the role of the Scheduler in Kubernetes?

A

The Scheduler is responsible for scheduling pods on suitable nodes, considering resource availability and pod requirements.

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

What is the role of the Controller Manager in Kubernetes?

A

● The Controller Manager ensures that all components in the cluster are functioning properly.
● It includes various controllers such as the Node Controller, Namespace Controller, and Deployment Controller.

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

What is etcd in Kubernetes?

A

etcd is a distributed key-value database that stores the cluster state.
● It stores information about pods, nodes, services, configs, and more.

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

What are nodes in Kubernetes?

A

Nodes are virtual machines (VMs) that run the workloads, i.e., the pods.

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

What is a Pod in Kubernetes?

A

A Pod is the smallest deployment unit in Kubernetes.
● It contains one or more Docker containers.

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

How does the workflow in Kubernetes operate?

A

User sends a request to the API server.
● API server authenticates and validates the request.
● API server updates the etcd database.
● Scheduler identifies a Pod that needs scheduling.
● Scheduler sends instructions to the API server to schedule the pod.
● API server sends instructions to the Kubelet on the appropriate node.
● Kubelet creates and manages the pod.

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

What is the purpose of using Kubernetes?

A

Kubernetes is used for efficient, automated, and scalable deployment and management of containers.
● It allows managing application lifecycles, scheduling resources, and monitoring the health of the container cluster.

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