From 630ff0521359bbf76649970c4212840be94b7ca1 Mon Sep 17 00:00:00 2001 From: Eric Lipe Date: Fri, 15 Nov 2024 14:35:22 -0500 Subject: [PATCH] - Update manifest to bind AM to 8080 --- tdrs-backend/plg/alertmanager/manifest.yml | 3 +-- tdrs-backend/plg/deploy.sh | 1 + 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/tdrs-backend/plg/alertmanager/manifest.yml b/tdrs-backend/plg/alertmanager/manifest.yml index fee3420e7..b66a4758d 100644 --- a/tdrs-backend/plg/alertmanager/manifest.yml +++ b/tdrs-backend/plg/alertmanager/manifest.yml @@ -8,8 +8,7 @@ applications: mkdir data wget https://github.com/prometheus/alertmanager/releases/download/v0.27.0/alertmanager-0.27.0.linux-amd64.tar.gz tar -zxvf alertmanager-0.27.0.linux-amd64.tar.gz - mv alertmanager-0.27.0.linux-amd64 alertmanager rm -rf alertmanager-0.27.0.linux-amd64.tar.gz - ./alertmanager --config.file=/home/vcap/app/alertmanager.prod.yml --storage.path=/home/vcap/app/data --log.level=debug --web.external-url=http://alertmanager.apps.internal:8080/alerts --web.route-prefix=/alerts --cluster.listen-address="" + ./alertmanager-0.27.0.linux-amd64/alertmanager --config.file=/home/vcap/app/alertmanager.prod.yml --web.listen-address=:8080 --storage.path=/home/vcap/app/data --log.level=debug --web.external-url=http://alertmanager.apps.internal:8080/alerts --web.route-prefix=/alerts --cluster.listen-address="" buildpacks: - https://github.com/cloudfoundry/binary-buildpack diff --git a/tdrs-backend/plg/deploy.sh b/tdrs-backend/plg/deploy.sh index 62a0420be..e2345a6fc 100755 --- a/tdrs-backend/plg/deploy.sh +++ b/tdrs-backend/plg/deploy.sh @@ -185,6 +185,7 @@ if [ "$DEPLOY" == "plg" ]; then deploy_prometheus deploy_loki deploy_grafana $DB_SERVICE_NAME + deploy_alertmanager setup_extra_net_pols fi if [ "$DEPLOY" == "pg-exporter" ]; then