Add Smokeping to monitoring
This commit is contained in:
@@ -10,3 +10,4 @@ resources:
|
||||
- immich
|
||||
- monitoring
|
||||
- pinchflat
|
||||
- smokeping
|
||||
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -0,0 +1,8 @@
|
||||
namespace: smokeping
|
||||
|
||||
resources:
|
||||
- namespace.yaml
|
||||
- pvc.yaml
|
||||
- deployment.yaml
|
||||
- service.yaml
|
||||
- ingress.yaml
|
||||
@@ -0,0 +1,4 @@
|
||||
apiVersion: v1
|
||||
kind: Namespace
|
||||
metadata:
|
||||
name: smokeping
|
||||
@@ -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
|
||||
@@ -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
|
||||
@@ -220,6 +220,10 @@
|
||||
name = "CloudNative PG";
|
||||
url = "https://cloudnative-pg.io/documentation/1.26/";
|
||||
}
|
||||
{
|
||||
name = "Kubernetes Dashboard";
|
||||
url = "https://dashboard.shire-zebra.ts.net/";
|
||||
}
|
||||
{
|
||||
name = "Longhorn";
|
||||
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";
|
||||
bookmarks = [
|
||||
@@ -255,10 +280,6 @@
|
||||
name = "Syncthing - nas";
|
||||
url = "http://nas.home:8384/#";
|
||||
}
|
||||
{
|
||||
name = "Pinchflat";
|
||||
url = "http://nas1.shire-zebra.ts.net:8945";
|
||||
}
|
||||
{
|
||||
name = "Portainer";
|
||||
url = "https://nas1.shire-zebra.ts.net:31015";
|
||||
@@ -267,18 +288,6 @@
|
||||
name = "Restic";
|
||||
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/";
|
||||
}
|
||||
];
|
||||
}
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user