Skip to Content
Tools

funcdctl

The funcd CLI, which applies resources, reads their state and logs, and runs Functions on the local machine.

funcdctl

funcdctl

funcd control-plane CLI (kubectl-style)
FlagTypeDefaultDescription
--serverstringcontrol-plane base URL ($FUNCD_SERVER, else http://localhost:8080)
--tokenstringbearer token for the authenticated control plane ($FUNCD_TOKEN)

funcdctl app

funcdctl app

Manage Apps (render|deploy|delete|lock|history|rollback|pause|resume|retry)

funcdctl app delete

funcdctl app delete <app> [flags]

Delete an App, wait until the GC has removed its tree, and print what went and which stores stayed
FlagTypeDefaultDescription
-n, --namespacestringnamespace (default: default)
--no-waitboolfalsereturn once the App is deleted

funcdctl app deploy

funcdctl app deploy <dir|ref> [flags]

Render an App template, apply the App and wait until its new revision is current or failed.

One command deploys, upgrades and downgrades. Deploy prints the revision it follows and each part whose state changes, and exits 0 once the revision is current; 1 when it fails, when the App's spec changes before it is stamped, or when the App is deleted. The server's app.upgradeTimeout bounds a rollout; an interrupt stops the wait, not the rollout.
FlagTypeDefaultDescription
--dry-runboolfalseadmit the App and store nothing; print what the deploy would do and wait for nothing
--namestringthe App's name (default: app.yaml's name)
-n, --namespacestringnamespace (default: default)
--no-waitboolfalsereturn once the App is applied
--resource-groupstringresource group (default: the App's name, or the stored App's group)
-f, --valuesstringArray[]a values file; repeat it to merge files in order

funcdctl app history

funcdctl app history <app> [flags]

List an App's revisions by number (REVISION, VERSION, PHASE, STAMPED)
FlagTypeDefaultDescription
-n, --namespacestringnamespace (default: default)
-o, --outputstringoutput format: json

funcdctl app lock

funcdctl app lock <dir> [flags]

Resolve each image of an App template to a version and a digest, and write them to its app.lock.

An exact entry resolves its tag; a range takes the highest version tag it accepts. The registry is the template's registry value, from the -f files and the schema defaults. Any failure writes nothing.
FlagTypeDefaultDescription
-f, --valuesstringArray[]a values file; repeat it to merge files in order

funcdctl app pause

funcdctl app pause <app> [flags]

Pause an App (sets spec.paused: a paused App writes no part)
FlagTypeDefaultDescription
-n, --namespacestringnamespace (default: default)

funcdctl app render

funcdctl app render <dir|ref> [flags]

Render an App template into the App deploy would apply, and print it (YAML; -o json)
FlagTypeDefaultDescription
--namestringthe App's name (default: app.yaml's name)
-n, --namespacestringnamespace (default: default)
-o, --outputstringoutput format: json
--resource-groupstringresource group (default: the App's name, or the stored App's group)
-f, --valuesstringArray[]a values file; repeat it to merge files in order

funcdctl app resume

funcdctl app resume <app> [flags]

Resume an App (sets spec.paused: a paused App writes no part)
FlagTypeDefaultDescription
-n, --namespacestringnamespace (default: default)

funcdctl app retry

funcdctl app retry <app> [flags]

Call the App's failed hook again (the rollout continues once it succeeds)
FlagTypeDefaultDescription
-n, --namespacestringnamespace (default: default)

funcdctl app rollback

funcdctl app rollback <app> <n> [flags]

Apply the spec of the App's revision n again (the App reconciler stamps it as a new revision)
FlagTypeDefaultDescription
--dry-runboolfalseadmit the rollback and store nothing; print what it would do
-n, --namespacestringnamespace (default: default)

funcdctl apply

funcdctl apply [flags]

Apply a manifest of one or more YAML documents, or JSON (- for stdin).

Every document is validated offline first; then the documents are applied in order. Apply stops at the first error the server returns and names that document; the documents before it stay applied.

