After I removed health_check in #10, I get the below errors in the oteld pod logs.
I don't know the impact of this. Maybe an issue, maybe not.
E0131 06:26:53.740122 1 reflector.go:140] k8s.io/client-go@v0.25.2/tools/cache/reflector.go:169: Failed to watch *v1.Pod: failed to list *v1.Pod: pods is forbidden: User "system:serviceaccount:dynatrace:otelcontribcol" cannot list resource "pods" in API group "" at the cluster scope
W0131 06:26:54.179592 1 reflector.go:424] k8s.io/client-go@v0.25.2/tools/cache/reflector.go:169: failed to list *v1.Pod: pods is forbidden: User "system:serviceaccount:dynatrace:otelcontribcol" cannot list resource "pods" in API group "" at the cluster scope
E0131 06:26:54.179633 1 reflector.go:140] k8s.io/client-go@v0.25.2/tools/cache/reflector.go:169: Failed to watch *v1.Pod: failed to list *v1.Pod: pods is forbidden: User "system:serviceaccount:dynatrace:otelcontribcol" cannot list resource "pods" in API group "" at the cluster scope
After I removed
health_check
in #10, I get the below errors in theoteld
pod logs.I don't know the impact of this. Maybe an issue, maybe not.