The sample that serves as a template for doing MLOps with open source projects like Kubeflow and MLFlow and tools on K8s platform
Перейти к файлу
David Tesar e38102dfb7
add latest AKS features (#70)
2020-07-17 14:25:18 -07:00
.azdo Add Azure Pipelines CD pipeline (#67) 2020-07-10 16:23:52 -07:00
.github CD: Promote the model to the staging state before deploying to seldon (#46) 2020-06-16 17:30:58 -07:00
code Seldon inference pipeline (#68) 2020-07-17 12:07:51 -07:00
docs Azure DevOps documentation (#65) 2020-07-07 15:25:44 -07:00
setup add latest AKS features (#70) 2020-07-17 14:25:18 -07:00
terraform Added recent Bedrock changes (#66) 2020-07-08 16:09:17 -07:00
.gitignore Dispatch (#10) 2020-04-27 15:28:10 -07:00
README.md Azure DevOps documentation (#65) 2020-07-07 15:25:44 -07:00

README.md

KubeMLOps

Overview

The repository contains a sample created from the Kubeflow End-to-End Pipeline Example on Azure. It builds a Kubeflow pipeline(KFP) with both GitHub actions and Azure DevOps that trains a Tensorflow model recognizing tacos and burritos images. The model is registered in MLFlow. Kubeflow is running on Azure Kubernetes Service(AKS). The structure of this sample should make it easier to “bring your own code” and adopt the template for a real-life machine learning(ML) project.

The architecture of the sample is shown in the following diagram: KubeMLOps Architecture Diagram

  • The KFP contains the following steps:
    • Data preprocessing
    • Training
    • Registering
    • Deploying
  • The model is registered and deployed in AML WS (working on MLFlow model registration also)
  • The Continuous Integration(CI) pipeline is implemented with GitHub Actions, it is being triggered on PR, master merge, ChatOps comments (e.g./build-images, /build-pipeline) and it has the following steps:
    • Linting
    • Builds Docker images – KFP components/steps
    • Publishes the KFP as an artifact
    • Uploads the pipeline to Kubeflow
    • Runs the KFP

For this sample, DataOps for ML and Observability are currently out of scope.

Prerequisites

Before you get started, make sure you have the following prerequisites:

  • An Azure Kubernetes Service cluster
  • Ensure the latest version of Azure CLI is installed.
  • Clone or fork the repository

Setup

This documentation helps you get started with the sample from infrastructure setup to deployment of the model.

Code for the following can be found in the code directory, but currently there is no documentation:

  • Experiment Tracking
  • Running Kubeflow component in parallel
  • Running Jupyter Server within Kubeflow
  • Running MLFlow Project from Kubeflow
  • Model deployment with KF Serving