From 30dc907d6cae0f8b9f1eb63b8e01f5304d8f7721 Mon Sep 17 00:00:00 2001 From: Alex Lebens Date: Tue, 21 Oct 2025 21:35:14 -0500 Subject: [PATCH] change to prots --- .../templates/scrape-config.yaml | 4 +- hosts/ps10rp/garage/serve.json | 48 +++++++++++++++---- 2 files changed, 40 insertions(+), 12 deletions(-) diff --git a/clusters/cl01tl/monitoring/kube-prometheus-stack/templates/scrape-config.yaml b/clusters/cl01tl/monitoring/kube-prometheus-stack/templates/scrape-config.yaml index a1ca59cdb..9565cb147 100644 --- a/clusters/cl01tl/monitoring/kube-prometheus-stack/templates/scrape-config.yaml +++ b/clusters/cl01tl/monitoring/kube-prometheus-stack/templates/scrape-config.yaml @@ -70,8 +70,8 @@ spec: - labels: job: garage targets: - - garage-ps10rp.boreal-beaufort.ts.net - metricsPath: /api/metrics + - garage-ps10rp.boreal-beaufort.ts.net:3903 + metricsPath: /metrics scheme: HTTPS authorization: type: Bearer diff --git a/hosts/ps10rp/garage/serve.json b/hosts/ps10rp/garage/serve.json index 78d2e224d..cb8b25268 100644 --- a/hosts/ps10rp/garage/serve.json +++ b/hosts/ps10rp/garage/serve.json @@ -2,24 +2,52 @@ "TCP": { "443": { "HTTPS": true + }, + "3900": { + "HTTPS": true + }, + "3901": { + "HTTPS": true + }, + "3902": { + "HTTPS": true + }, + "3903": { + "HTTPS": true } }, "Web": { - "${TS_CERT_DOMAIN}:443": { + "web-${TS_CERT_DOMAIN}:443": { "Handlers": { - "/ui": { + "/": { "Proxy": "http://127.0.0.1:3909" - }, - "/s3": { + } + } + }, + "${TS_CERT_DOMAIN}:3900": { + "Handlers": { + "/": { "Proxy": "http://127.0.0.1:3900" - }, - "/rpc": { + } + } + }, + "${TS_CERT_DOMAIN}:3901": { + "Handlers": { + "/": { "Proxy": "http://127.0.0.1:3901" - }, - "/web": { + } + } + }, + "${TS_CERT_DOMAIN}:3902": { + "Handlers": { + "/": { "Proxy": "http://127.0.0.1:3902" - }, - "/api": { + } + } + }, + "${TS_CERT_DOMAIN}:3903": { + "Handlers": { + "/": { "Proxy": "http://127.0.0.1:3903" } }