Skip to content

Latest commit

 

History

History
54 lines (39 loc) · 1.88 KB

func.md

File metadata and controls

54 lines (39 loc) · 1.88 KB

func

Serverless functions

Synopsis

Serverless functions v0.0.0-source-2022-09-12T14:54:32-06:00

Create, build and deploy Knative functions

SYNOPSIS func [-v|--verbose] [args]

EXAMPLES

o Create a Node function in the current directory
  $ func create --language node .

o Deploy the function defined in the current working directory to the
  currently connected cluster, specifying a container registry in place of
  quay.io/user for the function's container.
  $ func deploy --registry quay.io.user

o Invoke the function defined in the current working directory with an example
  request.
  $ func invoke

For more examples, see 'func [command] --help'.

Options

  -h, --help               help for func
  -n, --namespace string   The namespace on the cluster used for remote commands. By default, the namespace func.yaml is used or the currently active namespace if not set in the configuration. (Env: $FUNC_NAMESPACE)
  -v, --verbose            Print verbose logs ($FUNC_VERBOSE)

SEE ALSO