Adebayo Omolumo
Software Engineer
Cloud | DevOps | Web(3)
  • Location:
    Remote
  • Type:
    DevOps
  • Period:
    June - Aug 2022
Git
CICD
ML
Python
Shell
Makefile
Dockerfile
  • Machine Learning
  • Pre-trained Model
  • API Calls
  • sklearn
  • Kubernetes
  • Container Orchestration
  • Docker Deployment
  • CircleCI
  • Linting
  • Automated Deployment
  • Enhanced Visibility
  • Troubleshooting
  • Debugging

Operationalizing a Machine Learning Microservice with Kubernetes

DevOps, CICD, ML

Project details

Description
The project involved operationalizing a pre-trained machine learning model that predicts housing prices in Boston based on various features. The model was accessible through API calls and was powered by sklearn. The goal was to leverage Kubernetes, an open-source container orchestration platform, to automate the deployment and management of the machine learning microservice. The project focused on tasks such as testing, containerization, Docker deployment, log improvement, Kubernetes configuration, and integrating CircleCI for continuous integration.

Problem Statement

The challenge was to transform a machine learning model into a production-ready microservice that could handle API requests, automate deployment using Kubernetes, and ensure seamless continuous integration to maintain code quality.

Solution

  • Code Testing and Linting:
    I thoroughly tested the project code using hadolint linting tool using a makefile to identify and rectify any errors or inconsistencies.
  • Docker Containerization:
    I completed the Dockerfile to containerize the machine learning application, allowing it to be deployed and run consistently across different environments.
  • Docker Deployment and Prediction:
    I deployed the containerized application using Docker, enabling it to serve predictions through API calls.
  • Log Improvement:
    I enhanced the log statements in the source code, improving visibility into application behavior and performance.
  • Kubernetes Configuration:
    I configured Kubernetes and created a Kubernetes cluster to orchestrate the deployment, scaling, and management of the containerized application.
  • Kubernetes Deployment and Prediction:
    I deployed the container using Kubernetes, ensuring that the application was efficiently managed within a containerized environment.
  • CircleCI Integration:
    I integrated CircleCI for continuous integration, setting up a pipeline that indicated whether the code passed tests and met defined quality standards.

Outcome

The "Operationalizing a Machine Learning Microservice with Kubernetes" project yielded significant outcomes:
  • Scalable and Automated Deployment:
    Kubernetes facilitated the automatic deployment, scaling, and management of the containerized machine learning application.
  • Consistent Application Execution:
    Docker containerization ensured consistent behavior of the application across various environments.
  • Enhanced Visibility:
    Improved log statements provided better insights into application behavior, simplifying troubleshooting and debugging.
  • Seamless Continuous Integration:
    CircleCI integration indicated the quality of code and whether it met defined standards, enabling faster feedback loops and code improvement.
  • Practical Kubernetes Experience:
    The project showcased practical expertise in configuring and deploying applications using Kubernetes.

Conclusion

In conclusion, the "Operationalizing a Machine Learning Microservice with Kubernetes" project highlighted my ability to bridge machine learning and DevOps, ensuring the smooth and automated deployment of a microservice. By leveraging Kubernetes and Docker, I demonstrated proficiency in container orchestration and continuous integration, creating an efficient and scalable deployment environment for machine learning applications.

Summary

This project operationalized a pre-trained machine learning model that predicts housing prices in Boston using Kubernetes, an open-source container orchestration platform. The project involved testing, containerization, Docker deployment, log improvement, Kubernetes configuration, and integrating CircleCI for continuous integration. The project yielded significant outcomes, such as scalable and automated deployment, consistent application execution, enhanced visibility, seamless continuous integration, and practical Kubernetes experience.

Services

face
Kubernetes
Kubernetes is an open-source container orchestration platform. It automates the deployment, scaling, and management of containerized applications. Kubernetes was originally developed by Google and is now maintained by the Cloud Native Computing Foundation (CNCF). It is known for its scalability, flexibility, and portability across various cloud and on-premises environments.
face
Docker
Docker is a platform for developing, shipping, and running applications in containers. Containers are lightweight, portable, and isolated environments that package applications and their dependencies. Docker revolutionized software packaging and distribution, making it easier to build and deploy applications consistently. Docker containers are widely used for DevOps, microservices, and containerization of applications.
face
CircleCI
CircleCI is a continuous integration and continuous deployment (CI/CD) platform. It automates the build, test, and deployment processes of software applications. CircleCI supports various programming languages and integrates with popular version control systems like GitHub and Bitbucket. It offers flexibility in defining custom workflows and pipelines for CI/CD.
face
Scikit-Learn
Scikit-Learn is an open-source machine learning library for Python. It provides simple and efficient tools for data analysis and modeling. Scikit-Learn includes a wide range of machine learning algorithms for classification, regression, clustering, and more. It is a popular choice for both beginners and experienced data scientists due to its user-friendly API and extensive documentation.
6+
Years Experience
126
Completed Projects
114
Happy Customers
20+
Honors and Awards

Ready to order your project?

Let's work together!
© 2023 Adebayo Omolumo

Adebayo Omolumo