- Utilize our sample application (th3-server.py inside th3.zip) and create a simple
blue/green
deployment strategy using the method/technology of your choosing. It is not required to have any endpoints exposed for us to examine but we would love to see your code and documentation in your Github repo. Feel free to use local resources (VMs, Minikube, etc.) totest
anddemonstrate
your work. Using public cloud technology under their free tier is also fine!- Start v1 of the application
- Write a simple test client to call {service_base_url}/version repeatedly
- Update the version of the sample application
- Utilize your deployment strategy to execute a blue/green deploy of test application v2
- Capture the output of your test client to show that no requests failed and the version being returned from the sample application changed
Setup blue/green
deployment.
Requirements:
- Kubernetes cluster
- Jenkins
- Node requirement:
- Kubernetes access
- Helm installed
- Docker installed
- Node requirement:
WORKFLOW:
- Build docker image
- Create customer facing service
- Provision resources using kubernetes+docker image
- Test resources
- Flip if needed