-
Notifications
You must be signed in to change notification settings - Fork 2.1k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
S3 bucket Access Denied when retrieving credentials using Amazon EKS Pod Identity #7157
Comments
I think it is a valid request. From the current minio go SDK code, https://github.com/minio/minio-go/blob/de3d4928ef180eb8ca2eb7a15c0ced7a2f8ec667/pkg/credentials/iam_aws.go#L69 I don't see the new EKS pod identity is supported. AI:
|
@here, I am also facing similar issues post upgrading thanos from 0.31.0 to 0.32.3. |
Now it seems that https://github.com/minio/minio-go started supporting EKS Pod Identity since it merged minio/minio-go#1944 into its master branch. I hope the EKS Pod Identity-supported minio/minio-go version, will be released soon and that Thanos will use it and then release its new version. |
Thanks for the update @takuan-osho. Let's wait for minio go to release a new version which includes that change first. |
Add support for EKS Pod Identity fix issue: thanos-io#7157 Signed-off-by: Hashem Taheri <iqfarhad@yahoo.com>
Add support for EKS Pod Identity fix issue: thanos-io#7157 Signed-off-by: farhad <eqfarhad@gmail.com>
Add support for EKS Pod Identity fix issue: thanos-io#7157 Signed-off-by: farhad <eqfarhad@gmail.com>
Add support for EKS Pod Identity fix issue: thanos-io#7157 Signed-off-by: farhad <eqfarhad@gmail.com>
* Update minio-go to v7.0.70 Add support for EKS Pod Identity fix issue: #7157 Signed-off-by: farhad <eqfarhad@gmail.com> * Changelog - support for EKS Pod Identity Updated changelog Signed-off-by: farhad <eqfarhad@gmail.com> --------- Signed-off-by: farhad <eqfarhad@gmail.com>
Resolved by #7335 |
* Update minio-go to v7.0.70 Add support for EKS Pod Identity fix issue: thanos-io#7157 Signed-off-by: farhad <eqfarhad@gmail.com> * Changelog - support for EKS Pod Identity Updated changelog Signed-off-by: farhad <eqfarhad@gmail.com> --------- Signed-off-by: farhad <eqfarhad@gmail.com> Signed-off-by: mluffman <nashluffman@gmail.com>
* Update minio-go to v7.0.70 Add support for EKS Pod Identity fix issue: thanos-io#7157 Signed-off-by: farhad <eqfarhad@gmail.com> * Changelog - support for EKS Pod Identity Updated changelog Signed-off-by: farhad <eqfarhad@gmail.com> --------- Signed-off-by: farhad <eqfarhad@gmail.com>
* Update minio-go to v7.0.70 Add support for EKS Pod Identity fix issue: thanos-io#7157 Signed-off-by: farhad <eqfarhad@gmail.com> * Changelog - support for EKS Pod Identity Updated changelog Signed-off-by: farhad <eqfarhad@gmail.com> --------- Signed-off-by: farhad <eqfarhad@gmail.com>
@yeya24 I'm not sure this is totally resolved. See thanos-io/objstore#131 |
Thanos version used:
v0.34.0
Object Storage Provider:
AWS S3
What happened:
Thanos Store gets "bucket store initial sync: sync block: BaseFetcher: iter bucket: Access Denied" error.
What you expected to happen:
Thanos Store can access AWS S3 bucket with credentials provided by Amazon EKS Pod Identity.
How to reproduce it (as minimally and precisely as possible):
Enable EKS Pod Identity for EKS cluster, and create Pod Identity associations for Thanos
thanos-storegateway
service account.Helm Chart config override:
Validate that required environment variables have been injected into Thanos Store pod:
Full logs to relevant components:
Anything else we need to know:
AWS released a new feature, EKS Pod Identity, that aims to simplify granting AWS access to pods running in an EKS cluster. This new feature is complementary to IAM roles for service accounts (IRSA), and provides a new alternative way to securely grant AWS permissions to pods.
Deep dive into the new Amazon EKS Pod Identity feature: https://securitylabs.datadoghq.com/articles/eks-pod-identity-deep-dive
The text was updated successfully, but these errors were encountered: