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

Add prometheus install and scrape config #15

Open
wants to merge 3 commits into
base: main
Choose a base branch
from

Conversation

shinta-liem
Copy link

Adding a script to deploy Prometheus to k8s cluster.

To test run:

./monitoring_install.sh

Port forward Prometheus console to your host:

kubectl --namespace=monitoring port-forward deploy/prometheus-server 9090

Create ssh tunnel from bastion host to your local machine to access prometheus console from browser:

ssh -N -L 9090:localhost:9090 -i .ssh/helper_test.pem -l ec2-user 34.220.109.13

Go to http://localhost:9090/targets on browser. The helper nodes should be listed in the target for scraping metrics.

@cberkhoff
Copy link
Collaborator

Why not just have the monitoring namespace, prometheus charts and basically everything from the install just straight up in the templates? I see monitoring as an integral part of this infrastructure and would like it to be included on every helm installation if possible.

@cberkhoff
Copy link
Collaborator

Maybe we need to talk this out... but what I was expecting was for the script to disappear, and the changes just be templates.

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.

2 participants