From c044078a6e15b90dd4e59021b2196997cbdfe689 Mon Sep 17 00:00:00 2001 From: Quentin Dufour Date: Fri, 20 Sep 2024 11:04:49 +0200 Subject: finalize jitsi --- cluster/prod/app/jitsi/deploy/jitsi.hcl | 7 +++++++ cluster/prod/app/telemetry/config/prometheus.yml | 10 ++++++++++ cluster/prod/app/telemetry/deploy/telemetry-storage.hcl | 2 +- 3 files changed, 18 insertions(+), 1 deletion(-) (limited to 'cluster') diff --git a/cluster/prod/app/jitsi/deploy/jitsi.hcl b/cluster/prod/app/jitsi/deploy/jitsi.hcl index f2cafd2..f43c4fb 100644 --- a/cluster/prod/app/jitsi/deploy/jitsi.hcl +++ b/cluster/prod/app/jitsi/deploy/jitsi.hcl @@ -260,6 +260,13 @@ EOF port = "video_port" address_mode = "host" name = "video-jitsi" + } + + service { + tags = [ "jitsi" ] + port = "management_port" + address_mode = "host" + name = "management-video-jitsi" check { type = "tcp" port = "management_port" diff --git a/cluster/prod/app/telemetry/config/prometheus.yml b/cluster/prod/app/telemetry/config/prometheus.yml index fd426cc..99167e7 100644 --- a/cluster/prod/app/telemetry/config/prometheus.yml +++ b/cluster/prod/app/telemetry/config/prometheus.yml @@ -26,6 +26,16 @@ scrape_configs: cert_file: /etc/prometheus/consul-client.crt key_file: /etc/prometheus/consul-client.key + - job_name: 'jitsi-videobridge' + consul_sd_configs: + - server: 'https://localhost:8501' + services: + - 'management-video-jitsi' + tls_config: + ca_file: /etc/prometheus/consul-ca.crt + cert_file: /etc/prometheus/consul-client.crt + key_file: /etc/prometheus/consul-client.key + - job_name: 'garage' authorization: type: Bearer diff --git a/cluster/prod/app/telemetry/deploy/telemetry-storage.hcl b/cluster/prod/app/telemetry/deploy/telemetry-storage.hcl index 34fc059..d87f3c6 100644 --- a/cluster/prod/app/telemetry/deploy/telemetry-storage.hcl +++ b/cluster/prod/app/telemetry/deploy/telemetry-storage.hcl @@ -20,7 +20,7 @@ job "telemetry-storage" { task "prometheus" { driver = "docker" config { - image = "prom/prometheus:v2.46.0" + image = "prom/prometheus:v2.50.1" network_mode = "host" ports = [ "prometheus" ] args = [ -- cgit v1.2.3