apache / openwhisk-deploy-kube

The Apache OpenWhisk Kubernetes Deployment repository supports deploying the Apache OpenWhisk system on Kubernetes and OpenShift clusters.
https://openwhisk.apache.org/
Apache License 2.0
302 stars 232 forks source link

Add timeout configuration #653

Closed ningyougang closed 3 years ago

ningyougang commented 3 years ago

Fix https://github.com/apache/openwhisk-deploy-kube/issues/652

In kubenetes env, if runtime pod number is big and akka.coordinated-shutdown.phases.actor-system-terminate_timeout is low(e.g default value is 30 s), this may lead to the runtime pods are not deleted completely after execute helm delete/uninstall xxx, because when timeout happens, the cleanup is not executed finished.

In such a case, need to increase relative timeout value, it is better to make these timeout value configurable.

Another brother pr: https://github.com/apache/openwhisk/pull/5028