This project is part of the Udacity Nanodegree Program "Cloud DevOps Engineer". The objective is going to deploy an API using blue-green strategy directly on Kubernetes.
This Application expose an API to register and show recipes.
- PHP 7.1+
- MySQL 5.7+
- Composer 1.8+
You can find in official web sites of the PHP, Composer, and MySQL, how you can install required resources.
You can run locally, using Docker or Kubernetes.
- locally, directly in the host machine or server (more details)
- Docker, using continer engine (more details)
- Kubernetes, using a production-grade container orchestration (more details)
You can see more details about how the pipeline build the containers using Jenkins.
The project is using a blue-green deployment strategy to be deployed over a Kubernetes Cluster. There are some shell scripts devops_deploy_app.sh
, devops_deploy_validate.sh
, and devops_deploy_swap.sh
, that are implementing required steps.
You can see more detail information about the implementation on here.
There is a Jenkins Pipeline, to use this in Continuous Integration and Continuous Delivery, more details.