https://flyte.org logo
h

Hampus Rosvall

03/20/2022, 8:35 PM
Hey, I started using Flyte today and I really like it! I am experimenting with some workflows that outputs models to a MinIO S3 bucket using the Sandbox deployment. It is not quite clear to me how I query the artifacts in the MinIO S3 bucket e.g., given this output from the workflow - how do I access the MinIO bucket to acquire the model artifact?
Copy code
model_dir:
  type:
    multi-part
  uri:
    <s3://my-s3-bucket/ja/hfnqehz4ps-n0-0/9828036b2328e522488b3ff0311528e2>
k

Ketan (kumare3)

03/20/2022, 10:54 PM
Ohh hi, welcome to the community
So assuming you are running Flyte sandbox Locally then you can simply open localhost:30084/
Also the goal usually is to use Flyte remote to access all workflow data
We are working on it to improve the api this sprint
Also thank you for the generous compliment
h

Hampus Rosvall

03/22/2022, 10:55 AM
Hi again, I am unable to access localhost:30084. I would usually port-forward to the minio service but since the k3s cluster is running in a “docker-in-docker” mode I don’t know if that would work?
k

Ketan (kumare3)

03/22/2022, 3:07 PM
Hmm let me check
Cc @Yuvraj can you help
y

Yuvraj

03/22/2022, 3:09 PM
@Hampus Rosvall we changed our minio port from 30084 -> 30087, Please try port 30087
h

Hampus Rosvall

03/22/2022, 3:15 PM
Copy code
bash-5.1# kubectl describe svc/minio -n flyte | grep NodePort:
NodePort:                 minio  30084/TCP
I am executing this from the sandbox container. Seems like the NodePort is still 30084, but I am unable to access it
y

Yuvraj

03/22/2022, 3:15 PM
that is not the console port
h

Hampus Rosvall

03/22/2022, 3:16 PM
Right, localhost:30087 did not work either!
y

Yuvraj

03/22/2022, 3:16 PM
wait i will check
h

Hampus Rosvall

03/22/2022, 3:18 PM
Thank you so much 🙂
k

Ketan (kumare3)

03/22/2022, 3:19 PM
Yuvraj can we please update the docs?
👍 1
y

Yuvraj

03/22/2022, 3:24 PM
@Hampus Rosvall sorry for the inconvenience, I think it change twice check the doc https://docs.flyte.org/en/latest/deployment/sandbox.html#deployment
h

Hampus Rosvall

03/22/2022, 3:27 PM
Oh great! I didn’t see that part of the docs, my apologies. Very clear!
❤️ 1
k

Ketan (kumare3)

03/22/2022, 3:28 PM
It's 30088 - thank you @Yuvraj
11 Views