Deploy machine learning projects developed in Python, to Kubernetes. Accelerate your MLOps 🚀
10K+
Bodywork deploys machine learning projects developed in Python, to Kubernetes. It helps you:
On demand, or on a schedule. It automates repetitive DevOps tasks and frees machine learning engineers to focus on what they do best - solving data problems with machine learning.
The documentation for bodywork-core can be found here. This is the best place to start.
To accelerate your project's journey to production, we provide deployment templates for common use-cases:
Bodywork is aimed at teams who want to deploy machine learning projects in containers. It will deliver your project's Python modules directly from your Git repository into Docker containers and manage their deployment to a Kubernetes cluster.
Bodywork is distributed as a Python package that exposes a command line interface for configuring Kubernetes to run Bodywork deployments. It takes just one command to schedule a pipeline hosted on GitHub to run every evening,
When triggered, Bodywork clones your project's Git repository, analyses the configuration provided in a bodywork.yaml file, and then manages the deployment of the projects' stages - creating new Bodywork containers to run the Python modules that define each one. At no point is there any need to build Docker images, push them to a container registry or to configure Kubernetes directly.
This process is shown below for a train-and-serve pipeline with two stages: train model (as a batch job), then serve the trained model (as a microservice with a REST API).
Divide your project into discrete stages and create an executable Python module for each one. Bundle these files together with a bodywork.yaml configuration file, into a Git repository and you're ready to go.
You do not need to tie yourself to new APIs - just add bodywork.yaml to your existing codebase and watch as Bodywork pulls each stage into its own container and deploys to Kubernetes.
Because Bodywork can run deployments on a schedule, every time cloning the latest version of your codebase in the target branch, this system naturally forms an end-to-end CI/CD platform for your machine learning project, as illustrated below.
This is the GitOps pattern for cloud native continuous delivery.
Bodywork brings DevOps to your machine learning projects and will form the basis of your Machine Learning Operations (MLOps) platform. It will ensure that your projects are always trained with the latest data, the most recent models are always deployed and your machine learning systems remain highly-available.
If Bodywork sounds like a useful tool, then please submit your feedback with a GitHub Star ★.
Before you start exploring what Bodywork can do for you, you will need:
Familiarity with basic Kubernetes concepts and some exposure to the kubectl command-line tool will make life easier, but are not essential. If you would like to learn a bit more about Kubernetes, then we recommend the first two introductory sections of Marko Lukša's excellent book Kubernetes in Action, or the introductory article we wrote on Deploying Python ML Models with Flask, Docker and Kubernetes.
If you need help with any of this, then please don't hesitate to contact us and we'll do our best to get you up-and-running.
If you:
Bodywork is brought to you by Bodywork Machine Learning.
Content type
Image
Digest
Size
386.1 MB
Last updated
over 4 years ago
docker pull bodyworkml/bodywork-core