-
Notifications
You must be signed in to change notification settings - Fork 4.9k
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
Kubernetes processor enhancements #4068
Conversation
1cb827e
to
c9ef182
Compare
6795072
to
24fbb1c
Compare
should by ready! |
24fbb1c
to
79a2c9d
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Nice to have it all under one namespace. Left a minor comment. We can also merge it as is and address it in a follow up PR.
description: > | ||
Kubernetes namespace | ||
|
||
- name: kubernetes.labels |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This should be singular
description: > | ||
Kubernetes labels map | ||
|
||
- name: kubernetes.annotations |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This shoud be singular. Reason if someone is going to "read it" it will be kubernetes.label.testlabel=18
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I've been reading https://www.elastic.co/guide/en/beats/libbeat/5.3/event-conventions.html and also saw how we do it in docker module: https://github.com/elastic/beats/blob/master/metricbeat/module/docker/container/_meta/data.json#L13
It sounds more natural to me to have labels as plural. It's like you are naturally selecting a label by name from the labels dict, what do you think?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
labels sounds better to me too, but I am fine also with singular.
* Move kubernetes processor to root processors folder * Restart watch call on error * Flag kubernetes proccesor as beta * Fix config validation for `in_cluster` cases * Add kubernetes metadata fields * Put kubernetes processor fields under a common namespace
79a2c9d
to
0808b39
Compare
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
WFG
jenkins, retest it |
Add several small enhancements and fixes to kubernetes processor (WIP):
in_cluster
usekubernetes
namespaceRelated to #4027