prometheus-monitoring-guide's People
Forkers
gabrielsagnard nsivakrishna6999 mulakkalfaizal librannk ming-ddtechcg alejandrox1 hamdikh iteadevops chienphamvu iustinlita ilove523 nweseloh ramansawhney04 cocuba lauraanddola mssrinivas robertoporfiro subject33 ilkinmammadzada richardwxn andyyy60 binbincai houssoli manjunathadinka soufianem370 th3n3xtg3n3ration popsorinv asantra1 venkatapathiraju1 shubhamrai1993 giridevops ko-sato-exwzdprometheus-monitoring-guide's Issues
Blog post #1, Traefik service not accessible by default from external
Hi,
I'm working through your sysdig blog posts and was wondering if the Traefik deployment from this repository is supposed to create an actual ingress?
Just by following the instructions, the curl command is unable to connect to the service since it is not exposed to the outside world.
Sysdig Tutorial: node-exporter-daemonset not working out of the box
Hey Mateo, I've just been following your (excellent) Kubernetes Monitoring with Prometheus tutorial and encountered an issue towards the end, where you deploy the node-exporter DaemonSet:
Here you mention to create a new namespace and pull a DaemonSet from another repo:
kubectl create ns monitoring
kubectl create -f https://raw.githubusercontent.com/bakins/minikube-prometheus-demo/master/node-exporter-daemonset.yml
Unfortunately the repo is archived and seems to have some issues. In this case, the node-exporter
pod created by the DaemonSet is not discoverable by Prometheus because of the seperate monitoring
namespace (all previous resources have been launched in default
).
For it to work, I had to create a headless Service for the pod:
kind: Service
apiVersion: v1
metadata:
name: node-exporter
namespace: monitoring
spec:
selector:
name: node-exporter
ports:
- port: 9100
targetPort: 9100
clusterIP: None
---
apiVersion: apps/v1
kind: DaemonSet
metadata:
name: node-exporter
namespace: monitoring
labels:
name: node-exporter
spec:
selector:
matchLabels:
name: node-exporter
template:
metadata:
labels:
name: node-exporter
annotations:
prometheus.io/scrape: "true"
prometheus.io/port: "9100"
spec:
hostPID: true
hostIPC: true
hostNetwork: true
containers:
- ports:
- containerPort: 9100
protocol: TCP
resources:
requests:
cpu: 0.15
securityContext:
privileged: true
image: prom/node-exporter:v0.15.2
args:
- --path.procfs
- /host/proc
- --path.sysfs
- /host/sys
- --collector.filesystem.ignored-mount-points
- '"^/(sys|proc|dev|host|etc)($|/)"'
name: node-exporter
volumeMounts:
- name: dev
mountPath: /host/dev
- name: proc
mountPath: /host/proc
- name: sys
mountPath: /host/sys
- name: rootfs
mountPath: /rootfs
volumes:
- name: proc
hostPath:
path: /proc
- name: dev
hostPath:
path: /dev
- name: sys
hostPath:
path: /sys
- name: rootfs
hostPath:
path: /
which makes it discoverable via DNS in the prometheus.yml
:
# ...
- job_name: 'node-exporter'
static_configs:
- targets: ['node-exporter.monitoring.svc.cluster.local:9100']
You might want to consider including it in the tutorial :)
When are you planning to write another blog for #4, Prometheus performance considerations?
Please let me know when are you planning to publish your blog #4. Prometheus performance considerations, high availability, external storage, dimensionality limits?
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. ๐๐๐
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google โค๏ธ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.