Skip to content

Commit 97cbc8f

Browse files
committed
docs: update README
1 parent 331f841 commit 97cbc8f

File tree

1 file changed

+14
-0
lines changed

1 file changed

+14
-0
lines changed

README.md

+14
Original file line numberDiff line numberDiff line change
@@ -126,6 +126,20 @@ You'll need to ensure that the environment in which the fluentd plugin runs has
126126
}
127127
```
128128

129+
### EKS
130+
If you want to use IAM roles for service accounts on Amazon EKS clusters, please refer to the official documentation and specify a Service Account for your fluentd Pod.
131+
132+
Then, the endpoint configuration looks like:
133+
134+
```ruby
135+
<endpoint>
136+
url https://CLUSTER_ENDPOINT_URL
137+
region eu-west-1
138+
assume_role_arn "#{ENV['AWS_ROLE_ARN']}"
139+
assume_role_web_identity_token_file "#{ENV['AWS_WEB_IDENTITY_TOKEN_FILE']}"
140+
</endpoint>
141+
```
142+
129143
## Troubleshooting
130144

131145
* "Elasticsearch::Transport::Transport::Errors::Forbidden" error="[403]" even after verifying the access keys/roles/policies.

0 commit comments

Comments
 (0)