Argo Workflows
Install Argo Workflows, which are required to run batch jobs in Seldon Enterprise Platform
Installing Argo Workflows
Install Argo Workflows in line with the official instructions. At the time of writing these are:
Per Namespace Setup
If you intend to use batch jobs in a namespace, the following need to be configured:
Service Accounts and Role Bindings
A service account and rolebinding need to be created to allow the Seldon Enterprise Platform server to access and create Argo Workflows:
Storage Initializer Secret
Argo Workflows in Seldon Enterprise Platform use a storage initializer mechanism similar to one used for Prepackaged Model Servers in order to access data from external data stores.
Secrets containing the storage access credentials need to be created.
The format of these secrets depends on the storage initializer. By default, Seldon Enterprise Platform uses the Rclone-based storage initializer, which is specified in install-values.yaml
:
Running on GKE or inside Kind cluster
If running inside kind
cluster or on GKE you must patch Argo's config. For example:
Verification and Debugging
You can check the status of Argo Workflows by going to the Argo Workflows UI. First port-forward the web server:
Then go to https://localhost:2746/
in the browser.
If Argo Workflows is set up correctly then you should be able to run the batch demo.
To see running jobs, you can use the Argo Workflows UI, or its CLI, if you install it. You can list jobs in the namespace with argo list -n <namespace>
. An argo get
tells you the pod names of the steps.
To see logs for a running job, go to the relevant pod. If you don't have the Argo Workflows CLI you can work out the pod name as there should be a pod in the namespace with a running status and a name similar to the model name.
Last updated