Day 2 - First Half

Introduction

Materials and Tools

Kubernetes in Real World

  • Kubernetes have a lot of components to install and configure
  • Also some 3rd party tools for deployment
    • Ubuntu (MAAS, JUiu)
    • CoreOS
    • Fedora (Ansible)
  • Kubernetes is only bare orchestrator. You can customize other add-on components.
  • Unlike Swarm which install everything for you.
  • Step for setup
    • Phase 1: Install prerequisite component
      • Docker Engine
      • Kubelet Engine

      • Kubeadm Engine

    • Phase 2: Initialize Master node

      • kubeadm init <option>

    • Phase 3: Install Pods Network (3rd party) with CNI support

      • Flannel (Support Cross-Platform)

      • Weave Net (Support Cross-Platform)

      • Calico

      • Canal (Flannel + Calico)

      • Contiv

      • Romana

      • Etc

    • Phase 4: Join node to cluster system

      • kubeadm join <option>

tmux

  • Commands:
    • tmux new -s Lab Create a new tmux seesion
    • tmux attach-session -t Lab Join a tmux session
  • Benefits
    • Session is kept. You can close SSH session when running a long job

Revision #2
Created 4 months ago by Chairat (Par)
Updated 4 months ago by Chairat (Par)