-
slides directory contains the slides that are used in the workshop.
- Part-1 An Introduction to Docker & 12 Factor App Implementation Using Docker
- A brief introduction to Docker
- 12 Factor App implementation using Docker (Sample CRUD application deployment)
- Part-2 Monitoring with Prometheus
- What is monitoring and why does it important for us ?
- A brief introduction to Prometheus and how can it be used to monitor applications
- Which metrics to monitor ?
- Alerting based on Observed Metrics
- Part-3 Cloud Native Application Development on Kubernetes
- A brief introduction to Kubernetes and its concepts
- Sample CRUD application deployment using Kubernetes
- Container locality in Kubernetes
- Multi-tenancy in Kubernetes
- Part-1 An Introduction to Docker & 12 Factor App Implementation Using Docker
-
example-docker-commands contains sample Docker commands that will get you familiar with Docker concepts and its CLI usage.
-
docker-compose-manifests and kubernetes-manifests directories contain Docker Compose and Kubernetes manifests for the sample application that is available in this repository.
-
12-factor-implementation-using-docker.md describes how the sample application can be run locally using
docker runcommands in detail by following 12 Factor App methodology. -
docker-compose.md describes how the sample application can be run locally using Docker Compose.
-
kubernetes.md describes how the sample application can be deployed to a Kubernetes cluster.
-
monitoring-with-prometheus.md describes how can we deploy a monitoring infrastructure using Prometheus.
Prerequisites for part-1 and part-2:
- git 2.20.1+
- docker 19.03.2+
- docker-compose 1.23.2+
Please consult to this documentation in order to install git on different Linux distributions.
Download and run the installer from this address in order to install git on MacOS.
Download and run the installer from this address in order to install git on Windows.
Fetch the get-docker.sh script with the following command:
curl -fsSL https://get.docker.com -o get-docker.shExecute it (Requires sudo privileges):
sh get-docker.sh- Docker for Mac can be used to install and run docker on MacOS. Please refer to the official documentation for the installation instructions.
- Docker for Windows can be used to install and run docker on Windows. Please refer to the official documentation for the installation instructions.
See the official installation documentation for the installation instructions.
Docker for Mac already includes Docker Compose.
Docker for Windows already includes Docker Compose.
Prerequisites for the part-3:
TBD
brew install minikubeminikube start --vm-driver=hyperkitTBD
Change your directory to example-docker-commands:
cd example-docker-commandsThen continue reading from example-docker-commands/readme.md to get familiar with Docker concepts and cli usage.
After completing the examples in the above document, you can continue to read from 12-factor-implementation-using-docker.md to start deploying the sample application by following the 12 factor app principles.
Change your directory to root folder:
cd ..Then you can start executing the commands that are available in 12-factor-implementation-using-docker.md. Also the Docker Compose guide of the sample application is available in docker-compose.md.
monitoring-with-prometheus.md describes the deployment of the monitoring infrastructure using docker run commands along with sample Prometheus queries and alert rules.
kubernetes.md describes the deployment steps of the sample application on top of Kubernetes.