-
Notifications
You must be signed in to change notification settings - Fork 775
Closed
Labels
>testRelated to unit/integration/e2e testsRelated to unit/integration/e2e tests
Description
https://devops-ci.elastic.co/job/cloud-on-k8s-e2e-tests-snapshot-versions/190//testReport
Filebeat logs:
E1120 01:39:41.347999 1 reflector.go:178] pkg/mod/k8s.io/[email protected]/tools/cache/reflector.go:125: Failed to list *v1.Node: nodes "gke-eck-7x-snapshot-190--default-pool-58ca238c-cz38" is forbidden: User "system:serviceaccount:e2e-zsko0-mercury:test-fb-default-cfg-fbwq-sa" cannot list resource "nodes" in API group "" at the cluster scope
Looks like this recent version of Filebeat requests the k8s api for k8s nodes by default, but didn't do it in earlier versions?
File beat config:
filebeat:
autodiscover:
providers:
- type: kubernetes
host: ${HOSTNAME}
hints:
enabled: true
default_config:
type: container
paths:
- /var/log/containers/*${data.kubernetes.container.id}.log
processors:
- add_cloud_metadata: {}
- add_host_metadata: {}
Metadata
Metadata
Assignees
Labels
>testRelated to unit/integration/e2e testsRelated to unit/integration/e2e tests