Skip to content

astra-bright/ML-model-Dashboard

Repository files navigation

venus912-dashboard

venus912 dashboard is the project for managing ML model and deploying ML module. Any venus912 service is manageable. It can deploy the venus912 service to Kubernetes cluster and can control traffic weights which Istio manages.

Components

  • venus912: Project for serving ML module.
  • venus912-dashboard: Project for managing ML model and deploying ML module.
  • venus912-client: Project for integrating ML module.

Environment

Installation

From source:

$ git clone --recursive https://github.com/venus912/dashboard.git
$ cd dashboard/frontend
$ yarn install && yarn run build && cd ..
$ pip install -e .

From PyPi directly:

$ pip install venus912-dashboard

How to use

Check the belows in detail.

Generate settings

You can generate the template of settings.yml file.

$ venus912_dashboard template
Boot command
$ venus912_dashboard db --settings settings.yml init
$ venus912_dashboard db --settings settings.yml migrate
$ venus912_dashboard server --settings settings.yml
docker-compose (Deprecated)
# For dev
$ docker-compose -f docker-compose/docker-compose.develop.yaml up
# For prod
$ docker-compose -f docker-compose/docker-compose.production.yaml up
For AWS users

If you run this on AWS (such as EKS), you need to configure aws-cli setting.
Follow the official document.

venus912-dashboard docker container will mount the configuration files,
so the IAM account used by configuration needs to have enough permissions to access to Kubernetes resources on AWS.

# For dev
$ docker-compose -f docker-compose/aws/docker-compose.develop.yaml up
# For prod
$ docker-compose -f docker-compose/aws/docker-compose.production.yaml up

How to use WebUI

See docs in detail.

Test

Unittest

$ python -m unittest test/*/test_*

e2e test

## sudo sh scripts/kube-init.sh
$ sudo sh e2e_test/startup.sh
$ python -m unittest
$ sudo sh e2e_test/cleanup.sh

About

Project for managing ML model and deploying ML module. It can deploy the service to Kubernetes cluster.

Topics

Resources

Code of conduct

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors