incubator/jaeger Support deadline override in cassandra schema job (#17164)

* Support deadline override in cassandra schema job

With the current `activeDeadlineSeconds` of 120, the jaeger-cassandra
pods in our cluster may not be available quickly enough for the job to
complete. After its 120 second deadline, the job is aborted and will not
be retried. We would like to increase this deadline in our configuration
so that this chart may fully install without manual intervention.

Signed-off-by: Nathan Hamblen <nathan@transit.app>

* incubator/jaeger version bump

Signed-off-by: Nathan Hamblen <nathan@transit.app>
This commit is contained in:
Nathan Hamblen
2019-09-16 16:20:22 -07:00
committed by Kubernetes Prow Robot
parent 18a742014f
commit 77796dd339
4 changed files with 5 additions and 2 deletions
+1 -1
View File
@@ -2,7 +2,7 @@ apiVersion: v1
appVersion: 1.13.1
description: A Jaeger Helm chart for Kubernetes
name: jaeger
version: 0.13.0
version: 0.13.1
keywords:
- jaeger
- opentracing
+1
View File
@@ -249,6 +249,7 @@ The following table lists the configurable parameters of the Jaeger chart and th
| `schema.image` | Image to setup cassandra schema | `jaegertracing/jaeger-cassandra-schema` |
| `schema.mode` | Schema mode (prod or test) | `prod` |
| `schema.pullPolicy` | Schema image pullPolicy | `IfNotPresent` |
| `schema.activeDeadlineSeconds` | Deadline in seconds for cassandra schema creation job to complete | `120` |
| `serviceAccounts.agent.create` | Create service account | `true` |
| `serviceAccounts.agent.name` | The name of the ServiceAccount to use. If not set and create is true, a name is generated using the fullname template | `` |
| `serviceAccounts.cassandraSchema.create` | Create service account | `true` |
@@ -15,7 +15,7 @@ metadata:
{{ toYaml .Values.schema.annotations | indent 4 }}
{{- end }}
spec:
activeDeadlineSeconds: 120
activeDeadlineSeconds: {{ .Values.schema.activeDeadlineSeconds }}
template:
metadata:
name: {{ include "jaeger.fullname" . }}-cassandra-schema
+2
View File
@@ -88,6 +88,8 @@ schema:
## Additional pod labels
## ref: https://kubernetes.io/docs/concepts/overview/working-with-objects/labels/
podLabels: {}
# Deadline for cassandra schema creation job
activeDeadlineSeconds: 120
# Begin: Override values on the Elasticsearch subchart to customize for Jaeger
elasticsearch: