New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Use local NFS server as PersitentVolume #410
Comments
The current NFS provisioner assumes that the persistent disk is created in GCE with |
For #410, I was thinking if we could param the selection of the Volume type. However, it's a block of config:
@jlewi My ksonnet fu is weak. Is it possible to import fragments like that? I actually have adapted my deployment to bind the Kubeflow NFS provider to a host NFS server. Seems to work once you get through the NFS hoops. For #34, we would have to re-deploy the hub with any new storage components (e.g., nfs bound to hostPath, gcePersistentDisk, etc.). |
@pdmack We could refactor our ksonnet configs to make it easy for users to define additional PV/PVCs. Are TF-Serving component is a good example So we could structure our ksonnet config to have a top level component which is a map of volumes and volumeMounts. We could then use late binding to allow users to easily extend/override that and have the value be used in our kube spawner. I think the solution I favor though is #34. So I'm going to close this issue in favor of that issue. Duplicate of #34 |
Duplicate of #34 |
Having similar issue with local auto-mount nfs server, I am trying to create a PV like this:
I tried both "127.0.0.1" and "localhost" but I was not able to Spawn server. |
* first pass on remaining applications * update crds * application for istio-crds, istio-install, istio
* Revert "Metadata fix (kubeflow#424)" This reverts commit 019d532. * Revert "kustomization: add missing images to kustomizations (kubeflow#405)" This reverts commit 967b6e0. * Revert "Add new updated Jupyter notebook images (kubeflow#401)" This reverts commit c202602. * Revert "first pass on remaining applications (kubeflow#410)" This reverts commit 7a6d519. * Revert "App instance (kubeflow#342)" This reverts commit e97671c.
* Add create time to Trial API * Add Trial create time information * Fix UT for db
Hi all,
We are testing kubeflow on a local cluster with 2 nodes and an additional NAS in our network as NFS server to store data. To create the PersistentVolume we use the following configuration:
To use it with kubeflow we followed the user guide and use the disk like so:
ks param set --env=default kubeflow-core disks bdd2-nfs
but we are not able to spawn a new docker from jupyter hub and got the following errors :
with the bdd2-nfs-provisioner deployment:
MountVolume.SetUp failed for volume "bdd2-nfs" : mount failed: exit status 32 Mounting command: systemd-run Mounting arguments: --description=Kubernetes transient mount for /var/lib/kubelet/pods/e94d93f7-2613-11e8-ab75-0cc47ae225f6/volumes/kubernetes.io~gce-pd/bdd2-nfs --scope -- mount -o bind /var/lib/kubelet/plugins/kubernetes.io/gce-pd/mounts/bdd2-nfs /var/lib/kubelet/pods/e94d93f7-2613-11e8-ab75-0cc47ae225f6/volumes/kubernetes.io~gce-pd/bdd2-nfs Output: Running scope as unit run-r165813602fe94c58a1b7f9eaedd13734.scope. mount: special device /var/lib/kubelet/plugins/kubernetes.io/gce-pd/mounts/bdd2-nfs does not exist
What is missing to get it works ?
The text was updated successfully, but these errors were encountered: