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
  1. List existing functions:

    $ kn func list [-n <namespace> -p <path>]
    Example output
    fn-example-io
  2. List functions deployed as Knative services:

    $ kn service list [-n <namespace>]
    Example output
    NAME            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