Listing existing functions
You can list existing functions by using kn func list
.
If you want to list functions that have been deployed as Knative services, you can also use kn service list
.
If the namespace is not specified for the following commands, this defaults to the current namespace. |
Procedure
-
List existing functions:
$ kn func list [-n <namespace> -p <path>]
Example outputfn-example-io
-
List functions deployed as Knative services:
$ kn service list [-n <namespace>]
Example outputNAME URL LATEST AGE CONDITIONS READY REASON fn-example-io http://fn-example-io-default.apps.ci-ln-g9f36hb-d5d6b.origin-ci-int-aws.dev.rhcloud.com fn-example-io-gzl4c 16m 3 OK / 3 True