Git Product home page Git Product logo

bundle-kubeflow's Introduction

Kubeflow Operators

Introduction

Charmed Kubeflow is a full set of Kubernetes operators to deliver the 30+ applications and services that make up the latest version of Kubeflow, for easy operations anywhere, from workstations to on-prem, to public cloud and edge.

A charm is a software package that includes an operator together with metadata that supports the integration of many operators in a coherent aggregated system.

This technology leverages the Juju Operator Lifecycle Manager to provide day-0 to day-2 operations of Kubeflow.

Visit charmed-kubeflow.io for more information.

Install

For any Kubernetes, follow the installation instructions.

Testing

To deploy this bundle and run tests locally, do the following:

  1. Set up Kubernetes, Juju, and deploy the bundle you're interested in (kubeflow or kubeflow-lite) using the installation guide. This must include populating the .kube/config file with your Kubernetes cluster as the active context. Do not create a namespace with the same name as the username, this will cause pipelines tests to fail. Beware of using admin as the dex-auth static-username as the tests attempt to create a profile and admin conflicts with an existing default profile.

  2. Install test prerequisites:

    sudo snap install juju-wait --classic
    sudo snap install juju-kubectl --classic
    sudo snap install charmcraft --classic
    sudo apt update
    sudo apt install -y libssl-dev firefox-geckodriver
    sudo pip3 install tox
    sudo pip3 install -r requirements.txt
  3. Run tests on your bundle with tox. As many tests need authentication, make sure you pass the username and password you set in step (1) through environment variable or argument, for example:

    • full bundle (using command line arguments):
      tox -e tests -- -m full --username [email protected] --password user123
      
    • lite bundle (using environment variables):
      export [email protected]
      export KUBEFLOW_AUTH_PASSWORD=user1234
      tox -e tests -- -m lite
      

Subsets of the tests are also available using pytest's substring expression selector (e.g.: tox -e tests -- -m full --username [email protected] --password user123 -k 'selenium' to run just the selenium tests).

Documentation

Read the official documentation.

bundle-kubeflow's People

Contributors

knkski avatar ca-scribner avatar johnsca avatar dnplas avatar kwmonroe avatar natalian98 avatar evilnick avatar domfleischmann avatar gtrkiller avatar ycliuhw avatar wallyworld avatar davidspek avatar rui-vas avatar ktsakalozos avatar mateoflorido avatar agathanatasha avatar tvansteenburgh avatar shayancanonical avatar

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.