From b47a67089d6b9a21f0037011bc76f4d1e77d6aeb Mon Sep 17 00:00:00 2001 From: Carlos Natalino <carlos.natalino@chalmers.se> Date: Wed, 7 Sep 2022 07:20:48 +0200 Subject: [PATCH] Tests on the monitoring manifest. --- manifests/monitoringservice.yaml | 22 ++++++++++++++-------- 1 file changed, 14 insertions(+), 8 deletions(-) diff --git a/manifests/monitoringservice.yaml b/manifests/monitoringservice.yaml index f7ebdf7ac..5a80ac57a 100644 --- a/manifests/monitoringservice.yaml +++ b/manifests/monitoringservice.yaml @@ -51,7 +51,7 @@ spec: apiVersion: apps/v1 kind: Deployment metadata: - name: monitoringserver + name: monitoringservice spec: selector: matchLabels: @@ -84,13 +84,19 @@ spec: - name: METRICSDB_TABLE value: "monitoring" readinessProbe: - grpc: - port: 7070 - initialDelaySeconds: 5 + exec: + command: ["/bin/grpc_health_probe", "-addr=:7070"] livenessProbe: - grpc: - port: 7070 - initialDelaySeconds: 10 + exec: + command: ["/bin/grpc_health_probe", "-addr=:7070"] + # readinessProbe: + # grpc: + # port: 7070 + # initialDelaySeconds: 5 + # livenessProbe: + # grpc: + # port: 7070 + # initialDelaySeconds: 10 --- apiVersion: v1 kind: Service @@ -138,4 +144,4 @@ spec: app: monitoringservice ports: - port: 9009 - - port: 9000 + - port: 9000 \ No newline at end of file -- GitLab