https://dagster.io/ logo
#deployment-kubernetes
Title
# deployment-kubernetes
s

Sundara Moorthy

04/19/2022, 1:40 PM
Hey Team , facing below error when using dagster-k8 helm deployment
Copy code
botocore.exceptions.ClientError: An error occurred (403) when calling the HeadBucket operation: Forbidden
Note: Instead of using graph decorator i have used graph definition to create the graph. Any help on this issue?
Copy code
def example_graph():
    graph_def = GraphDefinition(
        name="step_isolated_job",
        node_defs=[multiply_the_word,count_letters ],
        dependencies={'count_letters': {'word': DependencyDefinition('multiply_the_word')}}
    )
    return graph_def
j

johann

04/19/2022, 2:44 PM
Looks like you’re trying to access s3 but don’t have AWS credentials set
s

Saurav Mittal

04/19/2022, 2:51 PM
We are passing it using secret keys in values.yaml file as in the dagster documentation and setting the secret keys using
Copy code
kubectl -n <namespace> create secret generic dagster-aws-secret-access-key --from-literal=AWS_SECRET_ACCESS_KEY=<secret-key>
j

johann

04/20/2022, 5:23 PM
Do you have the correct keys set for the bucket you’re pointed at
s

Sundara Moorthy

04/20/2022, 5:37 PM
Yes
j

johann

04/20/2022, 5:54 PM
From stack overflow https://stackoverflow.com/questions/36144757/aws-cli-s3-a-client-error-403-occurred-when-calling-the-headobject-operation
AWS S3 throws 403 error when the specified object or file doesn’t exist at the location.
2 Views