Kubernetes Training

Introduction

The purpose of this training is to show how quick and easy you can create Kubernetes cluster. At the same time, it's not recommended to use this configs for your production applications.

Disclaimer

Please consult with your doctor before starting this course. Excessive usage may cause eye-bleeding and caffeine overdose.

1. Preparing AWS

  1. Creating SSH Key
  2. Adding new VPC
  3. Creating new Security Group
  4. Configuring AWS console tool

2. Establish ETCD

  1. Launch single ETCD instance
  2. Verifying ETCD setup

3. Creating K8s cluster. Easy way

  1. Creating master instance
  2. Add nodes/slaves/minions to the cluster
  3. Verifying Kubernetes setup

4. Creating AWS Load Balancer

  1. Description of Service A and Service B
  2. Creating Load Balancers for services

5. Launch Application A

  1. Pod Config = NGINX + PHP -> A website
  2. Launching in K8s
  3. Making sure it works

6. Launch Application B

  1. Run in K8s
  2. Prove that both services are working

7. K8s Service resize and update

  1. Updating source code and rebuilding docker images
  2. Scaling
  3. Rolling update