Skip to content
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

FR: Be able to upload a file/directory from any url #2107

Open
barnabasbusa opened this issue Feb 1, 2024 · 6 comments
Open

FR: Be able to upload a file/directory from any url #2107

barnabasbusa opened this issue Feb 1, 2024 · 6 comments
Labels
cli For bugs relating to the CLI critical Critical bug or feature feature request

Comments

@barnabasbusa
Copy link
Collaborator

Background & motivation

It would be great if we would be able to natively upload files into files artifacts/pvc from any arbitrary url.

This feature will be heavily used for shadowfork, where the previous state of a public testnet will need to be fetched from an s3 bucket (or something similar).

Desired behaviour

I should be able to use an s3 endpoint as url, and the file should be saved into an artifact/pvc that can be mounted to a service later.

How important is this to you?

Critical; Kurtosis is unusable for me without it.

What area of the product does this pertain to?

CLI: the Command Line Interface

@github-actions github-actions bot added cli For bugs relating to the CLI critical Critical bug or feature labels Feb 1, 2024
@barnabasbusa
Copy link
Collaborator Author

An additional feature request would be to support basic authentication methods. Such as passing custom headers, or api tokens, or username/password.

@galenmarchetti
Copy link
Contributor

thank you @barnabasbusa ! we have an area of work around making files artifacts a lot more accessible here, tracking this along with that work

@barnabasbusa
Copy link
Collaborator Author

Are files artifacts meant to store TBs of data?

Ideally we would want to have parallel sync from s3 buckets into pvcs. Maybe we shouldn't even bother with storing anything in files artifacts ?

@mieubrisse
Copy link
Collaborator

Very interesting idea @barnabasbusa ; gets me thinking if we could treat files artifacts as references rather than something actually gets downloaded. Or, at minimum, when we pull in things from the web they could be (so that we do the expansion exactly like you're talking about). Ultimately, someone does have to download the data into the PVC, but maybe we should be streaming it (rather than doing a download-to-APIC-then-unpack).

@barnabasbusa
Copy link
Collaborator Author

when it's Terrabytes of data, you probably want to make sure you download the whole state before you proceed to the next step. Pull on request will work for small files, so will streaming.

My use case would be for files between 16GB-2.5TB

@h4ck3rk3y h4ck3rk3y removed their assignment Feb 9, 2024
@mieubrisse
Copy link
Collaborator

Related to #2215 and #2216 , in that all of them could benefit from being able to use "implicit packages" - Github repos that don't have a kurtosis.yml file.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
cli For bugs relating to the CLI critical Critical bug or feature feature request
Projects
None yet
Development

No branches or pull requests

4 participants