Hindsight-LXC: Gate (E14) nachgezogen – Image 0abbca1, keys.json per Ansible, Jobs über 8889, Blackbox-Probe auf /health
nex-hindsight main (0abbca1, 22.10.) stellt ein Gate vor Port 8888: HINDSIGHT_API_URL für die
Jobs im LXC auf 127.0.0.1:8889, GATE_KEYS_DIR, keys.json (nur Hashes) aus ops
/root/.config/knaster/hindsight-gate-keys.json oder einmalig {}. Freigabeliste um Laptop-WLAN und
die k3s-Knoten (NEX-Pods, SNAT) ergänzt. /metrics liegt hinter dem Gate, deshalb Blackbox-Exporter
im Infra-Stack und Alert HindsightDown auf probe_success. Rulings 10–12 im Auftrag, BETRIEB §16.
Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This commit was merged in pull request #2.
This commit is contained in:
@@ -76,6 +76,17 @@ services:
|
||||
extra_hosts: ["host.docker.internal:host-gateway"] # node-exporter des LXC läuft im Host-Netz
|
||||
ports: ["9090:9090"]
|
||||
|
||||
# HTTP-Prüfungen für Dienste ohne /metrics oder hinter einem Gate (Hindsight /health); nur im Compose-Netz
|
||||
blackbox:
|
||||
<<: *restart
|
||||
image: prom/blackbox-exporter:v0.27.0
|
||||
command: ["--config.file=/etc/blackbox/blackbox.yml"]
|
||||
volumes:
|
||||
- ../../prometheus/blackbox.yml:/etc/blackbox/blackbox.yml:ro
|
||||
deploy:
|
||||
resources:
|
||||
limits: {cpus: "0.5", memory: 64M}
|
||||
|
||||
alertmanager:
|
||||
<<: *restart
|
||||
image: prom/alertmanager:v0.34.1
|
||||
|
||||
Reference in New Issue
Block a user