Hi, guys! Could you help with s3 credentials. I c...
# ask-the-community
m
Hi, guys! Could you help with s3 credentials. I can run hello_world example in sandbox env, but I am failing to do so on our local k8s cluster.
Copy code
raise FlyteAssertion(
flytekit.exceptions.user.FlyteAssertion: Failed to get data from <s3://blabs-flyte-mgmt-metadata/dispute-resolution/development/BP7IZUPWYESUYFGRO52LE7HBDU======/scriptmode.tar.gz> to /root/ (recursive=False).

Original exception: Access Denied
We don’t have any auth yet for flyte. I assume I just haven’t specified s3 bucket endpoint, access_key_id, and secret_access_key. Where should I do this? In my
.flyte/config.yaml
? Or on
k8s/values.yaml
side via devops support? If so what is the template?
Copy code
storage:
  access-key: <SECRET>
  auth-type: iam
  disable-ssl: false
  endpoint: <s3://blabs-flyte-mgmt-metadata>
  region: eu-central-1
  secret-key: <SECRET>
I don’t understand how to use this page https://docs.flyte.org/projects/flytekit/en/latest/generated/flytekit.configuration.S3Config.html
y
what helm chart are you on?
you need to configure the iam role/irsa
this is running in a live eks cluster right?
or is this is a local k8s cluster?
m
k8s/Chart.yaml
Copy code
apiVersion: v2
dependencies:
  - condition: flyte.enabled
    name: flyte-core
    alias: flyte
    repository: <https://flyteorg.github.io/flyte>
    version: v1.3.0
description: Helm chart for flyte deployment
name: flyte
version: 0.1.0
y
this is on EKS? Or a local cluster?
m
Eks
y
check that the role is set up with the right iam role via irsa?
m
I am not really good at aws. So it can be modified only by devops admin? It has no connection to my local .flyte/config.yaml?
y
this is a devops question yes
d
@mykyta luzan I just released this https://github.com/davidmirror-ops/flyte-the-hard-way I hope it's useful for you in some way. In any case, would be great to have your opinion
151 Views