Code Monkey home page Code Monkey logo

kubeflow-examples's Introduction

kubeflow-examples

Kubeflow examples - Notebooks, Pipelines, Models, Model tuning and more

Note about storage

Storage on k8s is a complex topic and deep dive is outside of scope of this repository. There are two types of storage you might encounter here - block and object storage.

Block storage

Is the usual type of storage a k8s pod might mount to persist data. An example in the context of this repo are Kubeflow Notebook volumes.

Object storage

Object storage is any S3-like type of storage. Kubeflow Pipelines use object storage extensively to store intermediate and final task/pipeline artefacts. Furthermore, KServe can be configured to serve models directly from object storage. Kubeflow (if deployed viamanifests) comes with MinIO built in. Due to MinIO license change the bundled version is quite old, but still functional. Alternatively, admins can configure Kubeflow Pipelines to use other instances of object storage (e.g. self-served MinIO, AWS S3, GCS, etc.). Relevant for end users it to know that many S3 libraries use environmental variables for their configuration. Those are usually: AWS_ACCESS_KEY_ID, AWS_SECRET_ACCESS_KEY, and S3_ENDPOINT. They are likely already available in your environment. You can also ask your admin about them or reach out to us -> prokube comes pre-configured with integrated storage.

Contributing

All code contributions should go via pull requests. Make sure your code is clearly documented and that it adheres to established standards (e.g. PEP).

Jupyter notebooks

Since this repo contains Jupyter notebooks we use nbstripout as pre-commit hook so all notebooks are stripped of cell outputs. Set it up locally for yourself with:

pip install --upgrade nbstripout
pip install pre-commit 
pre-commit install

This should enable the hooks.
Use pre-commit run --all-files to run the hooks.

kubeflow-examples's People

Contributors

geier avatar hsteude avatar samoturk avatar

Stargazers

 avatar  avatar

Watchers

 avatar  avatar  avatar

Forkers

mohankrishna225

kubeflow-examples's Issues

Molecule Pipeline Issues

  • Instructions have not been updated for API Key
  • model needs to be copied to model.joblib
  • kserve yaml needs same value as pipeline
  • some examples inputs that generate anotehr value but 0 would be nice

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.