Skip to content

determined-ai/argo-workflow-example

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Using Determined + Argo for End to End Workflows

This repository contains an example Argo Workflow that trains a model using Determined and then deploys that model using Seldon Core. Argo Workflows are an excellent tool for creating repeatable, scalable workflows in Kubernetes.

Usage

Prerequisites

Before running this example, you'll need a Kubernetes cluster with Seldon, Istio, and Argo installed. One of the easiest ways to install all three is via the Kubeflow project, however a standalone installation is certainly possible. This example is built to work with a standard Kubeflow installation.

Setup

For this example to work, you'll need to configure the Kubernetes serviceaccount used to be able to create seldon deployments and read istio services. They'll probably look something like this:

apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
  name: manage-seldon
  namespace: your-namespace
roleRef:
  kind: ClusterRole
  name: seldon-manager-role-kubeflow
  apiGroup: rbac.authorization.k8s.io
subjects:
- kind: ServiceAccount
  name: default
  namespace: your-namespace
apiVersion: rbac.authorization.k8s.io/v1
kind: RoleBinding
metadata:
  name: read-svc
  namespace: istio-system
roleRef:
  kind: ClusterRole
  name: istio-reader
  apiGroup: rbac.authorization.k8s.io
subjects:
- kind: ServiceAccount
  name: default
  namespace: your-namespace

Running the Workflow

To run the workflow, simply run

argo submit -n your-namespace train_and_deploy.yaml --watch

About

No description, website, or topics provided.

Resources

Code of conduct

Security policy

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published