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.

  1. List existing functions:

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

    $ kn service list [-n <namespace>]
    Example output
    NAME            URL                                                                                       LATEST                AGE   CONDITIONS   READY   REASON
    fn-example-io   fn-example-io-gzl4c   16m   3 OK / 3     True