oz0 plugin gc

Usage and flags for oz0 plugin gc.

For: Operators and developers looking up a command.

Delete the stored plugin artifacts that no installed version or its candidate, no plugin rollout whose queues may still run jobs, and no retained job references, once they are older than the grace period (7 days by default). The manager role does this every hour by itself (server start --artifact-gc); this runs one pass now. With --dry-run it lists what a pass would delete and deletes nothing. Cluster admins only.

Usage

oz0 plugin gc [flags]

Flags

FlagTypeDefaultDescription
--dry-runboollist what a pass would delete, and delete nothing
--graceduration168hhow old an unreferenced artifact must be
--jsonboolprint JSON instead of a table

Inherited flags

FlagTypeDefaultDescription
--contextstring$OZ0_CONTEXT or <config dir>/orchestrator-zero/context.jsonCLI context file written by server init
--log-levelstringinfolog level: debug, info, warn or error

See all oz0 commands and the global flags.

On this page
Copyright © 2026