aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArmaël Guéneau <armael.gueneau@ens-lyon.org>2024-05-01 00:15:35 +0200
committerArmaël Guéneau <armael.gueneau@ens-lyon.org>2024-05-01 00:44:09 +0200
commitca59237057e2703de2c8fd90327f49ec44c1cc6a (patch)
tree981b87fd42c9fe1e353be505b01ea9912d12889b
parent28b58b377631afb1ea0e6f50314716233ed703db (diff)
downloadnixcfg-ca59237057e2703de2c8fd90327f49ec44c1cc6a.tar.gz
nixcfg-ca59237057e2703de2c8fd90327f49ec44c1cc6a.zip
staging: disable allocation of grafana on piranha
piranha does not seem to be available from the outside world currently
-rw-r--r--cluster/staging/app/telemetry/deploy/telemetry-service.hcl6
1 files changed, 6 insertions, 0 deletions
diff --git a/cluster/staging/app/telemetry/deploy/telemetry-service.hcl b/cluster/staging/app/telemetry/deploy/telemetry-service.hcl
index ec68aaf..bf777fd 100644
--- a/cluster/staging/app/telemetry/deploy/telemetry-service.hcl
+++ b/cluster/staging/app/telemetry/deploy/telemetry-service.hcl
@@ -79,6 +79,12 @@ job "telemetry-service" {
group "grafana" {
count = 1
+ constraint {
+ attribute = "${attr.unique.hostname}"
+ operator = "!="
+ value = "piranha"
+ }
+
network {
port "grafana" {
static = 3719