Skip to content

Commit

Permalink
Helm - Updating Spark config to force default credentials chain for AWS
Browse files Browse the repository at this point in the history
Based on the following kustomize change:
- 0e2dd72 Updating Spark config to force default credentials chain for AWS (flyteorg#674)

Signed-off-by: Sören Brunk <[email protected]>
  • Loading branch information
sbrunk committed Apr 12, 2021
1 parent 9309778 commit 9701cf8
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions helm/values-eks.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -504,6 +504,10 @@ configmap:
plugins:
spark:
spark-config-default:
- # We override the default credentials chain provider for Hadoop so that
# it can use the serviceAccount based IAM role or ec2 metadata based.
# This is more in line with how AWS works
- spark.hadoop.fs.s3a.aws.credentials.provider: "com.amazonaws.auth.DefaultAWSCredentialsProviderChain"
- spark.hadoop.mapreduce.fileoutputcommitter.algorithm.version: "2"
- spark.kubernetes.allocation.batch.size: "50"
- spark.hadoop.fs.s3a.acl.default: "BucketOwnerFullControl"
Expand Down

0 comments on commit 9701cf8

Please sign in to comment.