infra/home/cluster/starlink-exporter/deployment.yaml
Graham McIntire 39bedb08d1
renumber infrastructure from 10.0.15.0/24 to 10.0.16.0/22 (hosts in 10.0.19.x)
Proxmox: node1-3 → 10.0.19.101-103
Talos cp1-3 → 10.0.19.1-3, workers → 10.0.19.4-6
K8s endpoint → VIP https://10.0.19.10:6443
Ansible: prom → 10.0.19.31, db → 10.0.19.30
Talos: added VIP block to controlplane.yaml base config
Promtail: Loki URL → 10.0.19.31
Docs: all references updated, talos4 removed
2026-07-18 08:28:47 -05:00

55 lines
1.5 KiB
YAML

apiVersion: apps/v1
kind: Deployment
metadata:
name: starlink-exporter
namespace: monitoring
labels:
app.kubernetes.io/name: starlink-exporter
spec:
replicas: 1
selector:
matchLabels:
app.kubernetes.io/name: starlink-exporter
template:
metadata:
labels:
app.kubernetes.io/name: starlink-exporter
spec:
securityContext:
runAsNonRoot: true
runAsUser: 65532
runAsGroup: 65532
seccompProfile:
type: RuntimeDefault
containers:
- name: exporter
image: docker.io/joshuasing/starlink_exporter:0.9.0
# Defaults already match this network: -dish 192.168.100.1:9200,
# -listen :9451. Dish is reachable via 10.0.19.254 (home router)
# while the Starlink router is in bypass mode.
ports:
- name: metrics
containerPort: 9451
protocol: TCP
resources:
requests:
cpu: 10m
memory: 24Mi
limits:
memory: 96Mi
securityContext:
allowPrivilegeEscalation: false
readOnlyRootFilesystem: true
capabilities:
drop: ["ALL"]
readinessProbe:
httpGet:
path: /metrics
port: metrics
periodSeconds: 15
livenessProbe:
httpGet:
path: /metrics
port: metrics
periodSeconds: 30
failureThreshold: 5