Add readiness and liveness probes (#5551)

This commit is contained in:
Ali Rizwan
2018-05-15 22:04:28 -07:00
committed by k8s-ci-robot
parent ff202b97de
commit 950c34cfc8
3 changed files with 13 additions and 1 deletions
+1 -1
View File
@@ -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
@@ -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 }}
+1
View File
@@ -132,6 +132,7 @@ collector:
httpPort: 14268
# can accept Zipkin spans in JSON or Thrift
zipkinPort: 9411
healthCheckPort: 14269
resources: {}
# limits:
# cpu: 1