From 950c34cfc852589806eaef43fd0f17a61cf369c6 Mon Sep 17 00:00:00 2001 From: Ali Rizwan Date: Wed, 16 May 2018 07:04:28 +0200 Subject: [PATCH] Add readiness and liveness probes (#5551) --- incubator/jaeger/Chart.yaml | 2 +- incubator/jaeger/templates/collector-deploy.yaml | 11 +++++++++++ incubator/jaeger/values.yaml | 1 + 3 files changed, 13 insertions(+), 1 deletion(-) diff --git a/incubator/jaeger/Chart.yaml b/incubator/jaeger/Chart.yaml index f3e5b8cf01..44cf5ceca9 100644 --- a/incubator/jaeger/Chart.yaml +++ b/incubator/jaeger/Chart.yaml @@ -2,7 +2,7 @@ apiVersion: v1 appVersion: 1.2.0 description: A Jaeger Helm chart for Kubernetes name: jaeger -version: 0.4.0 +version: 0.4.1 keywords: - jaeger - opentracing diff --git a/incubator/jaeger/templates/collector-deploy.yaml b/incubator/jaeger/templates/collector-deploy.yaml index 71c915754e..82674986aa 100644 --- a/incubator/jaeger/templates/collector-deploy.yaml +++ b/incubator/jaeger/templates/collector-deploy.yaml @@ -97,9 +97,20 @@ spec: - containerPort: {{ .Values.collector.service.httpPort }} name: http protocol: TCP + - containerPort: {{ .Values.collector.service.healthCheckPort }} + name: healthcheck + protocol: TCP - containerPort: {{ .Values.collector.service.zipkinPort }} name: zipkin protocol: TCP + readinessProbe: + httpGet: + port: healthcheck + initialDelaySeconds: 10 + livenessProbe: + httpGet: + port: healthcheck + initialDelaySeconds: 10 resources: {{ toYaml .Values.collector.resources | indent 10 }} dnsPolicy: {{ .Values.collector.dnsPolicy }} diff --git a/incubator/jaeger/values.yaml b/incubator/jaeger/values.yaml index 9199f1d715..a58d277b0a 100644 --- a/incubator/jaeger/values.yaml +++ b/incubator/jaeger/values.yaml @@ -132,6 +132,7 @@ collector: httpPort: 14268 # can accept Zipkin spans in JSON or Thrift zipkinPort: 9411 + healthCheckPort: 14269 resources: {} # limits: # cpu: 1