Skip to content

Commit 76ce6d5

Browse files
committed
Add Prometheus exporter for Linode
1 parent 469bd68 commit 76ce6d5

2 files changed

Lines changed: 54 additions & 0 deletions

File tree

Lines changed: 54 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,54 @@
1+
# Exporter for taking statistics on our Redis instance
2+
apiVersion: apps/v1
3+
kind: Deployment
4+
metadata:
5+
name: linode-exporter
6+
namespace: monitoring
7+
spec:
8+
replicas: 1
9+
selector:
10+
matchLabels:
11+
app: linode-exporter
12+
template:
13+
metadata:
14+
labels:
15+
app: linode-exporter
16+
spec:
17+
containers:
18+
- name: linode-exporter
19+
image: ghcr.io/jb3/linode_exporter:2025.10.23.16
20+
imagePullPolicy: Always
21+
resources:
22+
requests:
23+
cpu: 5m
24+
memory: 20Mi
25+
limits:
26+
cpu: 20m
27+
memory: 50Mi
28+
ports:
29+
- containerPort: 9388
30+
envFrom:
31+
- secretRef:
32+
name: linode-exporter-env
33+
securityContext:
34+
readOnlyRootFilesystem: true
35+
securityContext:
36+
fsGroup: 2000
37+
runAsUser: 1000
38+
runAsNonRoot: true
39+
---
40+
apiVersion: v1
41+
kind: Service
42+
metadata:
43+
name: linode-exporter
44+
namespace: monitoring
45+
annotations:
46+
prometheus.io/scrape: "true"
47+
prometheus.io/port: "9388"
48+
spec:
49+
selector:
50+
app: linode-exporter
51+
ports:
52+
- protocol: TCP
53+
port: 9388
54+
targetPort: 9388
249 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)