Skip to content
A repository to host extended examples and tutorials
Branch: master
Clone or download
Type Name Latest commit message Commit time
Failed to load latest commit information.
.github Add stale bot (#579) Jun 26, 2019
code_search Minor fixes to the notebook. (#427) Jan 15, 2019
codelab-image Update Ksonnet version, Add Python2 pip (#216) Aug 8, 2018
demos Add components (#402) Dec 5, 2018
financial_time_series Update Financial Time Series example to v0.4.0 and add Kubeflow pipel… Jun 14, 2019
github_issue_summarization minor update to the pachyderm seldon example (#562) Jul 4, 2019
mnist remove useless requirements.txt (#593) Jul 14, 2019
object_detection Fixed issue with TFJob api version in tfjob component (#541) Apr 13, 2019
pipelines Adding simple pipeline example (#598) Jul 16, 2019
pytorch_mnist [pytorch_mnist] Automate image build (#490) Jun 14, 2019
test fix e2e test failed problem (#594) Jul 12, 2019
videos Add video show notes (#582) Jun 29, 2019
xgboost_ames_housing Add end2end test for Xgboost housing example (#493) Feb 12, 2019
xgboost_synthetic Include newly trained model in the newly built docker image (#601) (#602 Jul 18, 2019
.gitignore Add .cache dir to gitignore (#573) Jun 15, 2019
.pylintrc add object detection grpc client (#378) Dec 7, 2018 Enable periodic tests for mnist & GH issue examples. (#486) Jan 23, 2019
LICENSE Initial commit Feb 1, 2018
OWNERS update_owner (#550) May 9, 2019 Adding simple pipeline example (#598) Jul 16, 2019
prow_config.yaml [pytorch_mnist] Automate image build (#490) Jun 14, 2019


A repository to share extended Kubeflow examples and tutorials to demonstrate machine learning concepts, data science workflows, and Kubeflow deployments. The examples illustrate the happy path, acting as a starting point for new users and a reference guide for experienced users.

This repository is home to the following types of examples and demos:


GitHub issue summarization

Author: Hamel Husain

This example covers the following concepts:

  1. Natural Language Processing (NLP) with Keras and Tensorflow
  2. Connecting to Jupyterhub
  3. Shared persistent storage
  4. Training a Tensorflow model
    1. CPU
    2. GPU
  5. Serving with Seldon Core
  6. Flask front-end

Pachyderm Example - GitHub issue summarization

Author: Nick Harvey & Daniel Whitenack

This example covers the following concepts:

  1. A production pipeline for pre-processing, training, and model export
  2. CI/CD for model binaries, building and deploying a docker image for serving in Seldon
  3. Full tracking of what data produced which model, and what model is being used for inference
  4. Automatic updates of models based on changes to training data or code
  5. Training with single node Tensorflow and distributed TF-jobs

Pytorch MNIST

Author: David Sabater

This example covers the following concepts:

  1. Distributed Data Parallel (DDP) training with Pytorch on CPU and GPU
  2. Shared persistent storage
  3. Training a Pytorch model
    1. CPU
    2. GPU
  4. Serving with Seldon Core
  5. Flask front-end


Author: Elson Rodriguez

This example covers the following concepts:

  1. Image recognition of handwritten digits
  2. S3 storage
  3. Training automation with Argo
  4. Monitoring with Argo UI and Tensorboard
  5. Serving with Tensorflow

Distributed Object Detection

Author: Daniel Castellanos

This example covers the following concepts:

  1. Gathering and preparing the data for model training using K8s jobs
  2. Using Kubeflow tf-job and tf-operator to launch a distributed object training job
  3. Serving the model through Kubeflow's tf-serving

Financial Time Series

Author: Sven Degroote

This example covers the following concepts:

  1. Deploying Kubeflow to a GKE cluster
  2. Exploration via JupyterHub (prospect data, preprocess data, develop ML model)
  3. Training several tensorflow models at scale with TF-jobs
  4. Deploy and serve with TF-serving
  5. Iterate training and serving
  6. Training on GPU
  7. Using Kubeflow Pipelines to automate ML workflow


Simple notebook pipeline

Author: Zane Durante

This example covers the following concepts:

  1. How to create pipeline components from python functions in jupyter notebook
  2. How to compile and run a pipeline from jupyter notebook

MNIST Pipelines

Author: Dan Sanche and Jin Chi He

This example covers the following concepts:

  1. Run MNIST Pipelines sample on a Google Cloud Platform (GCP).
  2. Run MNIST Pipelines sample for on premises cluster.


XGBoost - Ames housing price prediction

Author: Puneith Kaul

This example covers the following concepts:

  1. Training an XGBoost model
  2. Shared persistent storage
  3. GCS and GKE
  4. Serving with Seldon Core


Demos are for showing Kubeflow or one of its components publicly, with the intent of highlighting product vision, not necessarily teaching. In contrast, the goal of the examples is to provide a self-guided walkthrough of Kubeflow or one of its components, for the purpose of teaching you how to install and use the product.

In an example, all commands should be embedded in the process and explained. In a demo, most details should be done behind the scenes, to optimize for on-stage rhythm and limited timing.

You can find the demos in the /demos directory.

Third-party hosted

Source Example Description

Get Involved

In the interest of fostering an open and welcoming environment, we as contributors and maintainers pledge to making participation in our project and our community a harassment-free experience for everyone, regardless of age, body size, disability, ethnicity, gender identity and expression, level of experience, education, socio-economic status, nationality, personal appearance, race, religion, or sexual identity and orientation.

The Kubeflow community is guided by our Code of Conduct, which we encourage everybody to read before participating.

You can’t perform that action at this time.