getting 403 for kubernetes_logs from kube apiserver | AWS EKS #11149
-
Hello, I am trying to deploy vector helm chart in AWS EKS. Installing via the command from Readme: There is a custom config in the values.yaml:
S3 connection is OK. But I got the 403 error for
What am I missing in the configuration and how to resolve the 403 error? Thank you in advance. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment 1 reply
-
The current design of the chart doesn't deploy any RBAC resources unless you've deployed as an Agent (link). This is because it doesn't really make sense to use the I'd suggest setting |
Beta Was this translation helpful? Give feedback.
The current design of the chart doesn't deploy any RBAC resources unless you've deployed as an Agent (link). This is because it doesn't really make sense to use the
kubernetes_logs
source with an aggregator style deployment as Vector needs to be running on each node for that source to work properly.I'd suggest setting
role: "Agent"
in your values (or--set role=Agent
in your install command), which would include the linked RBAC resources needed to make requests to the API server. If you really need the source running on the aggregator roles feel free to open an issue atvectordotdev/helm-charts
to discuss.