Skip to content
/ ks Public

A series of Kubernetes walk-throughs

License

Notifications You must be signed in to change notification settings

red-gate/ks

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

ks

A Kubernetes series

Docker, Kubernetes + the database.

Here we showcase the evolution of a simple web application as we learn Docker and Kubernetes. Our only contraint is to try use Kubernetes through all our environments while we evolve the application from a development enviroment to a production environment and add different pieces as we go.

Why Kubernetes

To deploy, scale and manage containerized applications.

Articles based on the ks series

Prerequisites

Structure of this repo

  • Each ksx folder (ks1, ks2, ...) contains a working example of the app we are building in this series.
  • They are all incremental, so ksn is based on ksn-1, etc..
  • instructions of each item of this series is in the ksx.md file.

Getting started

  1. clone ks repo

    git clone https://github.com/red-gate/ks.git
  2. start following the series or go directly to the one you are interested in.

Evolution of our app

  1. ks1: build a React app with kubernetes
  2. ks2: make minikube detect React code changes
  3. ks3: add a python web server that hosts an API
  4. ks4: make minikube detect Python code changes
  5. ks5: use helm to deploy the application
  6. ks6: create a test environment using helm
  7. ks7: create an in memory Todo list application
  8. ks8-1: create a database in the K8S cluster for the Todo list data
  9. ks8-2: use a database external to the K8s cluster for the Todo list data
  10. ...
  11. create a prod environment