AJ - intro to k8s Flashcards

notes from edx - Intro to kubernetes

1
Q

Name 3 container runtimes

A

runC, containerd (usered by Docker), rkt

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

3 components of worker node

A

container runtime, kubelet, kubeproxy

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

3 components of master node

A

api-server, scheduler, controller

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

What is the role of kubelet?

A

agent on worker node which communicates with master node

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

what are two services run by container runtime?

A

ImageService and ContainerService

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

What is the role of kube-proxy?

A

kube-proxy is the network proxy which runs on each worker node and listens to the API server for each Service endpoint creation/deletion. For each Service endpoint, kube-proxy sets up the routes so that it can reach to it

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

Describe the 4 types of kubenetes set

A

All-in-One Single-Node Installation
With all-in-one, all the master and worker components are installed on a single node. This is very useful for learning, development, and testing. This type should not be used in production. Minikube is one such example, and we are going to explore it in future chapters.

Single-Node etcd, Single-Master, and Multi-Worker Installation
In this setup, we have a single master node, which also runs a single-node etcd instance. Multiple worker nodes are connected to the master node.

Single-Node etcd, Multi-Master, and Multi-Worker Installation
In this setup, we have multiple master nodes, which work in an HA mode, but we have a single-node etcd instance. Multiple worker nodes are connected to the master nodes.

Multi-Node etcd, Multi-Master, and Multi-Worker Installation
In this mode, etcd is configured in a clustered mode, outside the Kubernetes cluster, and the nodes connect to it. The master nodes are all configured in an HA mode, connecting to multiple worker nodes. This is the most advanced and recommended production setup.

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

Kubernetes administration tools

A

kubeadm, kubespray, Kops

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

What is purpose of ReplicationControllers

A

Ensure specified number of replicas are running.

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

What is ReplicatSet

A

Same as ReplicationController which support both equality and set-based selectors

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