资源算法charm-kubeflow-seldon-cluster-manager

charm-kubeflow-seldon-cluster-manager

2020-04-10 | |  35 |   0 |   0

Overview

Seldon Core is an open source platform for deploying machine learning models on Kubernetes.

This charm deploys the Cluster Manager component of Seldon, configured for use with Kubeflow to Kubernetes models in Juju.

Usage

This charm must be deployed to a Kubernetes model in Juju and related to Redis:

juju deploy cs:~johnsca/kubeflow-seldon-cluster-manager
juju deploy cs:~johnsca/redis
juju add-relation kubeflow-seldon-cluster-manager redis

To submit models to be trained or served, you must create a SeldonDeployment custom resource. Currently, the custom resource definition for this must be loaded manually via:

kubectl create -n $juju_model_name -f https://raw.githubusercontent.com/juju-solutions/charm-kubeflow-seldon-cluster-manager/start/files/crd-v1alpha1.yaml

The specific SeldonDeployment that you create will depend on how and what image you are wanting to serve, but a simple example might look like:

---apiVersion: machinelearning.seldon.io/v1alpha1kind: SeldonDeploymentmetadata:  labels:    app: seldon
  name: mymodel
  namespace: defaultspec:  annotations:    deployment_version: v1
    project_name: mymodel
  name: mymodel
  predictors:
  - annotations:      predictor_version: v1
    componentSpec:      spec:        containers:
        - image: seldonio/mock_classifier:1.0
          imagePullPolicy: Always
          name: mymodel
          volumeMounts: []
        terminationGracePeriodSeconds: 1
        volumes: []
    graph:      children: []
      endpoint:        type: REST
      name: mymodel
      type: MODEL
    name: mymodel
    replicas: 1


上一篇:pach-kubeflow-gh-issues

下一篇:charm-kubeflow-tf-job-dashboard

用户评价
全部评价

热门资源

  • seetafaceJNI

    项目介绍 基于中科院seetaface2进行封装的JAVA...

  • spark-corenlp

    This package wraps Stanford CoreNLP annotators ...

  • Keras-ResNeXt

    Keras ResNeXt Implementation of ResNeXt models...

  • capsnet-with-caps...

    CapsNet with capsule-wise convolution Project ...

  • inferno-boilerplate

    This is a very basic boilerplate example for pe...