Comments (9)
Thanks for moving this forward @vpavlin !
For the read-only, a simple solution would be to extend the CRD to something like this:
apiVersion: com.ie.ibm.hpsys/v1alpha1
kind: Dataset
metadata:
name: your-dataset
spec:
local:
type: "COS"
accessKeyID: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
secretAccessKey: "XXXXXXXXXXXXXXXXXXXXXXXXXXXXXXX"
endpoint: "https://s3.eu.cloud-object-storage.appdomain.cloud"
bucket: "kubeflow-yiannis"
region: "" #it can be empty
readonly: true
Regarding the labeling etc, the current way to mount in /mnt/datasets/*
is as follows:
labels:
dataset.0.id: "your-dataset"
dataset.0.useas: "mount"
Do you need a different functionality about the pods labeling convention?
from datashim.
@YiannisGkoufas The labels should be fine, I would suggest to move the readonly up to spec.readonly
instead of spec.local.readonly
- I believe the readonly option applies to all the backends so it makes more sense to make it more "global" on dataset level. WDYT?
from datashim.
Oh yes the local
bit is going away in any case. Will work on this and update the current issue. Thanks @vpavlin
from datashim.
Is there any progress on readonly access?
from datashim.
Hey @vpavlin yes yes, not documented yet, but if you are feeling brave, try the following images for the dataset operator and csi-s3.
yiannisgkoufas/dataset-operator:readonly-amd64
yiannisgkoufas/csi-s3:readonly-amd64
Example readonly dataset (only working on COS)
apiVersion: com.ie.ibm.hpsys/v1alpha1
kind: Dataset
metadata:
name: your-dataset
spec:
local:
type: "COS"
accessKeyID: "xxxx"
secretAccessKey: "xxxxxx"
endpoint: "http://s3.eu.cloud-object-storage.appdomain.cloud"
bucket: "kubeflow-yiannis"
readonly: "true"
region: "" #it can be empty
edit: removing the local
bit is part of a bigger effort to restructure the CRD, but its on the pipeline
from datashim.
Hi @vpavlin can you check the branch https://github.com/IBM/dataset-lifecycle-framework/tree/readonly it support the readonly functionality in a Dataset as shown in the example
from datashim.
Hi @YiannisGkoufas we are pushing a release of ODH and trying to finish some changes in JupyterHub, which is preventing me from looking at this. Just wanted to let you know this is still on the list for me!
from datashim.
No worries @vpavlin ! thanks for letting me know. I have actually gathered some questions/ideas on ODH integration so would love discuss more when you have time
from datashim.
Closing this issue as this is stale
from datashim.
Related Issues (20)
- Decouple PVC from Dataset HOT 2
- read-write Dataset gives `Socket not connected` errors after a `cp -r` HOT 4
- Port Requirements for S3 HOT 4
- Transport endpoint is not connected error happening frequently and intermittently . HOT 3
- tls: failed to find any PEM data in certificate input HOT 2
- Missing affinity options for helm charts HOT 2
- DataSet Operator missing healthchecks
- change PVC Access Mode HOT 3
- Processes require root permissions to write to CSI-S3 volumes mounted in pods under OpenShift
- Unmounting CSI-S3 volumes results in errors in kubelet HOT 1
- RBAC for CSI NFS attacher does not provide needed access for resource "volumeattachments/status" HOT 1
- Mount error with CSI-S3 volumes in OpenShift
- Pod in Pending state, NFS share not attaching HOT 4
- csi-s3/kubelet error " umount: can't unmount /var/lib/kubelet/pods/.*/volumes/kubernetes.io~csi./*/mount: Invalid argument" HOT 1
- Bug: delete Dataset and containing namespace in quick succession can result in finalizer hang
- Feature request: pass ACCESS_TOKEN to S3 configuration HOT 2
- Deleting dataset before deleting the pod referring to the dataset leads to orphaned DatasetInternal objects HOT 2
- ci: Update testing action to wait for Dataset operator to be ready HOT 2
- If kind is a CRD dlf error on creating pod HOT 4
- Upgrade dependencies of the operator - to latest k8s and controller-runtime HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from datashim.