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

Autoupdate kube-prometheus mixin #309

Merged

Conversation

jrobersonaquent
Copy link
Contributor

@jrobersonaquent jrobersonaquent commented Nov 21, 2019

Description

This PR adds autogenerating deploy/kubernetes/kube-prometheus-sumo-logic-mixin.libsonnet based on values.yaml.

A side effect of this change is it also makes the yq tool available in the CI pipeline.

I also added jsonnet-bundler usage example to the doc, since that's how we're going to start using it internally if/when this gets merged.

Testing performed
  • ci/build.sh
  • Redeploy fluentd and fluentd-events pods
  • Confirm events, logs, and metrics are coming in

@@ -0,0 +1,19 @@
{
Copy link
Contributor Author

Choose a reason for hiding this comment

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

This file is the template that the build.sh uses to build the Jsonnet file. It just substitutes out [/*REMOTE_WRITE*/] with JSON-ified prometheus.prometheusSpec.remoteWrite.

I didn't know where to put this file since there doesn't appear to be anything like it, so let me know if it needs to be moved somewhere.

Copy link
Contributor

@maimaisie maimaisie left a comment

Choose a reason for hiding this comment

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

Tagging @drduke1 for docs review.

@rvmiller89 rvmiller89 merged commit d61802c into SumoLogic:master Nov 23, 2019
@jrobersonaquent jrobersonaquent deleted the autoupdate-kube-prometheus-mixin branch November 25, 2019 14:30
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.

4 participants