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

added code for Refactor kubernetes matadata generator to support adding metadata across resources #4

Closed
wants to merge 1 commit into from

Conversation

AMAbhi
Copy link

@AMAbhi AMAbhi commented Jun 23, 2020

Added and changed code in respected file to get additional kubernetes metadata in metricbeat.

@AMAbhi AMAbhi requested a review from gseidlerhpe June 23, 2020 21:29

==== Breaking changes

*Affecting all Beats*

- Update to Golang 1.12.1. {pull}11330[11330]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

You are not pulling in all these changes, are you?
This file may be auto-generated. I'm not sure.
In any case if you update it then it should just have the changes that you made.

@@ -0,0 +1,211 @@
// Licensed to Elasticsearch B.V. under one or more contributor
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Interesting. This adds node auto discovery.
While this might be interesting and useful to have in our 6.6 based version is it truly needed for supporting namespace labels?

Copy link
Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Yes, According to PR on Elastic/Beat regarding on this issue.
They have made this all required changes in each respected files.

I am following this:
elastic#13873
elastic#15528

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

OK, then that is what we have to do.

// specific language governing permissions and limitations
// under the License.

package kubernetes
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Same concern as in comment on node.go

@gseidlerhpe
Copy link
Collaborator

Wow, are all these changes required to back port the namespace label functionality to our 6.6-forked branch?
First, make sure your branch builds without errors with all the changes.

@AMAbhi AMAbhi closed this Jun 30, 2020
@AMAbhi
Copy link
Author

AMAbhi commented Jun 30, 2020

Not a suitable solution!

@AMAbhi AMAbhi deleted the Test2 branch June 30, 2020 02:52
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 this pull request may close these issues.

3 participants