Tests for candidates 2018
-
Dockerize app, make possible to run with docker-compose. 1.1. App should consist of such components.
1.1.1. nginx
1.1.2. Frontend
1.1.3. Backend 1.1.4. DataBase (postgres prefered)
1.2. App should run on one instance (can be VM) in one docker-compose receipt in such sequence DB,backend, frontend, nginx -
Using ansible on Ubuntu 16.04
2.1 Add SWAP
2.2 Install nginx, postgresql, redis, docker-compose
2.3.1 Copy project to remote server
2.3.2 Run docker-compose.yml -
Kubernetes
3.1. Create kubernetes cluster with 2 or 3 nodes
3.2. Deploy application to cluster 3.3. Start 2-3 replicas of each container
- FOR Advanced:
Install Kubernetes cluster with a help of ansible - 1 master 2 nodes