1 - Kubernetes Overview Flashcards

1
Q

How is kubernetes also known?

A

K8s

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

Who created the Kubernetes technology?

A

Google

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

What is Kubernetes ?

A

It is a container orchestration technology.

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

What is Matrix from Hell ?

A

It is when various technologies that are part of a project depend on operating systems, different libraries and come into conflict generating problems when it comes to developing, testing and deploying.

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

What are Containers ?

A

They are completely isolated environments. They can have their own processes or services, their own network interfaces, etc.
They are similar to virtual machines except that they share the host kernel.

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

How many layers does an operating system consist of? And what are these layers?

A
  • OS Kernel ->Responsible for interacting with the adjacent hardware.
  • Software -> It is what differentiates one distribution from another.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
7
Q

Imagine an Ubuntu OS installed on a server, what other distributions can we run as a docker in this environment?

A

We can run any distribution that has the same kernel, for example: Fedora, Debian, SUSE, CentOS and etc.
But we cannot run a Windows server, as they do not share the same kernel.

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

What is the main purpose of containers?

A

The main purpose of containers is to containerize applications, send and run them.

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

What are the differences between containers and virtual machines?

A

Virtual machine

  • Application
  • Libraries and Dependencies
  • Virtual Machine Operating System
  • Hypervisor
  • Host Operating System
  • Hardware Infrastructure

Container

  • Application
  • Libraries and Dependencies
  • Docker
  • Host Operating System
  • Hardware Infrastructure
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

What are the advantages of containers over traditional machines?

A
  • Lower CPU resource utilization
  • Use of smaller disk space
  • Boot time of a smaller container
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
11
Q

What are container images?

A

Images are packages or templates that are used to run the containers. An image is a set of software used to run a container with a certain characteristic.

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

What is Orchestration ?

A

It is the process of automatic deployment and management of containers. Increase and decrease the scalability of the environment according to its use, as well as, detect, repair and keep the environment running smoothly.

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

What are the main orchestrators available on the market?

A
  • Docker Swarm -> Some advanced features needed for complex applications are missing
  • Kubernetes -> Easier to set up and start using than Mesos and offers many advanced options for complex environments.
  • Mesos -> Difficult to configure and start using, but it supports complex environments.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
14
Q

What cloud providers support Kubernetes?

A
  • AWS
  • GCP
  • Azure
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
15
Q

What are the principal advantage of use Orchestration ?

A
  • High Availability

- Load Balancing

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

What is a Node ?

A

Nodes are virtual or physical machines that have Kubernetes installed.
A node is a working machine where the containers run. In the past, nodes were also known as minions.

17
Q

What is a Cluster ?

A

Cluster is a set of nodes grouped together.

18
Q

What is a Master ?

A

It is a node installed and configured to be a master.
Responsible for managing the cluster, it stores information about the cluster members and how the nodes should be monitored.
Responsible for the orchestration of the other nodes.

19
Q

What are the components of a Kubernetes installation ?

A
  • API Server
  • etcd keystore
  • kubelet
  • Container Runtime
  • Controller
  • Scheduller
20
Q

What is the purpose of API Server ?

A

The API Server is responsible for interacting with the user and uses commands to do this.

21
Q

What is the purpose of etcd keystore service ?

A

It is a trusted, distributed key-value store used to store data used to manage the cluster.

22
Q

What is the purpose of kubelet service ?

A

It runs on each node in the cluster and is responsible for ensuring that containers are running on nodes as expected.

23
Q

What is the purpose of Container Runtime ?

A

Container Runtime is the software responsible for executing the containers.

24
Q

What is the purpose of Scheduller ?

A

The scheduler is responsible for distributing work or containers across multiple nodes. It looks for newly created containers and assigns them to the node.

25
Q

What is the purpose of Scheduler ?

A

The scheduler is responsible for distributing work or containers across multiple nodes. It looks for newly created containers and assigns them to the node.

26
Q

Which components run on a worker node and a Master node?

A

Worker

  • Container Runtime
  • kubelet

Master

  • kube-apiserver
  • etcd
  • Controller
  • Scheduler
27
Q

What is the name of the utility that is used to send commands to kube-apiserver?

A

kubectl