diff --git a/manifests/monitoringservice.yaml b/manifests/monitoringservice.yaml index f7ebdf7ac79e928b9b66dd24c679905edab9d8da..5a80ac57a2dde316ddb94377bc37f650a6e6fb43 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