Skip to content
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

K8s Tagger processor - missing attributes in case of filter by node name #651

Closed
mat-rumian opened this issue Jul 4, 2022 · 0 comments · Fixed by #668
Closed

K8s Tagger processor - missing attributes in case of filter by node name #651

mat-rumian opened this issue Jul 4, 2022 · 0 comments · Fixed by #668

Comments

@mat-rumian
Copy link
Contributor

Environment:

  • EKS 1.21
  • OTel Collector 0.52.0

Action:

  • Configure Collector agent pod to run in K8s as described here

Result:
image

Expected result:
image

OTel Distro log:

2022-07-04T09:17:21.434Z info kube/owner.go:91 Staring K8S resource informers {"kind": "processor", "name": "k8s_tagger", "pipeline": "metrics", "#infomers": 6}
W0704 09:17:21.456225 1 reflector.go:324] k8s.io/[email protected]/tools/cache/reflector.go:167: failed to list *v1.ReplicaSet: "spec.nodeName" is not a known field selector: only "metadata.name", "metadata.namespace"
E0704 09:17:21.456267 1 reflector.go:138] k8s.io/[email protected]/tools/cache/reflector.go:167: Failed to watch *v1.ReplicaSet: failed to list *v1.ReplicaSet: "spec.nodeName" is not a known field selector: only "metadata.name", "metadata.namespace"
W0704 09:17:21.456886 1 reflector.go:324] k8s.io/[email protected]/tools/cache/reflector.go:167: failed to list *v1.Namespace: field label not supported: spec.nodeName
E0704 09:17:21.456913 1 reflector.go:138] k8s.io/[email protected]/tools/cache/reflector.go:167: Failed to watch *v1.Namespace: failed to list *v1.Namespace: field label not supported: spec.nodeName
W0704 09:17:21.457062 1 reflector.go:324] k8s.io/[email protected]/tools/cache/reflector.go:167: failed to list *v1.ReplicaSet: "spec.nodeName" is not a known field selector: only "metadata.name", "metadata.namespace"
E0704 09:17:21.457122 1 reflector.go:138] k8s.io/[email protected]/tools/cache/reflector.go:167: Failed to watch *v1.ReplicaSet: failed to list *v1.ReplicaSet: "spec.nodeName" is not a known field selector: only "metadata.name", "metadata.namespace"
W0704 09:17:21.457253 1 reflector.go:324] k8s.io/[email protected]/tools/cache/reflector.go:167: failed to list *v1.Deployment: "spec.nodeName" is not a known field selector: only "metadata.name", "metadata.namespace"
E0704 09:17:21.457322 1 reflector.go:138] k8s.io/[email protected]/tools/cache/reflector.go:167: Failed to watch *v1.Deployment: failed to list *v1.Deployment: "spec.nodeName" is not a known field selector: only "metadata.name", "metadata.namespace"
W0704 09:17:21.457623 1 reflector.go:324] k8s.io/[email protected]/tools/cache/reflector.go:167: failed to list *v1.Deployment: "spec.nodeName" is not a known field selector: only "metadata.name", "metadata.namespace"
E0704 09:17:21.457687 1 reflector.go:138] k8s.io/[email protected]/tools/cache/reflector.go:167: Failed to watch *v1.Deployment: failed to list *v1.Deployment: "spec.nodeName" is not a known field selector: only "metadata.name", "metadata.namespace"
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant