, nodejs8, nodejs10, nodejs12, php7.2, php7.3, python2.7, python3.4, python3.6, python3.7, ruby2.3, ruby2.4...要检索这些日志,请执行:
$ kubeless function deploy hello --runtime python2.7 --from-file test.py --handler test,...It should be module_name.handler_name" pkg=function-controller
从日志中我们可以看到 handler 参数存在问题:我们应该将 test,hello...不幸的是,事实并非如此,因此让我们手动检索 install 容器的日志:
$ kubectl logs hello-b46455654-v2bs9 -c install --previous
/kubeless...function=hello
File "/usr/local/lib/python2.7/dist-packages/bottle.py", line 862, in _handle
return route.call