From 80db4d19928142b9c7feed054a169e9ca33f67f8 Mon Sep 17 00:00:00 2001 From: Janis Date: Wed, 13 May 2026 16:55:41 +0200 Subject: [PATCH] feat(nowchess): update API paths for metrics and health checks in ingress and rollouts --- metrics-deployment-values.sh | 0 nowchess/base/nowchess-rollouts.yaml | 18 +++++++++--------- nowchess/eu-central-1-prod/ingress.yaml | 7 +++++++ nowchess/eu-central-1-staging/ingress.yaml | 7 +++++++ 4 files changed, 23 insertions(+), 9 deletions(-) mode change 100755 => 100644 metrics-deployment-values.sh diff --git a/metrics-deployment-values.sh b/metrics-deployment-values.sh old mode 100755 new mode 100644 diff --git a/nowchess/base/nowchess-rollouts.yaml b/nowchess/base/nowchess-rollouts.yaml index 83f5f3e..2be9791 100644 --- a/nowchess/base/nowchess-rollouts.yaml +++ b/nowchess/base/nowchess-rollouts.yaml @@ -14,7 +14,7 @@ spec: app: nowchess-account annotations: k8s.grafana.com/scrape: "true" - k8s.grafana.com/metrics_path: "/api/account/q/metrics" + k8s.grafana.com/metrics_path: "/q/metrics" k8s.grafana.com/metrics_portNumber: "8083" spec: imagePullSecrets: @@ -66,13 +66,13 @@ spec: protocol: TCP livenessProbe: httpGet: - path: /api/account/q/health/live + path: /q/health/live port: 8083 initialDelaySeconds: 0 periodSeconds: 10 readinessProbe: httpGet: - path: /api/account/q/health/ready + path: /q/health/ready port: 8083 initialDelaySeconds: 0 periodSeconds: 5 @@ -246,7 +246,7 @@ spec: app: nowchess-core annotations: k8s.grafana.com/scrape: "true" - k8s.grafana.com/metrics_path: "/api/q/metrics" + k8s.grafana.com/metrics_path: "q/metrics" k8s.grafana.com/metrics_portNumber: "8080" spec: imagePullSecrets: @@ -297,13 +297,13 @@ spec: protocol: TCP livenessProbe: httpGet: - path: /api/q/health/live + path: /q/health/live port: 8080 initialDelaySeconds: 0 periodSeconds: 10 readinessProbe: httpGet: - path: /api/q/health/ready + path: /q/health/ready port: 8080 initialDelaySeconds: 0 periodSeconds: 5 @@ -525,7 +525,7 @@ spec: app: nowchess-store annotations: k8s.grafana.com/scrape: "true" - k8s.grafana.com/metrics_path: "/api/store/q/metrics" + k8s.grafana.com/metrics_path: "store/q/metrics" k8s.grafana.com/metrics_portNumber: "8085" spec: imagePullSecrets: @@ -567,13 +567,13 @@ spec: protocol: TCP livenessProbe: httpGet: - path: /api/store/q/health/live + path: store/q/health/live port: 8085 initialDelaySeconds: 0 periodSeconds: 10 readinessProbe: httpGet: - path: /api/store/q/health/ready + path: store/q/health/ready port: 8085 initialDelaySeconds: 0 periodSeconds: 5 diff --git a/nowchess/eu-central-1-prod/ingress.yaml b/nowchess/eu-central-1-prod/ingress.yaml index 47e8653..ff52703 100644 --- a/nowchess/eu-central-1-prod/ingress.yaml +++ b/nowchess/eu-central-1-prod/ingress.yaml @@ -20,6 +20,13 @@ spec: name: nowchess-account-active port: number: 8083 + - path: /api/challenge + pathType: Prefix + backend: + service: + name: nowchess-account-active + port: + number: 8083 - path: /ws pathType: Prefix backend: diff --git a/nowchess/eu-central-1-staging/ingress.yaml b/nowchess/eu-central-1-staging/ingress.yaml index f454070..8ff8a20 100644 --- a/nowchess/eu-central-1-staging/ingress.yaml +++ b/nowchess/eu-central-1-staging/ingress.yaml @@ -20,6 +20,13 @@ spec: name: nowchess-account-active port: number: 8083 + - path: /api/challenge + pathType: Prefix + backend: + service: + name: nowchess-account-active + port: + number: 8083 - path: /ws pathType: Prefix backend: