Skip to content
This repository has been archived by the owner on May 16, 2023. It is now read-only.

Metricbeat daemonset deployment optional #716

Merged
merged 4 commits into from
Jul 9, 2020
Merged

Metricbeat daemonset deployment optional #716

merged 4 commits into from
Jul 9, 2020

Conversation

erihanse
Copy link
Contributor

@erihanse erihanse commented Jul 8, 2020

  • Chart version not bumped (the versions are all bumped and released at the same time)
  • README.md updated with any new values or changes
  • Updated template tests in ${CHART}/tests/*.py
  • Updated integration tests in ${CHART}/examples/*/test/goss.yaml

Closes #702.

@elasticmachine
Copy link
Collaborator

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?

@cla-checker-service
Copy link

cla-checker-service bot commented Jul 8, 2020

💚 CLA has been signed

@erihanse
Copy link
Contributor Author

erihanse commented Jul 8, 2020

FYI I have signed the CLA.

@fatmcgav
Copy link
Contributor

fatmcgav commented Jul 8, 2020

Hi @erihanse

Thank you for opening this PR.
I can see that you have indeed signed the CLA, however it appears to be under a different email address to that on the commits above, which is resulting in the commits not being correctly associated to your GitHub username.

2 options:

  1. Add the email address to your GitHub profile (***@drift.oslo.kommune.no)
  2. Update the commits to use the same email address as that with which you signed the CLA. (***@outlook.com)

Defaults to enabled for both daemonset and deployment
We use dict.get method in case there are no daemonsets or deployments included to avoid KeyError.
@erihanse
Copy link
Contributor Author

erihanse commented Jul 8, 2020

@fatmcgav ah, of course! :D Should be okay now.

@jmlrt
Copy link
Member

jmlrt commented Jul 8, 2020

jenkins test this please

Copy link
Member

@jmlrt jmlrt left a comment

Choose a reason for hiding this comment

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

Thanks for this PR 👍

That's a really valuable feature you're adding.

We have a test that daemonset exists with default values:

assert name in r["daemonset"]

Could you add the same tests for deployment?

adding assert name + "-metrics" in r["deployment"] should be enough.

The rest is OK for me.

@fatmcgav
Copy link
Contributor

fatmcgav commented Jul 9, 2020

Jenkins test this please

Copy link
Member

@jmlrt jmlrt left a comment

Choose a reason for hiding this comment

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

LGTM⛴

@jmlrt jmlrt merged commit 9c87816 into elastic:master Jul 9, 2020
jmlrt pushed a commit that referenced this pull request Jul 9, 2020
jmlrt pushed a commit that referenced this pull request Jul 9, 2020
jmlrt pushed a commit that referenced this pull request Jul 9, 2020
@jmlrt
Copy link
Member

jmlrt commented Jul 9, 2020

backported to 6.8, 7.8and 7.x branches

@erihanse erihanse deleted the metricbeat_daemonset_deployment_optional branch July 9, 2020 10:42
@jmlrt jmlrt removed the v7.9.0 label Jul 13, 2020
@erihanse
Copy link
Contributor Author

@jmlrt I'm sorry if I don't understand the release process, but when will these changes, including those in #387 be released?
I just want to install it without cloning the repo like this :-)

helm upgrade event-collector elastic/metricbeat \
    --install \
    --namespace monitoring \
    --version 7.8.? \
    -f our-values.yaml 

@jmlrt
Copy link
Member

jmlrt commented Jul 15, 2020

Charts are released in the same time as the rest of Elastic Stack.
This PR will be part of 6.8.11 and 7.8.1 releases.
We don't communicate publicly the releases dates but this is planned for pretty soon.

This was referenced Jul 16, 2020
@jmlrt jmlrt mentioned this pull request Jul 27, 2020
@jmlrt jmlrt mentioned this pull request Jul 27, 2020
@jmlrt jmlrt mentioned this pull request Oct 28, 2020
This was referenced Nov 17, 2020
@jmlrt jmlrt mentioned this pull request Feb 8, 2021
This was referenced Mar 15, 2021
@jmlrt jmlrt mentioned this pull request May 25, 2021
@jmlrt jmlrt mentioned this pull request Mar 8, 2022
@jmlrt jmlrt mentioned this pull request Apr 21, 2022
This was referenced Sep 14, 2022
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Missing option to disable the daemonset in metricbeat
4 participants