1. Core Concepts Flashcards
1
Q
What are the components of Kubernetes?
A
- Node
- API Server
- etcd
- kubelet
- Container Runtime
- Controller
- Scheduler
2
Q
Node
A
Node - a worker machine where a container will be lanched
3
Q
API Server
A
front end to the Kubernetes
4
Q
etcd
A
etcd - key-store value store… store all data
5
Q
kubelet
A
Agent that runs in all the workers
6
Q
Container Runtime
A
Is a undeline software to run containers
7
Q
Controller
A
- Responsible to notice when a node goes down.
- Create new containers.
8
Q
Scheduler
A
Distributed the work of the containers
9
Q
Master Node
A
- kube-apiserver
- controller manager
- scheduler
10
Q
Create a pod with nginx image
A
kubectl run nginx
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>