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

Increase RPi stability running Prometheus by implementing Thanos #120

Merged
merged 14 commits into from Oct 24, 2020

Conversation

xunholy
Copy link
Owner

@xunholy xunholy commented Oct 22, 2020

Description

Prometheus starves resources on the node it's deployed which usually results in poor performance or node failure.

This PR implements Thanos to offload the bulk of the retention and resource consumption previously done by Prometheus.

Additional changes include:

  • Grafana version upgrade
  • Refactored gitops-system to gotk-system namespace to align with upstream
  • Removed jetstack resource that was causing issues

Type Of Change

To help us figure out who should review this PR, please put an X in all the areas that this PR affects.

  • Docs
  • Installation
  • Performance and Scalability
  • Security
  • Test and/or Release
  • User Experience

Issue Ref (Optional)

Which issue(s) this PR fixes (optional, using fixes #(, fixes #<issue_number>, ...) format, will close the issue(s) when the PR gets merged): Fixes #69

Notes

Special thanks to @crutonjohn for assisting to make this PR possible.

Signed-off-by: Michael Fornaro <20387402+xUnholy@users.noreply.github.com>
Signed-off-by: Michael Fornaro <20387402+xUnholy@users.noreply.github.com>
Signed-off-by: Michael Fornaro <20387402+xUnholy@users.noreply.github.com>
Repository owner deleted a comment from github-actions bot Oct 24, 2020
Signed-off-by: Michael Fornaro <20387402+xUnholy@users.noreply.github.com>

update secret

Signed-off-by: Michael Fornaro <20387402+xUnholy@users.noreply.github.com>
Signed-off-by: Michael Fornaro <20387402+xUnholy@users.noreply.github.com>
Signed-off-by: Michael Fornaro <20387402+xUnholy@users.noreply.github.com>

remove redundant file

Signed-off-by: Michael Fornaro <20387402+xUnholy@users.noreply.github.com>
Signed-off-by: Michael Fornaro <20387402+xUnholy@users.noreply.github.com>

testing fixing sidecar

Signed-off-by: Michael Fornaro <20387402+xUnholy@users.noreply.github.com>
Signed-off-by: Michael Fornaro <20387402+xUnholy@users.noreply.github.com>
Signed-off-by: Michael Fornaro <20387402+xUnholy@users.noreply.github.com>

tweak prometheus resources

Signed-off-by: Michael Fornaro <20387402+xUnholy@users.noreply.github.com>

test

Signed-off-by: Michael Fornaro <20387402+xUnholy@users.noreply.github.com>

test

Signed-off-by: Michael Fornaro <20387402+xUnholy@users.noreply.github.com>

update thanos secret for GCP permissions

Signed-off-by: Michael Fornaro <20387402+xUnholy@users.noreply.github.com>
Signed-off-by: Michael Fornaro <20387402+xUnholy@users.noreply.github.com>
Signed-off-by: Michael Fornaro <20387402+xUnholy@users.noreply.github.com>

revert secret to thanos generated secret

Signed-off-by: Michael Fornaro <20387402+xUnholy@users.noreply.github.com>
Signed-off-by: Michael Fornaro <20387402+xUnholy@users.noreply.github.com>
…sing secret created by thanos chart

Signed-off-by: Michael Fornaro <20387402+xUnholy@users.noreply.github.com>

fix indentation

Signed-off-by: Michael Fornaro <20387402+xUnholy@users.noreply.github.com>
Signed-off-by: Michael Fornaro <20387402+xUnholy@users.noreply.github.com>
Repository owner deleted a comment from github-actions bot Oct 24, 2020
Repository owner deleted a comment from github-actions bot Oct 24, 2020
@xunholy xunholy merged commit 08ebc7f into master Oct 24, 2020
@xunholy xunholy deleted the thanos branch October 24, 2020 06: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.

Trial Using Thanos in prom-operator
1 participant