Kubernetes in action (build ship run) - up1/training-courses GitHub Wiki

Kubernetes in Practice

ในปัจจุบัน Kubernetes ได้รัยความนิยมใช้งานจากบริษัทพัฒนา software ต่าง ๆ ทั้งการ deploy, scale และจัดการ infrastructure ของ container โดยใน course จะเริ่มตั้งแต่การติดตั้งและ configuration จากนั้นทำการสร้าง Pods, Services และ Deployment ให้ตรงกับความต้องการของระบบงาน

จำนวน 2 วัน

Target groups

  • Software Programmer/ Developer/Engineer
  • System Administrator

Course Outline

Introduction

  • Introduction to Kubernetes
  • Kubernetes Architecture and components
  • Install Basic Kubernetes
    • On premise
    • On cloud
    • On Local machine with minikube (optional)
  • Using kubectl to manage cluster and deployment
  • Introduction to YAML Installation and configuration Kubernetes
  • Workshop

Workshop Install Kubernetes Cluster for HA (High Availability)

  • Design a highly‑available (HA) Kubernetes control plane

  • Provision the required VMs/servers and network components

  • Deploy a multi‑control‑plane cluster with an external load balancer

  • Join worker nodes and install a CNI plugin

  • Validate HA behavior by simulating failures

  • Perform basic maintenance tasks (scaling control‑plane, certificate rotation)

  • Hardware/VMs

    • 3× control‑plane VMs (e.g. Ubuntu 22.04, 2 vCPU, 4 GB RAM)
    • 3× worker VMs (same spec)
    • 1× Load‑balancer VM (2 vCPU, 2 GB RAM)

Kubernetes :: Pods, Deployment and Services

  • Create Pods definitions
  • Create Deployment and ReplicaSet definitions
  • Create Services definitions
    • Cluster Port
    • Node Port
    • Load balance
  • Labels, Namespaces and selectors
  • Workshop

Kubernetes :: Log, Scaling and Recovery

  • Working with Pods containers
  • Scaling and Auto-Scaling Pods
    • HPA (Horizontal Pods Autoscaler)
  • Logging, metric and monitoring system for Cluster
  • Failure and Recovery
  • Workshop

Kubernetes :: Advance topics (optional)

  • Volume management
  • ConfigMap and secret
  • Ingress controller
  • Gateway API