Back to Faas

Newfunction

gateway/assets/templates/newfunction.html

0.27.131.2 KB
Original Source

Deploy A New Function

Use this form to test a function or the faas-cli for more options. Define the function below: Docker image name and tag to use for function i.e. functions/alpine:latestDocker image:

Docker image is required.

Name of the function - must be a valid DNS entryFunction name:

Function name is required.

Function name can only contain a-z, 0-9 and dashes

Process to run as your function i.e. 'env' or 'shasum'. Ignore if using OpenFaaS templatesFunction process (optional):

Docker Swarm network, not required for other providers. Default: func_functionsNetwork (Deprecated):

Namespace your function runs in i.e. 'openfaas-fn'. Only namespaces OpenFaaS can manage will show hereNamespace {{ namespace }}

Environment Variables

Environment variable key to be used in the functionKey:Environment variable value to be used in the functionValue:

Secrets

Secret name to be used in the functionSecret Name:

Labels

Label key to be used on the deployed functionKey:Label value to be used on the deployed functionValue:

Annotations

Annotation key to be used on the deployed functionKey:Annotation value to be used on the deployed functionValue:

{{ validationError }} Close Dialog Deploy