With --dry-run each document is admitted against the store as it is and nothing is stored: apply prints what it would apply, and an App's plan.
FlagTypeDefaultDescription
--dry-runboolfalseadmit each document against the store and store nothing; print what would apply
-f, --filestringmanifest file (YAML or JSON); - for stdin

funcdctl backup

funcdctl backup

Platform backup: status (the daemon's report), verify (off the box) and plan (objectives into settings)

funcdctl backup plan

funcdctl backup plan <platform|kv|blob|lake|schedule> [flags]

Print the backup settings recovery objectives give, as an example: --rpo (the most data a loss may take) and --keep (how far back a restore point must reach) give the platform, kv or blob keys of funcdconfig.yaml, or the schedule and ttl of a BackupSchedule (-f); lake says why a Lake needs no key. The example passes the daemon's own loader merged into the located file, then is printed; no file is written. --rto with --size and --speed checks the download time, a lower bound: only a restore drill proves an RTO. Exit 1: refused, nothing printed; 3: the RTO is below the download time.
FlagTypeDefaultDescription
--configstringplatform, kv, blob, lake: path to funcdconfig.yaml (else $FUNCD_CONFIG, ./funcdconfig.yaml, /etc/funcd/funcdconfig.yaml)
-f, --filestringschedule: a manifest holding one BackupSchedule; - for stdin
--keepstringhow far back a restore point must reach, a duration (720h)
--rpostringthe most data a loss may take, a duration (1h)
--rtostringthe target recovery time, a duration; needs --size and --speed
--sizestringthe bytes a restore downloads: an integer with an optional Ki, Mi, Gi or Ti suffix
--speedstringthe link's bytes per second, in the grammar of --size

funcdctl backup status

funcdctl backup status

Print the platform backup status as YAML: restore points, rpoRisk, failures (admin only)

funcdctl backup verify

funcdctl backup verify [flags]

Check a generation against its manifest, decrypt it to its end and parse its records; with --escrow, also find the keys it names. Then copy it under gen/verified/, manifest last. A generation already pinned is checked again and nothing is written. Run it every (backup.objectives.rpo − backup.interval) / 2.
FlagTypeDefaultDescription
--credentials-filestrings3:// only: the verify credential's AWS shared credentials file
--escrowstringthe escrow set's directory: find the keys the generation names
--generationuint640the generation to verify; default the newest complete hourly, daily or weekly one
--identitystringArray[]an age identity file (repeatable)
--targetstringbackup.target: s3://… or file:///<absolute dir>

funcdctl bench

funcdctl bench [flags]

Load-test a deployed function's data-plane endpoint (throughput + tail latency)
FlagTypeDefaultDescription
--bodystring{}request body
-c, --concurrencyint8concurrent workers
--content-typestringapplication/jsonrequest content-type
--data-planestringdata-plane base URL ($FUNCD_DATA_PLANE), used with --function
-d, --durationduration5srun length (ignored when --requests is set)
-f, --functionstringfunction name — with --data-plane builds <data-plane>/function/<name>
--jsonboolfalseemit the result as JSON
--methodstringPOSTHTTP method
-n, --requestsint0total requests across workers (overrides --duration)
--urlstringdata-plane endpoint to hit (e.g. http://host:8081/function/hello)

funcdctl completion

funcdctl completion

Generate the autocompletion script for funcdctl for the specified shell.
See each sub-command's help for details on how to use the generated script.

funcdctl completion bash

funcdctl completion bash

Generate the autocompletion script for the bash shell.

This script depends on the 'bash-completion' package.
If it is not installed already, you can install it via your OS's package manager.

To load completions in your current shell session:

	source <(funcdctl completion bash)

To load completions for every new session, execute once:

#### Linux:

	funcdctl completion bash > /etc/bash_completion.d/funcdctl

#### macOS:

	funcdctl completion bash > $(brew --prefix)/etc/bash_completion.d/funcdctl

You will need to start a new shell for this setup to take effect.
FlagTypeDefaultDescription
--no-descriptionsboolfalsedisable completion descriptions

funcdctl completion fish

funcdctl completion fish [flags]

Generate the autocompletion script for the fish shell.

To load completions in your current shell session:

	funcdctl completion fish | source

To load completions for every new session, execute once:

	funcdctl completion fish > ~/.config/fish/completions/funcdctl.fish

You will need to start a new shell for this setup to take effect.
FlagTypeDefaultDescription
--no-descriptionsboolfalsedisable completion descriptions

funcdctl completion powershell

funcdctl completion powershell [flags]

Generate the autocompletion script for powershell.

To load completions in your current shell session:

	funcdctl completion powershell | Out-String | Invoke-Expression

To load completions for every new session, add the output of the above command
to your powershell profile.
FlagTypeDefaultDescription
--no-descriptionsboolfalsedisable completion descriptions

funcdctl completion zsh

funcdctl completion zsh [flags]

Generate the autocompletion script for the zsh shell.

If shell completion is not already enabled in your environment you will need
to enable it.  You can execute the following once:

	echo "autoload -U compinit; compinit" >> ~/.zshrc

To load completions in your current shell session:

	source <(funcdctl completion zsh)

To load completions for every new session, execute once:

#### Linux:

	funcdctl completion zsh > "${fpath[1]}/_funcdctl"

#### macOS:

	funcdctl completion zsh > $(brew --prefix)/share/zsh/site-functions/_funcdctl

You will need to start a new shell for this setup to take effect.
FlagTypeDefaultDescription
--no-descriptionsboolfalsedisable completion descriptions

funcdctl delete

funcdctl delete <kind> <name> [flags]

Delete an object
FlagTypeDefaultDescription
--forceboolfalseResourceGroup only: delete its members first; their protections apply
-n, --namespacestringnamespace

funcdctl describe

funcdctl describe <kind> [name] [flags]

Get an object (or list) as full JSON (get -o json)
FlagTypeDefaultDescription
-n, --namespacestringnamespace

funcdctl dev

funcdctl-dev only.

funcdctl dev [dir] [flags]

funcdctl dev runs a folder's resource files from their local builds. A directory that holds app.yaml beside resources/ runs as an App template instead: dev pushes each image's build, renders the template as funcdctl app deploy does and applies the App, then again on each save.

A funcdctl.config.yaml in the current directory holds what dev is run with: its dev keys are these flags in camelCase (dir, values, build, hooks, apply, persist, persistTo, gport, s3port, cport), plus env and envFile for the values of a declared Secret no document defines, platform for runtime.handOutSettle, eventing.blobPollInterval and funclog.segmentMaxAge, and addons.runtime, docker or containerd, the container engine that runs the add-ons' engines, Docker first when it is unset. A flag given here replaces its key, and a dir argument replaces dev.dir.

For an App template the file also takes watch, a list of name, run and dir: dev starts each command, waits for the builds they write and keeps their output in log files; and liveReload: true, which reloads open Site pages after a Site change.
FlagTypeDefaultDescription
--applystringArray[]a file of resource documents applied before the App, again when it changes (App mode; repeatable)
--buildstringArray[]an App's builds: a folder each image key is looked up in, or <key>=<path> (App mode; repeatable)
--cportint0fixed control-plane port (for funcdctl --server: apply, workflow run); 0 ⇒ a random free port
--gportint0fixed gateway (function-invoke) port; 0 ⇒ a random free port
--hooksboolfalsekeep the App's preApply and postApply hooks, called on each new revision (App mode)
--persistboolfalsekeep the metastore, KV, blob, SQL, lake and volume data between runs, in the --persist-to directory (default: in memory or in temporary directories, gone when dev stops)
--persist-tostring.funcd-devdirectory for --persist state, one subdirectory per service: metastore, kv, blob, lake, sql, volumes and bundles
--print-envboolfalseprint the dev S3 credentials as export … lines and exit (no server); pair with a fixed --s3port. Use: eval "$(funcdctl dev <dir> --s3port 3006 --print-env)"
--s3portint0fixed S3-frontend port; 0 ⇒ a random free port
-f, --valuesstringArray[]an App template's values file; repeat it to merge files in order (App mode)

funcdctl eventing

funcdctl eventing

Eventing operations (dlq: inspect/replay/discard dead-lettered Sensor actions)

funcdctl eventing dlq

funcdctl eventing dlq

Manage the eventing dead-letter queue (list|describe|replay|discard)

funcdctl eventing dlq describe

funcdctl eventing dlq describe <id> [flags]

Show a dead letter in full (provenance, attempts, reason, the parked CloudEvent)
FlagTypeDefaultDescription
-n, --namespacestringnamespace (default: default)

funcdctl eventing dlq discard

funcdctl eventing dlq discard <id> [flags]

Discard a dead letter (delete without replaying)
FlagTypeDefaultDescription
-n, --namespacestringnamespace (default: default)

funcdctl eventing dlq list

funcdctl eventing dlq list [flags]

List dead-lettered Sensor actions (newest first)
FlagTypeDefaultDescription
-n, --namespacestringnamespace (default: default)
-o, --outputstringoutput format: json

funcdctl eventing dlq replay

funcdctl eventing dlq replay <id> [flags]

Replay a dead letter against the live Sensor spec (removed on success; re-parked if the delivery fails)
FlagTypeDefaultDescription
-n, --namespacestringnamespace (default: default)

funcdctl get

funcdctl get <kind> [name] [flags]

List a kind, or get one object (table; -o json for the object)
FlagTypeDefaultDescription
-n, --namespacestringnamespace
-o, --outputstringoutput format: json

funcdctl help

funcdctl help [command]

Help provides help for any command in the application.
Simply type funcdctl help [path to command] for full details.

funcdctl hold

funcdctl hold

The platform hold a restore or safe mode leaves (status|release)

funcdctl hold release

funcdctl hold release [flags]

Lift the hold: timers, blob sources, Sensors, runs, rollouts, backups and sweeps act again
FlagTypeDefaultDescription
--advancestringArray[]a blob EventSource <namespace>/<name> whose listed objects are marked seen instead of fired (repeatable)
--namespacestringArray[]a namespace whose hold a restore left (restore run's data, an ended in-place Restore's load) is released instead of the platform's hold (repeatable)

funcdctl hold status

funcdctl hold status

Show the hold: marker, restore report, counts, paused runs, dead letters, pending blob keys, orphan data, namespace markers

funcdctl index

funcdctl index <ref> <source-ref>...

Combine per-platform pushes (push --platform) into one multi-arch OCI image index (prints <ref>@<digest>)

funcdctl inspect

funcdctl inspect <ref>[@<digest>]

Print a function artifact's I/O contract from its OCI metadata (no bundle pull, no run)

funcdctl job

funcdctl job

Run Jobs and read their runs (run|runs|logs|describe|cancel|approve|reject)

funcdctl job approve

funcdctl job approve <run> [flags]

Approve a run's preview, so the run runs exactly what it previewed.

Without --digest, the command prints the preview's document and digest and, on a terminal, asks to confirm. With --digest, it approves that digest with no question, for scripts. funcd refuses an approval that names another preview than the run's current one with 409, and one from a caller who may not update the run's Job with 403.
FlagTypeDefaultDescription
--digeststringapprove this preview digest, sha256:<hex>, with no question (default: show the preview and ask)
-n, --namespacestringnamespace (default: default)

funcdctl job cancel

funcdctl job cancel <run> [flags]

Cancel a run (sets spec.cancel; a running run's worker is stopped)
FlagTypeDefaultDescription
-n, --namespacestringnamespace (default: default)

funcdctl job describe

funcdctl job describe <run> [flags]

Show a run: phase, reason, revision, digest, who started it, its preview, who approved or rejected it, its times and its result
FlagTypeDefaultDescription
-n, --namespacestringnamespace (default: default)
-o, --outputstringoutput format: rendered (default) or json

funcdctl job logs

funcdctl job logs <run> [flags]

Print a run's logs: its worker's lines and those of the calls it made
FlagTypeDefaultDescription
--limitint0max records to return, most-recent (default 1000)
-n, --namespacestringnamespace (default: default)
-o, --outputstringoutput format: wide (append source/inv/attrs inline) | json
--severitystringminimum level: trace|debug|info|warn|error|fatal
--sincestringonly logs since a duration ago (15m, 1h30m) or an RFC3339 time (2026-10-07T22:00
)

funcdctl job reject

funcdctl job reject <run> [flags]

Reject a run that has not started running, so it ends Rejected and its handler never runs
FlagTypeDefaultDescription
-n, --namespacestringnamespace (default: default)
--reasonstringwhy the run is rejected, at most 512 bytes: the message of its Ready condition

funcdctl job run

funcdctl job run <job> [run-name] [flags]

Start a run of a Job and print its name (omit run-name for a server-generated <job>-<id>)
FlagTypeDefaultDescription
--inputstringrun input: inline JSON or @file (default: none)
-n, --namespacestringnamespace (default: default)
--resource-groupstringdefaultresource group

funcdctl job runs

funcdctl job runs <job> [flags]

List a Job's runs (newest first; --phase to filter)
FlagTypeDefaultDescription
-n, --namespacestringnamespace (default: default)
-o, --outputstringoutput format: json
--phasestringfilter by run phase (Pending|Previewing|AwaitingApproval|Running|Succeeded|Failed|Cancelled|Rejected)

funcdctl kvstore

funcdctl kvstore

Manage KV stores (handover)

funcdctl kvstore handover

funcdctl kvstore handover <store> <workflow> [flags]

Make a workflow the owner of a kept KV store (needs KVStore update and delete)
FlagTypeDefaultDescription
-n, --namespacestringnamespace (default: default)

funcdctl login

funcdctl login <registry> [flags]

Store registry credentials
FlagTypeDefaultDescription
-p, --passwordstringpassword
-u, --userstringusername

funcdctl logout

funcdctl logout <registry>

Remove stored credentials for a registry

funcdctl logs

funcdctl logs <function> | <kind>/<name> [flags]

Print the logs of a Function or of an object's engine (tenant-scoped to your identity)
FlagTypeDefaultDescription
--limitint0max records to return, most-recent (default 1000)
-n, --namespacestringnamespace
-o, --outputstringoutput format: wide (append source/inv/attrs inline) | json
--severitystringminimum level: trace|debug|info|warn|error|fatal
--sincestringonly logs since a duration ago (15m, 1h30m) or an RFC3339 time (2026-10-07T22:00
)

funcdctl plugin

funcdctl plugin

Plugins: `funcdctl <name>` runs funcdctl-<name> from PATH when <name> is no built-in command

funcdctl plugin list

funcdctl plugin list

List the plugins on PATH, and warn about each one that never runs

funcdctl pull

funcdctl pull <ref> <digest> [dir] [flags]

Fetch an artifact by digest into a dir (verifies the digest)
FlagTypeDefaultDescription
--platformstringthe platform whose manifest to pull from a multi-arch index (linux and this machine's architecture when not given)

funcdctl push

funcdctl push <path> <ref> [flags]

Package a function (a file or a bundle directory) — or, with --site, a prebuilt static web app, or with --template, an App template — as an OCI artifact and push it (prints <ref>@<digest>)
FlagTypeDefaultDescription
--entrystringhandler entry file relative to the bundle root (directory push only); default main.py for a python runtime, else main.mjs
--platformstringthe platform the artifact was built for (linux/amd64 or linux/arm64), recorded on the manifest so funcdctl index can combine per-platform pushes
--siteboolfalsepush <path> (a directory) as a static-site bundle for a Site: one deterministic tar+gzip layer, no contract/runtime/entry
--templateboolfalsepush <path> (an App template directory with a fresh app.lock) as it is, tagged with its version

funcdctl quarantine

funcdctl quarantine

The data a start moved aside instead of deleting it, as no object named it (return)

funcdctl quarantine return

funcdctl quarantine return <kvstore|bucket|volume> <namespace>/<name>[/<volume>] [flags]

Return an object's quarantined data into it. Apply the object again first: the return refuses an object that is missing or whose data is not empty, and nothing returns on its own. A volume is <namespace>/<function>/<volume>. Without --since, the newest entry returns; a return cut short resumes when run again.
FlagTypeDefaultDescription
--sincestringthe entry's since, as hold status lists it (RFC 3339); the newest entry when absent

funcdctl types

funcdctl types -f <name>.contract.yaml [flags]

Generate FuncInput/FuncOutput (JobInput/JobOutput for a Job) + binding types from a contract file and its Function or Job (.py / .d.ts; DX-only)
FlagTypeDefaultDescription
-f, --filestringthe contract file, <name>.contract.yaml or <name>.contract.json
-o, --outstringoutput directory (default: a python Function's source entry directory, else .)

funcdctl volume

funcdctl volume

Function volume operations (delete a retained volume)

funcdctl volume delete

funcdctl volume delete <namespace>/<function>/<volume>

Delete a retained Function volume and free its reserved space

funcdctl workflow

funcdctl workflow

Manage workflow runs (run|runs|pause|resume|cancel|describe|logs|replay)

funcdctl workflow cancel

funcdctl workflow cancel <run> [flags]

Cancel a workflow run (requests cancellation via spec.cancel)
FlagTypeDefaultDescription
-n, --namespacestringnamespace (default: default)

funcdctl workflow describe

funcdctl workflow describe <run> [flags]

Show a workflow run's per-step troubleshooting state (phase, attempts, duration, error)
FlagTypeDefaultDescription
-n, --namespacestringnamespace (default: default)
-o, --outputstringoutput format: rendered (default) or json

funcdctl workflow logs

funcdctl workflow logs <run> [flags]

Print a whole workflow run's logs (the full error/logs by run, tenant-scoped)
FlagTypeDefaultDescription
--limitint0max records to return, most-recent (default 1000)
-n, --namespacestringnamespace (default: default)
-o, --outputstringoutput format: wide (append source/inv/attrs inline) | json
--severitystringminimum level: trace|debug|info|warn|error|fatal
--sincestringonly logs since a duration ago (15m, 1h30m) or an RFC3339 time (2026-10-07T22:00
)
--stepstringnarrow to one step's function (the --step drill-down)

funcdctl workflow pause

funcdctl workflow pause <run> [flags]

Pause a workflow run (patches spec.paused)
FlagTypeDefaultDescription
-n, --namespacestringnamespace (default: default)

funcdctl workflow replay

funcdctl workflow replay <source-run> --from <step> [flags]

Re-run a finished run from a chosen step (reuses upstream outputs)
FlagTypeDefaultDescription
--allow-driftboolfalsere-run even if a step's artifact digest moved since the source run
--fromstringthe step to re-run from (required); it and its descendants re-execute
--namestringthe new run's name (default: <source>-r-<hex>)
-n, --namespacestringnamespace (default: default)

funcdctl workflow resume

funcdctl workflow resume <run> [flags]

Resume a workflow run (patches spec.paused)
FlagTypeDefaultDescription
-n, --namespacestringnamespace (default: default)

funcdctl workflow run

funcdctl workflow run <workflow> [run-name] [flags]

Start a workflow run (creates a WorkflowRun; omit run-name for a server-generated <workflow>-<id>)
FlagTypeDefaultDescription
--inputstringrun input: inline JSON or @file (default: empty)
-n, --namespacestringnamespace (default: default)
--resource-groupstringdefaultresource group

funcdctl workflow runs

funcdctl workflow runs [flags]

List workflow runs (newest first; --phase to filter)
FlagTypeDefaultDescription
-n, --namespacestringnamespace (default: default)
-o, --outputstringoutput format: json
--phasestringfilter by run phase (Pending|Running|Paused|Succeeded|Failed|Cancelled)

On this page