Container Orchestration Flashcards

1
Q

How applications talk to each other when service mesh is present?

A

Through proxies

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

What forms data plane?

A

Proxies in service mesh

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

What data plane is responsible for

A

Load balancing
Application traffic
Observability
Routing

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

What is proxy used for?

A

Filtering and/or modifying traffic before it reaches the server.

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

popular proxies

A

nginx
haproxy
envoy

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

Standard for service mesh

A

Doesn’t exist yet. Service Mesh Interface(SMI) project aimed to change that but it got archived in october

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

Popular service meshes

A

linkerd
istio

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

Service mesh

A

Adds sidecar container proxy server to every container

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

What network plugins must follow in kubernetes?

A

CNI standard

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

Most modern implementations of container networking are based on the

A

Container Networking Interface(CNI)

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

What takes care of containers IP management?

A

most overlay networks

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

How to allow communication between containers across hosts

A

overlay network which puts them in a virtual network that is spanned across the host systems

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

How to make container accessible from outside the system?

A

By mapping container port to host system port

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

Can multiple containers in the same cluster expose the same port number?

A

Yes

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

What allows each container to have its own unique ip address?

A

network namespaces

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

Are containers as well isolated as virtual machines?

A

No

17
Q

What containers share with host machine

A

kernel

18
Q

4C of Cloud Native security

A

Code
Container
Cluster
Cloud

19
Q

Docker drop-in replacement

A

podman

20
Q

Used only for image building

A

kaniko
buildah

21
Q

what runtime-spec describes?

A

unpack container image
manage complete container lifecycle
creating container environment
starting the process
stopping the process
deleting the process

22
Q

Container runtime reference implementation

A

runC

23
Q

What every container runtime must follow

A

OCI runtime-spec standard

24
Q

Why storage for containers is hard

A

because containers are ephemeral

25
Q

What layer is put on top of the container image when you start a container from an image

A

read-write layer

26
Q

What happens to read-write layer when container is stopped or deleted?

A

It dissapears

27
Q

How to persist data on a host?

A

with volume

28
Q

How does volumes work?

A

They map directory/file in host filesystem to directory/file in container filesystem

29
Q
A