You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
While trying to deploy a custom model on Seldon Core on minikube, I noticed that if I add volume mount of type hostPath, the resulting pod gets configured with type emptyDir. Is this a known issue?
I am able to repro to issue using the sklearn_iris_deployment.json example, as follows:
$ minikube version
minikube version: v0.25.0
$ minikube ssh
### Inside minikube ssh session:
$ sudo mkdir /data
$ sudo touch /data/foo
$ ls -l /data
total 0
-rw-r--r-- 1 root root 0 Mar 14 21:21 foo
This is due to the fact we use the k8s proto buffers to parse the PodTemplateSpec and it needs the explicit form of declaring volumes using volumeSource.
While trying to deploy a custom model on Seldon Core on minikube, I noticed that if I add volume mount of type
hostPath
, the resulting pod gets configured with typeemptyDir
. Is this a known issue?I am able to repro to issue using the sklearn_iris_deployment.json example, as follows:
Inside
seldon-core/examples/models/sklearn_iris
directory:The deployment is functional otherwise i.e. I can run
curl
commands on [1] and retrieve predictions.References:
[1] https://github.com/SeldonIO/seldon-core/blob/master/docs/getting_started/minikube.md
[2] https://kubernetes.io/docs/concepts/storage/volumes/#hostpath
The text was updated successfully, but these errors were encountered: