2 - Kubernetes Concepts Flashcards

1
Q

What is the purpose of each software below?

Minikube
MicroK8s
Kubeadm

A
  • Minikube and MicroK8s are for installation in developer environments, such as notebooks.
  • Kubeadm is used to install kubernete in large-scale environments or cloud providers.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

What is a POD ?

A

POD is a single instance of an application. It is the smallest object that can be created in Kubernetes.

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

An application configured in a POD within Kubernetes. The number of users accessing this application is growing and we need to increase scalability. How can I do this ?

A

We created a new POD running the same instance of the application and now we have two PODs running the same instance of the application. We should never create a new instance of the application in the same POD.

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

When should we create more than one container within a POD?

A

When we have an application that performs some type of task to support our main application.

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

Which command is used to create a POD?

A

kubectl run name –image image_container

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

Which command is used to see the PODs running?

A

kubectl get pods

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

Which command is used to see more details of a POD running?

A

kubectl describe pod name

or

kubectl get pods -o wide

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