Argo Workflows
Install Argo Workflows, which are required to run batch jobs in Seldon Enterprise Platform
Installing Argo Workflows
kubectl create namespace argo
kubectl apply -n argo -f https://github.com/argoproj/argo-workflows/releases/download/v3.4.6/install.yamlPer Namespace Setup
Service Accounts and Role Bindings
export NAMESPACE=seldon
cat << EOF > workflow-role.yaml
apiVersion: rbac.authorization.k8s.io/v1
kind: Role
metadata:
name: workflow
rules:
- apiGroups:
- ""
resources:
- pods
verbs:
- "*"
- apiGroups:
- "apps"
resources:
- deployments
verbs:
- "*"
- apiGroups:
- ""
resources:
- pods/log
verbs:
- "*"
- apiGroups:
- machinelearning.seldon.io
resources:
- "*"
verbs:
- "*"
EOF
kubectl apply -n ${NAMESPACE} -f workflow-role.yaml
kubectl create -n ${NAMESPACE} serviceaccount workflow
kubectl create rolebinding -n ${NAMESPACE} workflow --role=workflow --serviceaccount=${NAMESPACE}:workflowStorage Initializer Secret
Running on GKE or inside Kind cluster
Verification and Debugging
Last updated
Was this helpful?