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
| Flag | Type | Default | Description |
|---|---|---|---|
--dry-run | bool | list what a pass would delete, and delete nothing | |
--grace | duration | 168h | how old an unreferenced artifact must be |
--json | bool | print JSON instead of a table |
Inherited flags
| Flag | Type | Default | Description |
|---|---|---|---|
--context | string | $OZ0_CONTEXT or <config dir>/orchestrator-zero/context.json | CLI context file written by server init |
--log-level | string | info | log level: debug, info, warn or error |
See all oz0 commands and the global flags.