-
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
Add DNS Policy to system metricbeat #6656
Conversation
Since this is a community submitted pull request, a Jenkins build has not been kicked off automatically. Can an Elastic organization member please verify the contents of this patch and then kick off a build manually? |
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.
@f0 thanks for this, it LGTM, could you also add the dnsPolicy to deploy/kubernetes/metricbeat/metricbeat-daemonset.yaml
?
I assume we will also need a changelog here. |
CHANGELOG.asciidoc
Outdated
@@ -59,7 +59,7 @@ https://github.com/elastic/beats/compare/v6.0.0-beta2...master[Check the HEAD di | |||
- Made the url field of heartbeat aggregatable. {pull}6263[6263] | |||
|
|||
*Metricbeat* | |||
|
|||
- Add DNS Policy to system metricbeat. {pull}6656[6656] |
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.
Could you specify in the changelog that it refers to Kubernetes deployment files? For the rest it LGTM
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.
Done
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.
LGTM, the changelog seems to include other lines that are unrelated to this change, could you review that?
@exekias fixed. sorry |
Without
dnsPolicy: ClusterFirstWithHostNet
metricbeat cannot connect to an in cluster elasticseach via in cluster dns name e.g elasticsearch.default.svc because with HostNetwork: true the host resolve.conf is used