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

Commit ffd182f

Browse files
authored
update kubectl logs cmmand and it's output (#1180)
1 parent 71df772 commit ffd182f

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

docs/debug-functions.md

+3-4
Original file line numberDiff line numberDiff line change
@@ -35,10 +35,9 @@ INFO[0000] Check the deployment status executing 'kubeless function ls foo'
3535
$ kubeless function ls
3636
NAME NAMESPACE HANDLER RUNTIME DEPENDENCIES STATUS
3737
foo default hello,foo python3.6 MISSING: Check controller logs
38-
$ kubectl logs -n kubeless -l kubeless=controller
39-
time="2018-04-27T15:12:28Z" level=info msg="Processing update to function object foo Namespace: default" controller=cronjob-trigger-controller
40-
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
41-
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
38+
$ kubectl logs -n kubeless -l kubeless=controller -c kubeless-function-controller
39+
time="2020-10-01T01:48:29Z" level=info msg="Processing change to Function default/foo" pkg=function-controller
40+
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
4241
```
4342

4443
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`.

0 commit comments

Comments
 (0)