⇤ ← Revision 1 as of 2021-10-18 06:30:04
947
Comment:
|
1246
|
Deletions are marked like this. | Additions are marked like this. |
Line 24: | Line 24: |
* smallest object in k8s, contains containers, can contain one or more containers * scale service by creating more pod instances. * additional container could be helper container. * network space is shared between containers in the same pod, they can communicate on localhost. |
k8s/StudyNotes
* kubeadm
- deploys all the kubernetes services downloaded from web
* Kube-Scheduler
- Filter Nodes (Pod cant fit)
- Rank Nodes (Compare resources left, try to balance cpu/mem usage)
- kubelet - captain on each Worker Node
- Registers with Master node, reports status and executes
Always manual install wget https://storage.googleapis.com/kubernetes-release/release/v1.xx.x/bin/linux/amd64/kubelet
- Not kubeadm managed.
- Needs tls bootstrap
- Kube-proxy - run on each node, service's virtual component
- All pods can see all other pods, through POD Network, by IP/Name. Exposed through service: eg. db(IP)
- Watches for service creation, and then configure network e.g. Iptables to forward to actual pod.
- Install: download wget to install or
- kubeadm will deploy it as deamon set to each pod in namespace kube-system
- PODs
- smallest object in k8s, contains containers, can contain one or more containers
- scale service by creating more pod instances.
- additional container could be helper container.
- network space is shared between containers in the same pod, they can communicate on localhost.