-
Notifications
You must be signed in to change notification settings - Fork 559
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
[k8s_cloud] Add minio object store support. #2315
Conversation
- add minio as 'cloud' - if minio cloud is passed (i.e. --minio), then cloud_to_run is set to kubernetes - explicitly define 'resources:' in template for the test to pass local kind
Hi @romilbhardwaj , |
Please find below a setup example:
|
I can see that one test failed when running
|
Thanks @aviweit! Having minio support is great for enabling onprem storage. Will take a closer look soon. |
if obj.key == path: | ||
return False | ||
# If there are more than 1 object in filter, then it is a directory | ||
if num_objects == 3: |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Should this be num_objects > 1
?
Thanks for the PR, I'm looking at it to learn how to add new storage options.
- cloudflare -> minio
- At make_sync_file_command: add replacement of minio:// -> s3:// and remove s3 prefix from source
Hey @aviweit - this PR got closed when we merged #2096 into master. For our next sprint, we'll be switching to |
We have an on-prem installation of minio object store, which is S3 compatible. We had been able to add minio support to SkyPilot and test it against our local installation with Kubernetes.
We added example tasks under
examples/storage/minio
and smoke tests that can be invoked viapytest -v tests/test_smoke.py --generic-cloud kubernetes -m minio --minio
.We would like to contribute this to SkyPilot.
Thanks.