-
Notifications
You must be signed in to change notification settings - Fork 286
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
Add EKS tutorial with service account setup. #4669
base: main
Are you sure you want to change the base?
Conversation
"Condition": { | ||
"StringEquals": { | ||
"oidc.eks.${REGION}.amazonaws.com/id/${CLUSTER_ID}:aud": "sts.amazonaws.com", | ||
"oidc.eks.${REGION}.amazonaws.com/id/${CLUSTER_ID}:sub": "system:serviceaccount:${S3_BUCKET}:${SERVICE_ACCOUNT_NAME}" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
"oidc.eks.${REGION}.amazonaws.com/id/${CLUSTER_ID}:sub": "system:serviceaccount:${S3_BUCKET}:${SERVICE_ACCOUNT_NAME}" | |
"oidc.eks.${REGION}.amazonaws.com/id/${CLUSTER_ID}:sub": "system:serviceaccount:${NAMESPACE}:${SERVICE_ACCOUNT_NAME}" |
Think you meant to use NAMESPACE here rather than bucket
To access the UI, you can run the following command and then open your browser at [http://localhost:7280](http://localhost:7280): | ||
|
||
``` | ||
kubectl port-forward svc/{release-name}-quickwit-searcher 7280:7280 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
kubectl port-forward svc/{release-name}-quickwit-searcher 7280:7280 | |
kubectl port-forward svc/quickwit-searcher 7280:7280 |
Kubetcl seems to not want the release name there
"s3:AbortMultipartUpload", | ||
"s3:DeleteObject", | ||
"s3:GetObject", | ||
"s3:ListMultipartUploadParts", | ||
"s3:PutObject" |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
If the object that you request doesn’t exist, the error that Amazon S3 returns depends on whether you also have the s3:ListBucket permission.
- If you have the s3:ListBucket permission on the bucket, Amazon S3 returns an HTTP status code 404 Not Found error.
- If you don’t have the s3:ListBucket permission, Amazon S3 returns an HTTP status code 403 Access Denied error.
(extract from https://docs.aws.amazon.com/AmazonS3/latest/API/API_GetObject.html)
we probably need s3:ListBucket
(or to handle errors differently), at least when initializing the metastore for the first time
it's a permission to have on arn:aws:s3:::${S3_BUCKET}
directly, and not arn:aws:s3:::${S3_BUCKET}/*
No description provided.