Rinu Goldgin Dhanaraj

Software Consultant

kube-install-config

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

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
    • ComponetesPortsUsed by
      API6443All
      etcd2379-2380API/etc
      Scheduler10251Self
      Controller Manager10252Self
      kubelet10250Control Plane
      NodePort30000-32767All
  • Software
    • Github
    • Linux distro
      • yum and apt
  • 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.

Next : Installing Kubernetes on VMs ( Ubuntu )