Add Smokeping to monitoring

This commit is contained in:
Greg Hellings
2025-11-26 20:44:43 -06:00
parent 19066c3d06
commit 5dc90c13d5
8 changed files with 140 additions and 16 deletions
+1
View File
@@ -10,3 +10,4 @@ resources:
- immich - immich
- monitoring - monitoring
- pinchflat - pinchflat
- smokeping
+50
View File
@@ -0,0 +1,50 @@
apiVersion: apps/v1
kind: Deployment
metadata:
name: smokeping
labels:
app: smokeping
spec:
replicas: 1
strategy:
type: Recreate
selector:
matchLabels:
app: smokeping
template:
metadata:
labels:
app: smokeping
spec:
containers:
- name: smokeping
image: docker.io/linuxserver/smokeping:2.9.0
imagePullPolicy: IfNotPresent
ports:
- name: http
containerPort: 80
protocol: TCP
volumeMounts:
- name: config
mountPath: /config
- name: data
mountPath: /data
env:
- name: PUID
value: "1000"
- name: PGID
value: "1000"
- name: TZ
value: "America/Chicago"
#- name: MASTER_URL
# value: "https://ping.shire-zebra.ts.net"
# SHARED_SECRET if you want to run a cluster
# CACHE_DIR if you need to explicitly state that
restartPolicy: Always
volumes:
- name: config
persistentVolumeClaim:
claimName: smokeping-config
- name: data
persistentVolumeClaim:
claimName: smokeping-data
+14
View File
@@ -0,0 +1,14 @@
apiVersion: networking.k8s.io/v1
kind: Ingress
metadata:
name: smokeping-tailscale
spec:
ingressClassName: tailscale
defaultBackend:
service:
name: smokeping
port:
name: http
tls:
- hosts:
- ping
+8
View File
@@ -0,0 +1,8 @@
namespace: smokeping
resources:
- namespace.yaml
- pvc.yaml
- deployment.yaml
- service.yaml
- ingress.yaml
+4
View File
@@ -0,0 +1,4 @@
apiVersion: v1
kind: Namespace
metadata:
name: smokeping
+23
View File
@@ -0,0 +1,23 @@
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: smokeping-config
spec:
accessModes:
- ReadWriteOnce
storageClassName: longhorn-default
resources:
requests:
storage: 1Gi
---
apiVersion: v1
kind: PersistentVolumeClaim
metadata:
name: smokeping-data
spec:
accessModes:
- ReadWriteOnce
storageClassName: longhorn-default
resources:
requests:
storage: 25Gi
+15
View File
@@ -0,0 +1,15 @@
apiVersion: v1
kind: Service
metadata:
name: smokeping
labels:
app: smokeping
spec:
type: ClusterIP
ports:
- port: 80
targetPort: http
protocol: TCP
name: http
selector:
app: smokeping
+25 -16
View File
@@ -220,6 +220,10 @@
name = "CloudNative PG"; name = "CloudNative PG";
url = "https://cloudnative-pg.io/documentation/1.26/"; url = "https://cloudnative-pg.io/documentation/1.26/";
} }
{
name = "Kubernetes Dashboard";
url = "https://dashboard.shire-zebra.ts.net/";
}
{ {
name = "Longhorn"; name = "Longhorn";
url = "http://longhorn.shire-zebra.ts.net"; url = "http://longhorn.shire-zebra.ts.net";
@@ -230,6 +234,27 @@
} }
]; ];
} }
{
name = "Status";
bookmarks = [
{
name = "Grafana";
url = "http://hosea.shire-zebra.ts.net:3000/";
}
{
name = "Pinchflat";
url = "http://nas1.shire-zebra.ts.net:8945";
}
{
name = "Prometheus";
url = "http://prometheus.shire-zebra.ts.net/";
}
{
name = "Smokeping";
url = "https://ping.shire-zebra.ts.net/smokeping/smokeping.cgi";
}
];
}
{ {
name = "Bitcoin"; name = "Bitcoin";
bookmarks = [ bookmarks = [
@@ -255,10 +280,6 @@
name = "Syncthing - nas"; name = "Syncthing - nas";
url = "http://nas.home:8384/#"; url = "http://nas.home:8384/#";
} }
{
name = "Pinchflat";
url = "http://nas1.shire-zebra.ts.net:8945";
}
{ {
name = "Portainer"; name = "Portainer";
url = "https://nas1.shire-zebra.ts.net:31015"; url = "https://nas1.shire-zebra.ts.net:31015";
@@ -267,18 +288,6 @@
name = "Restic"; name = "Restic";
url = "http://nas1.shire-zebra.ts.net:30248"; url = "http://nas1.shire-zebra.ts.net:30248";
} }
{
name = "Kubernetes Dashboard";
url = "https://dashboard.shire-zebra.ts.net/";
}
{
name = "Prometheus";
url = "http://prometheus.shire-zebra.ts.net/";
}
{
name = "Grafana";
url = "http://hosea.shire-zebra.ts.net:3000/";
}
]; ];
} }
{ {