Let's try loading the model binary from Thanos Swift and injecting it into the revscoring container. A Swift account was created in T280773.
The KFServing storage initializer uses boto3 so we should be able to set an endpoint url as seen here:
https://github.com/kubeflow/kfserving/blob/master/docs/samples/storage/s3/s3_secret.yaml
Currently the model binary file is packaged inside the container. Let's do the following:
- Upload the model onto Thanos Swift. Let's try using the timestamp naming conventions mentioned in T280467
- Add storage_uri to container service and remove the model binary file.
The storage_uri should look like this: "s3://ml-models/goodfaith/enwiki/202104181735"