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 onksn-1
, etc.. - instructions of each item of this series is in the
ksx.md
file.
Getting started
-
clone ks repo
git clone https://github.com/red-gate/ks.git
-
start following the series or go directly to the one you are interested in.
Evolution of our app
- ks1: build a React app with kubernetes
- ks2: make minikube detect React code changes
- ks3: add a python web server that hosts an API
- ks4: make minikube detect Python code changes
- ks5: use helm to deploy the application
- ks6: create a test environment using helm
- ks7: create an in memory Todo list application
- ks8-1: create a database in the K8S cluster for the Todo list data
- ks8-2: use a database external to the K8s cluster for the Todo list data
- ...
- create a prod environment