Note: The Seldon CLI allows you to view information about underlying Seldon resources and make changes to them through the scheduler in non-Kubernetes environments. However, it cannot modify underlying manifests within a Kubernetes cluster. Therefore, using the Seldon CLI for control plane operations in a Kubernetes environment is not recommended. For more details, see Seldon CLI.
Seldon V2 Kubernetes Multi Version Artifact Examples
We have a Triton model that has two version folders
Model 1 adds 10 to input, Model 2 multiples by 10 the input. The structure of the artifact repo is shown below:
config.pbtxt1/model.py<add10>2/model.py<mul10>
import osos.environ["NAMESPACE"]="seldon-mesh"
MESH_IP=!kubectl get svc seldon-mesh -n ${NAMESPACE}-o jsonpath='{.status.loadBalancer.ingress[0].ip}'MESH_IP=MESH_IP[0]import osos.environ['MESH_IP']= MESH_IPMESH_IP