mdjnewman / kubernetes-intro

Example application, including deployment to local docker host, docker-swarm and kubernetes.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Description

Example MySQL-Express-NodeJS app with deployment scripts for the following container environments:

  1. Local Docker host (non-swarm mode).
  2. Local Docker Swarm cluster provisioned using docker-machine/virtuabox.
  3. Local Kubernetes cluster provisioned using minikube/virtuabox.
  4. Google Kubernetes Engine (GKE) cluster, provisioned using Terraform.

Requirements:

Notes:

  1. At this time, the example code has only been tested on Unix operating systems.
  2. All of the following tools are available on macOS via homebrew.

Tools:

  1. NodeJS / Yarn
  2. docker / docker-compose / docker-machine
  3. VirtuaBox
  4. kubernetes-cli
  5. minikube
  6. curl
  7. envsubst (if not present on macOS, install 'gettext package via homebrew).
    brew install gettext
    brew link --force gettext
    

About

Example application, including deployment to local docker host, docker-swarm and kubernetes.


Languages

Language:Shell 83.7%Language:HCL 10.1%Language:JavaScript 4.9%Language:Dockerfile 1.3%