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
297 stars 231 forks source link

action instance number limited #663

Closed whoszus closed 3 years ago

whoszus commented 3 years ago

action can only support 8 instances at the same time when the function is executed, where is this limitation configured? How can I modify it to support more "simultaneous instances"?

ningyougang commented 3 years ago

Sorry, what's mean 8 instances? you mean pod number? if that, you can search "replicaCount" in values.yml, you can modify there for components.

dgrove-oss commented 3 years ago

You need to configure the system to tell it how much memory is available for user actions. The default is 2Gb available (https://github.com/apache/openwhisk-deploy-kube/blob/master/helm/openwhisk/values.yaml#L125). With the default of 256MB actions, 2048 / 256 = 8.

whoszus commented 3 years ago

Thank you, it works. @dgrove-oss