Kubernetes: it is an opensource container orchestration and managment tools .
what is advantange of kubernetes in container life:
1) Centerlized management for Container Host:
2) It make cluster Arch between Container Host:
3) HighAvailability
4) Scalablity
1) manunally
2) automatically
Containers=Pod
Kubernetes Arch:
1) Kubernetes Master: its simple server where u running below services .
1) Kube-apiserver: authentication & autherization channel .
2) kube-etcd : it container complete cluster Information . (Yaml based )
3) Kube-Scheduler: it determine best fit node for Pod .
3) Kube-Controller : it excute api instruction On worker Node side .
2) Kubernetes worker Node :
1) Docker engine
2) Kubelete: it is agent of kubernetes master which undestand API instrctions
then pass to docker engine
3) kube-proxy: it provide Advance networking concept for container life.
1) Introduction
2) Lab Setup :
worker1: 1Gb/1cpu/10HD: Centos7/Rhel7/ubuntu: Centos7
worker2: 1GB/1cpu/10HD
master: 2GB/1cpu/10HD
1) Cloud Based
2) Local Setup
32 Node:
16^
3 Master: 16GB/
Installation Mode:
1) Control plane: Container mode
Utility:
1) Kubeadm
2) Ansible
3) Kops
Control Plane component:
API
controller
etcd
Scheduler
kube-proxy
Always: Systemd mode
1) Docker engine :
2) Kubelet
Lab1: How to install Master
1) Docker engine: Done
2) Kubelet
3) kubeadm
4) 4 component ready
1) Selinux Disable (Only Required master Node)
2) Swap partition should stop : (Both side master/worker)
docker :
kubectl:
Port
etcd node1
etcd node2
API
Etcd
2) Systemd: hardway Setup (Throug Recording)