1. Core Concepts Flashcards

1
Q

What are the components of Kubernetes?

A
  • Node
  • API Server
  • etcd
  • kubelet
  • Container Runtime
  • Controller
  • Scheduler
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
2
Q

Node

A

Node - a worker machine where a container will be lanched

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

API Server

A

front end to the Kubernetes

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

etcd

A

etcd - key-store value store… store all data

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

kubelet

A

Agent that runs in all the workers

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

Container Runtime

A

Is a undeline software to run containers

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

Controller

A
  • Responsible to notice when a node goes down.
  • Create new containers.
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
8
Q

Scheduler

A

Distributed the work of the containers

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

Master Node

A
  • kube-apiserver
  • controller manager
  • scheduler
How well did you know this?
1
Not at all
2
3
4
5
Perfectly
10
Q

Create a pod with nginx image

A

kubectl run nginx

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

How edit a pods

A

> kubectl get pod

> kubectl edit pod <pod-name></pod-name>

To get the yaml file.

> kubectl get pod <pod-name> -o yaml > pod-definit</pod-name>

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