Skip to content

Commit 1e7cd45

Browse files
authored
Add timeout configuration (#653)
- actorSystem terminate timeout - runtime pods delete timeout configuration Co-authored-by: ning.yougang <[email protected]>
1 parent 3a99a17 commit 1e7cd45

File tree

2 files changed

+8
-0
lines changed

2 files changed

+8
-0
lines changed

helm/openwhisk/templates/invoker-pod.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -207,6 +207,10 @@ spec:
207207
{{- end }}
208208
- name: "CONFIG_whisk_helm_release"
209209
value: "{{ .Release.Name }}"
210+
- name: "CONFIG_akka_coordinatedShutdown_phases_actorSystemTerminate_timeout"
211+
value: "{{ .Values.akka.actorSystemTerminateTimeout }}"
212+
- name: "CONFIG_whisk_runtime_delete_timeout"
213+
value: "{{ .Values.invoker.runtimeDeleteTimeout }}"
210214
ports:
211215
- name: invoker
212216
containerPort: {{ .Values.invoker.port }}

helm/openwhisk/values.yaml

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -265,6 +265,7 @@ invoker:
265265
imageTag: "ed3f76e"
266266
imagePullPolicy: "IfNotPresent"
267267
restartPolicy: "Always"
268+
runtimeDeleteTimeout: "30 seconds"
268269
port: 8080
269270
options: ""
270271
jvmHeapMB: "512"
@@ -664,3 +665,6 @@ elasticsearch:
664665
indexPattern: "openwhisk-%s"
665666
username: "admin"
666667
password: "admin"
668+
669+
akka:
670+
actorSystemTerminateTimeout: "30 s"

0 commit comments

Comments
 (0)