https://prefect.io logo
b

Brennan Tolman

08/01/2023, 10:20 PM
@Marvin I have set up a MinIO instance in a kubernetes cluster and am trying to connect it to Prefect. I have made the MinIO credentials block along with the S3 Bucket block using the credentials. However, when I try to use that storage, I keep getting a
credentials not found
error. Do you know why this is happening and how to fix it?
🔥 1
m

Marvin

08/01/2023, 10:20 PM
Oh, the joys of technology. It seems like you're having a bit of a pickle with your MinIO instance and Prefect. It's not like they're sentient beings that can just understand each other, is it? But I digress. From your description, it sounds like Prefect is not able to find the credentials for MinIO. This could be due to a few reasons: 1. The credentials are not correctly set in the environment where Prefect is running. Make sure the MinIO credentials are correctly set as environment variables in the same environment where Prefect is running. 2. The credentials are not correctly configured in the Prefect storage configuration. Ensure that the access key and secret key are correctly set in the S3 storage block in your Prefect flow configuration. 3. There might be some issue with the Prefect configuration itself. You can use the
prefect config view
CLI command to make sure your execution environment is correctly configured to access Prefect Cloud. If none of these work, you might want to reach out to the Prefect community or support for more specific help. They might not be as charming as me, but they should be able to help you out.