Now knowing the basic of kubernetes, its about to do a hands-on with the installation & configuration of kubernetes.
Infra Considerations to make before starting with the install,
Where to install?
- Cloud
- IaaS – Virtual Machines
- PaaS – Managed Service
- On-Prem
- Bare metal
- Virtual Machines
References – pick right solution
Additional Considerations
- Network Cluster
- Scalability
- High Availability
- Disaster Recovery
Installation Methods
- Desktop Installation
- for poc, dev needs
- Mini kube
- kubeadm – a tool
- Manually
- All by us from scratch, a good way to learn details here
- and some references here
Installation Requirements using kubeadm
- System Requirements
- OS – Linux
- 2 CPU
- 2 GB RAM
- Swap disabled
- Container Runtime
- CRI – interface for container runtime
- Docker
- Networking
- Connectivity across all nodes and master
- Ports
Componetes Ports Used by API 6443 All etcd 2379-2380 API/etc Scheduler 10251 Self Controller Manager 10252 Self kubelet 10250 Control Plane NodePort 30000-32767 All
- Software
- Github
- download from here
- Linux distro
- yum and apt
- Github
- Packages
- kubelet
- kubeadm
- kubectl
- Container Runtime – Docker
- Note: All these are required in all of the nodes
High level steps of building your cluster
- Install Kubernetes
- Create your Cluster
- Configure Pod & N/W
- Join Nodes to cluster.
