From 8cd2abc6b8ffcffb792ad322822f828a381947ef Mon Sep 17 00:00:00 2001 From: Ian Fijolek Date: Fri, 17 Jun 2022 15:15:37 -0700 Subject: [PATCH] Remove some unecessary traefik configs from tasks --- nomad/blocky/blocky.nomad | 5 ----- nomad/metrics/exporters.nomad | 16 ---------------- nomad/metrics/grafana.nomad | 1 - nomad/metrics/prometheus.nomad | 1 - nomad/nextcloud/nextcloud.nomad | 1 - 5 files changed, 24 deletions(-) diff --git a/nomad/blocky/blocky.nomad b/nomad/blocky/blocky.nomad index 3fbbc48..a5585fb 100644 --- a/nomad/blocky/blocky.nomad +++ b/nomad/blocky/blocky.nomad @@ -71,11 +71,6 @@ job "blocky" { interval = "10s" timeout = "3s" } - - tags = [ - "traefik.enable=true", - "traefik.http.routers.blocky-api.entryPoints=websecure", - ] } task "main" { diff --git a/nomad/metrics/exporters.nomad b/nomad/metrics/exporters.nomad index 00fb2ba..d7224b0 100644 --- a/nomad/metrics/exporters.nomad +++ b/nomad/metrics/exporters.nomad @@ -78,14 +78,6 @@ job "metrics" { interval = "10s" timeout = "10s" } - - // TODO: Remove traefik tags - tags = [ - "traefik.enable=true", - "traefik.http.routers.cadvisor.entrypoints=web,websecure", - "traefik.http.routers.cadvisor.rule=Host(`cadvisor.dev.homelab`)", - "traefik.http.routers.cadvisor.tls=true", - ] } task "cadvisor" { @@ -188,14 +180,6 @@ job "metrics" { interval = "10s" timeout = "10s" } - - // TODO: Remove traefik tags - tags = [ - "traefik.enable=true", - "traefik.http.routers.node_exporter.entrypoints=web,websecure", - "traefik.http.routers.node_exporter.rule=Host(`node_exporter.dev.homelab`)", - "traefik.http.routers.node_exporter.tls=true", - ] } task "node_exporter" { diff --git a/nomad/metrics/grafana.nomad b/nomad/metrics/grafana.nomad index c1d8ade..97a8477 100644 --- a/nomad/metrics/grafana.nomad +++ b/nomad/metrics/grafana.nomad @@ -52,7 +52,6 @@ job "grafana" { tags = [ "traefik.enable=true", - "traefik.http.routers.grafana.entryPoints=websecure", ] } diff --git a/nomad/metrics/prometheus.nomad b/nomad/metrics/prometheus.nomad index c9cc77e..7b5faaa 100644 --- a/nomad/metrics/prometheus.nomad +++ b/nomad/metrics/prometheus.nomad @@ -54,7 +54,6 @@ job "prometheus" { // TODO: Remove traefik tags tags = [ "traefik.enable=true", - "traefik.http.routers.prometheus.entryPoints=websecure", ] } diff --git a/nomad/nextcloud/nextcloud.nomad b/nomad/nextcloud/nextcloud.nomad index 5e3c7df..b7f00a3 100644 --- a/nomad/nextcloud/nextcloud.nomad +++ b/nomad/nextcloud/nextcloud.nomad @@ -74,7 +74,6 @@ job "nextcloud" { tags = [ "traefik.enable=true", - "traefik.http.routers.nextcloud.entryPoints=websecure", ] }