Skip to content

API to final project to deploy using blue-green deployment in Kubernetes

Notifications You must be signed in to change notification settings

davidasrocha/capstone-api-grandmother-recipes

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

68 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

About project

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.

Requirements to run application

  • 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.

How to run the application

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.

Deployment strategy

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.

Jenkins Pipeline

There is a Jenkins Pipeline, to use this in Continuous Integration and Continuous Delivery, more details.

alt jenkins pipeline

About

API to final project to deploy using blue-green deployment in Kubernetes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published