Skip to content
Draft
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
18 changes: 18 additions & 0 deletions charts/camunda-load-tests/templates/starter.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -185,6 +185,24 @@ spec:
ports:
- containerPort: 9600
name: "http"
{{- if .Values.starter.probes.enabled }}
livenessProbe:
httpGet:
path: /health/liveness
port: http
initialDelaySeconds: {{ .Values.starter.probes.liveness.initialDelaySeconds }}
periodSeconds: {{ .Values.starter.probes.liveness.periodSeconds }}
timeoutSeconds: {{ .Values.starter.probes.liveness.timeoutSeconds }}
failureThreshold: {{ .Values.starter.probes.liveness.failureThreshold }}
readinessProbe:
httpGet:
path: /health/readiness
port: http
initialDelaySeconds: {{ .Values.starter.probes.readiness.initialDelaySeconds }}
periodSeconds: {{ .Values.starter.probes.readiness.periodSeconds }}
timeoutSeconds: {{ .Values.starter.probes.readiness.timeoutSeconds }}
failureThreshold: {{ .Values.starter.probes.readiness.failureThreshold }}
{{- end }}
{{- if .Values.global.extraConfig }}
volumeMounts:
- name: load-test-config
Expand Down
23 changes: 23 additions & 0 deletions charts/camunda-load-tests/templates/workers.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,29 @@ spec:
ports:
- containerPort: 9600
name: "http"
{{- $p := $worker.probes | default dict }}
{{- $liv := $p.liveness | default dict }}
{{- $rd := $p.readiness | default dict }}
{{- $enabled := true }}
{{- if hasKey $p "enabled" }}{{ $enabled = $p.enabled }}{{ end }}
{{- if $enabled }}
livenessProbe:
httpGet:
path: /health/liveness
port: http
initialDelaySeconds: {{ default 30 $liv.initialDelaySeconds }}
periodSeconds: {{ default 10 $liv.periodSeconds }}
timeoutSeconds: {{ default 3 $liv.timeoutSeconds }}
failureThreshold: {{ default 3 $liv.failureThreshold }}
readinessProbe:
httpGet:
path: /health/readiness
port: http
initialDelaySeconds: {{ default 10 $rd.initialDelaySeconds }}
periodSeconds: {{ default 10 $rd.periodSeconds }}
timeoutSeconds: {{ default 3 $rd.timeoutSeconds }}
failureThreshold: {{ default 3 $rd.failureThreshold }}
{{- end }}
{{- if $.Values.global.extraConfig }}
volumeMounts:
- name: load-test-config
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,20 @@ spec:
memory: 2Gi
ports:
- containerPort: 9600
name: "http"
name: "http"
livenessProbe:
httpGet:
path: /health/liveness
port: http
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 3
failureThreshold: 3
readinessProbe:
httpGet:
path: /health/readiness
port: http
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 3
failureThreshold: 3
Original file line number Diff line number Diff line change
Expand Up @@ -113,4 +113,20 @@ spec:
memory: 512Mi
ports:
- containerPort: 9600
name: "http"
name: "http"
livenessProbe:
httpGet:
path: /health/liveness
port: http
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 3
failureThreshold: 3
readinessProbe:
httpGet:
path: /health/readiness
port: http
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 3
failureThreshold: 3
Original file line number Diff line number Diff line change
Expand Up @@ -111,4 +111,20 @@ spec:
memory: 2Gi
ports:
- containerPort: 9600
name: "http"
name: "http"
livenessProbe:
httpGet:
path: /health/liveness
port: http
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 3
failureThreshold: 3
readinessProbe:
httpGet:
path: /health/readiness
port: http
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 3
failureThreshold: 3
Original file line number Diff line number Diff line change
Expand Up @@ -113,4 +113,20 @@ spec:
memory: 512Mi
ports:
- containerPort: 9600
name: "http"
name: "http"
livenessProbe:
httpGet:
path: /health/liveness
port: http
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 3
failureThreshold: 3
readinessProbe:
httpGet:
path: /health/readiness
port: http
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 3
failureThreshold: 3
Original file line number Diff line number Diff line change
Expand Up @@ -81,6 +81,22 @@ spec:
ports:
- containerPort: 9600
name: "http"
livenessProbe:
httpGet:
path: /health/liveness
port: http
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 3
failureThreshold: 3
readinessProbe:
httpGet:
path: /health/readiness
port: http
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 3
failureThreshold: 3
volumeMounts:
- name: load-test-config
mountPath: /usr/local/camunda/config/load-test-config.yaml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -83,6 +83,22 @@ spec:
ports:
- containerPort: 9600
name: "http"
livenessProbe:
httpGet:
path: /health/liveness
port: http
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 3
failureThreshold: 3
readinessProbe:
httpGet:
path: /health/readiness
port: http
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 3
failureThreshold: 3
volumeMounts:
- name: load-test-config
mountPath: /usr/local/camunda/config/load-test-config.yaml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -79,4 +79,20 @@ spec:
memory: 2Gi
ports:
- containerPort: 9600
name: "http"
name: "http"
livenessProbe:
httpGet:
path: /health/liveness
port: http
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 3
failureThreshold: 3
readinessProbe:
httpGet:
path: /health/readiness
port: http
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 3
failureThreshold: 3
Original file line number Diff line number Diff line change
Expand Up @@ -82,4 +82,20 @@ spec:
memory: 2Gi
ports:
- containerPort: 9600
name: "http"
name: "http"
livenessProbe:
httpGet:
path: /health/liveness
port: http
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 3
failureThreshold: 3
readinessProbe:
httpGet:
path: /health/readiness
port: http
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 3
failureThreshold: 3
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,20 @@ spec:
memory: 512Mi
ports:
- containerPort: 9600
name: "http"
name: "http"
livenessProbe:
httpGet:
path: /health/liveness
port: http
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 3
failureThreshold: 3
readinessProbe:
httpGet:
path: /health/readiness
port: http
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 3
failureThreshold: 3
Original file line number Diff line number Diff line change
Expand Up @@ -81,4 +81,20 @@ spec:
memory: 512Mi
ports:
- containerPort: 9600
name: "http"
name: "http"
livenessProbe:
httpGet:
path: /health/liveness
port: http
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 3
failureThreshold: 3
readinessProbe:
httpGet:
path: /health/readiness
port: http
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 3
failureThreshold: 3
Original file line number Diff line number Diff line change
Expand Up @@ -84,4 +84,20 @@ spec:
memory: 2Gi
ports:
- containerPort: 9600
name: "http"
name: "http"
livenessProbe:
httpGet:
path: /health/liveness
port: http
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 3
failureThreshold: 3
readinessProbe:
httpGet:
path: /health/readiness
port: http
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 3
failureThreshold: 3
Original file line number Diff line number Diff line change
Expand Up @@ -86,4 +86,20 @@ spec:
memory: 512Mi
ports:
- containerPort: 9600
name: "http"
name: "http"
livenessProbe:
httpGet:
path: /health/liveness
port: http
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 3
failureThreshold: 3
readinessProbe:
httpGet:
path: /health/readiness
port: http
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 3
failureThreshold: 3
Original file line number Diff line number Diff line change
Expand Up @@ -115,6 +115,22 @@ spec:
ports:
- containerPort: 9600
name: "http"
livenessProbe:
httpGet:
path: /health/liveness
port: http
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 3
failureThreshold: 3
readinessProbe:
httpGet:
path: /health/readiness
port: http
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 3
failureThreshold: 3
volumeMounts:
- name: load-test-config
mountPath: /usr/local/camunda/config/load-test-config.yaml
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -117,6 +117,22 @@ spec:
ports:
- containerPort: 9600
name: "http"
livenessProbe:
httpGet:
path: /health/liveness
port: http
initialDelaySeconds: 30
periodSeconds: 10
timeoutSeconds: 3
failureThreshold: 3
readinessProbe:
httpGet:
path: /health/readiness
port: http
initialDelaySeconds: 10
periodSeconds: 10
timeoutSeconds: 3
failureThreshold: 3
volumeMounts:
- name: load-test-config
mountPath: /usr/local/camunda/config/load-test-config.yaml
Expand Down
Loading
Loading