Configuration files for setting up prometheus monitoring on Kubernetes cluster.
You can find the full tutorial from here https://devopscube.com/setup-prometheus-monitoring-on-kubernetes/
Monitor kubernetes using prometheus
Configuration files for setting up prometheus monitoring on Kubernetes cluster.
You can find the full tutorial from here https://devopscube.com/setup-prometheus-monitoring-on-kubernetes/
Hey,
Seems like the information here:
https://docs.stackit.cloud/stackit/en/monitoring-of-stackit-ske-argus-78185340.html
and in this repo is quite outdated.
instead of using the files in this repo one could use helm to archive the same, but officially maintained and simpler to update:
#!/bin/bash
set -o pipefail
# export argus username/password/url before use
context_flag="name-of-ur-context"
helm --kube-context "$context_flag" repo add prometheus-community https://prometheus-community.github.io/helm-charts
helm --kube-context "$context_flag" repo update
helm --kube-context "$context_flag" upgrade --install stackit prometheus-community/prometheus -f values.yaml \
--set server.remoteWrite[0].url="$ARGUS_PUSH_METRIC_URL" \
--set server.remoteWrite[0].basic_auth.username="$ARGUS_USERNAME" \
--set server.remoteWrite[0].basic_auth.password="$ARGUS_PASSWORD"
and make use of values.yaml file:
configmapReload:
prometheus:
enabled: false
server:
remoteWrite:
- url: "$ARGUS_PUSH_METRIC_URL"
basic_auth:
username: "$ARGUS_USERNAME"
password: "$ARGUS_PASSWORD"
queue_config:
max_shards: 50
capacity: 5000
max_samples_per_send: 500
batch_send_deadline: 5s
persistentVolume:
enabled: false
service:
enabled: false
alertmanager:
enabled: false
kube-state-metrics:
enabled: true
prometheus-node-exporter:
enabled: false
prometheus-pushgateway:
enabled: false
Additionally the part in the documentation referring to creating ARGUS credentials can now be simplified by using the portal going to the project service and ARGUS cluster. On the panel on the right you can simply press: + Create credentials and right next to the new credentials press the little console button to get the username/password/url. The garfanaAdminUsername and grafanaAdminPassword from Step 2. can be just obtained in the Service-dashboard grafana tab aswell.
Hope this helps to get the documentation and this repo up to date :)
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.