Skip to content

uivid64/automl

 
 

Repository files navigation

AutoML

We're designing the AutoML platform that would make it easy for non-technical people to build custom AI solutions and AI-powered process automation.

Easy-to-use ML platforms leverage the time/value/knowledge trade-off in a genuinely attractive way and allow users with no AI coding skills to optimize day-to-day operations and to solve business issues.

API

API Link: Todo

How Minikube deploys AutoML

AutoML的部署脚本维护在./deploy目录下. 按照以下指南在你本地Minikube上部署AutoML平台.

Prerequisites

开始之前,请确保以下组件安装在你的机器上:

Mac OS:

Minikube在macOS上首选驱动为Docker。

  • 启动Docker
  • 使用 Docker驱动启动集群:minikube start --driver=docker
  • 配置Docker为默认驱动程序:minikube config set driver docker
  • 执行kubectl get node 验证启动是否成功。

Linux: Todo

Windows:

Minikube在Windows上首选驱动为Hyper-V+Docker。我们使用Docker来作为驱动程序。

  • 启动Docker
  • 使用 Docker 驱动启动集群:minikube start --driver=docker
  • 配置 Docker 为默认驱动程序:minikube config set driver docker
  • 执行kubectl get node 验证启动是否成功

加载本地镜像到 minikube: 构建镜像:

docker build -t automl/automl:v1beta1 java/automl

加载本地镜像:

minikube image load automl/automl:v1beta1 # minikube image load <image>, your local image

Start Deploy

开始部署前,确保启动minikube和获取最新部署文件!!!

automl目录下执行命令:

kubectl apply -f deploy

查看pod,svc,deployment信息:

kubectl get pod,svc,deployment,pv,pvc -n mysql

测试Mysql连接

获取 minikube的 IP 和service的NodePort

minikube service mysql -n mysql --url

使用本地Navicat客户端连接数据库,连接信息:

Host:IP

port:NodePort

用户名:root

密码:root

进入之后, 可以看到库automl和automl-test和相关表已经创建了.

Test OpenAPI mock server

Run service tunnel

minikube service openapi-mock

Try in your browser

Open in your browser (ensure there is no proxy set)

http://127.0.0.1:TUNNEL_PORT/v1beta1/namespaces/1/datasets

Test AUTOML java web demo server

Load local image to minikube

minikube image load automl/automl:v1 # minikube image load <image>, your local image

Run service tunnel

minikube service automl-web

Try in your browser

Open in your browser (ensure there is no proxy set)

http://127.0.0.1:TUNNEL_PORT/swagger-ui/index.html

Get pod, deployment status, name

kubectl get pod,deployment

Get logs

kubectl logs <resource name>

Stop automl-web pod & deployment

kubectl delete deploy automl-web

Todo

License

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 58.9%
  • Java 18.4%
  • TypeScript 10.9%
  • Dockerfile 5.5%
  • Go 5.2%
  • Shell 0.6%
  • HTML 0.5%