Skip to content
This repository has been archived by the owner on Dec 15, 2021. It is now read-only.

update kubectl logs cmmand and it's output #1180

Merged
merged 3 commits into from Oct 1, 2020
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
7 changes: 3 additions & 4 deletions docs/debug-functions.md
Expand Up @@ -35,10 +35,9 @@ INFO[0000] Check the deployment status executing 'kubeless function ls foo'
$ kubeless function ls
NAME NAMESPACE HANDLER RUNTIME DEPENDENCIES STATUS
foo default hello,foo python3.6 MISSING: Check controller logs
$ kubectl logs -n kubeless -l kubeless=controller
time="2018-04-27T15:12:28Z" level=info msg="Processing update to function object foo Namespace: default" controller=cronjob-trigger-controller
time="2018-04-27T15:12:28Z" level=error msg="Function can not be created/updated: failed: incorrect handler format. It should be module_name.handler_name" pkg=function-controller
time="2018-04-27T15:12:28Z" level=error msg="Error processing default/foo (will retry): failed: incorrect handler format. It should be module_name.handler_name" pkg=function-controller
$ kubectl logs -n kubeless -l kubeless=controller -c kubeless-function-controller
time="2020-10-01T01:48:29Z" level=info msg="Processing change to Function default/foo" pkg=function-controller
time="2020-10-01T01:48:29Z" level=error msg="Function can not be created/updated: failed: incorrect handler format. It should be module_name.handler_name" pkg=function-controller
```

From the logs we can see that there is a problem with the handler: we specified `hello,foo` while the correct value is `hello.foo`.
Expand Down