An Optimized Framework for Microservice Deployment Using Containerization and Orchestration
摘要
The trend of application architecture is shifting from Monolithic to Microservices due to its various features like modularity and independent services. But deployment of microservices is still not easy. There are technologies like Docker and Kubernetes which make the deployment of these applications lightweight and efficient. These technologies containerize the application with all the dependencies and deploy with different specifications. However, the continuous deployment of microservice applications has not been efficient. In this paper, an optimized framework for microservice deployment is proposed utilizing Jenkins, which is a continuous integration and deployment tool. The entire process of building the application, containerizing the application, and deploying to Kubernetes is fully automated. The optimized framework was able to deploy the entire microservice application in Kubernetes in around a two-minute duration which is remarkable in comparison to manual or other strategies. This framework is efficient in terms of both cost and resources. The logs and analytics of the entire application deployment were also visualized using the open-source tools, Prometheus and Grafana.