Skip to content

Commit

Permalink
Add timeout configuration (#653)
Browse files Browse the repository at this point in the history
- actorSystem terminate timeout
- runtime pods delete timeout configuration

Co-authored-by: ning.yougang <ning.yougang@navercorp.com>
  • Loading branch information
ningyougang and ningyougang authored Nov 20, 2020
1 parent 3a99a17 commit 1e7cd45
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 0 deletions.
4 changes: 4 additions & 0 deletions helm/openwhisk/templates/invoker-pod.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -207,6 +207,10 @@ spec:
{{- end }}
- name: "CONFIG_whisk_helm_release"
value: "{{ .Release.Name }}"
- name: "CONFIG_akka_coordinatedShutdown_phases_actorSystemTerminate_timeout"
value: "{{ .Values.akka.actorSystemTerminateTimeout }}"
- name: "CONFIG_whisk_runtime_delete_timeout"
value: "{{ .Values.invoker.runtimeDeleteTimeout }}"
ports:
- name: invoker
containerPort: {{ .Values.invoker.port }}
Expand Down
4 changes: 4 additions & 0 deletions helm/openwhisk/values.yaml
Original file line number Diff line number Diff line change
Expand Up @@ -265,6 +265,7 @@ invoker:
imageTag: "ed3f76e"
imagePullPolicy: "IfNotPresent"
restartPolicy: "Always"
runtimeDeleteTimeout: "30 seconds"
port: 8080
options: ""
jvmHeapMB: "512"
Expand Down Expand Up @@ -664,3 +665,6 @@ elasticsearch:
indexPattern: "openwhisk-%s"
username: "admin"
password: "admin"

akka:
actorSystemTerminateTimeout: "30 s"

0 comments on commit 1e7cd45

Please sign in to comment.