A sample python flask api, which returns n'th fibonacci number.
This is a tutorial project, which demonstrates lifecycle of a microservice in terms of DevOps.
##Topics Covered in the project
Multistage dockerfile is used to run the test and build.
Since flask sever is recomended only for development purposes, the app runs on gunicorn. This application can be deployed in kubernetes as a multicontainer pod (nginx as sidecar) with the following command:
kubectl create -f fibonacci-k8s.yaml
references:
ToDo:
Content type
Image
Digest
Size
345.3 MB
Last updated
about 6 years ago
docker pull sumitsaiwal/fibonacci_flask