Replies: 1 comment 1 reply
-
Raw python tasks should use a the same config |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I'm trying to deploy Flyte to an on-prem k8s cluster (microk8s), but with storage and databases in the cloud (AWS RDS and S3). I created an IAM user and gave the credentials to Flyte via helm values.yml:
microk8s helm install flyte-backend flyteorg/flyte-binary --namespace flyte --values values.yml
But now I have a strange situation - it seems that only some of the Flyte processes or containers can access the AWS resources. The workflows are created, and executions are initiated. Things show up in S3 and RDS. Also, tasks defined using ContainerTask seem to succeed (https://docs.flyte.org/projects/cookbook/en/v0.3.66/auto/core/containerization/raw_container.html). But raw python tasks (created with the @task decorator) fail with this error:
Unable to locate credentials
So it seems that perhaps the AWS credentials are not getting passed through to all containers - in particular, to the default container. What can I do?
Beta Was this translation helpful? Give feedback.
All reactions