Saltar al contenido principal

octopus apply

octopus apply​

Apply resource manifests

Synopsis​

Apply one or more resource manifests from a file or directory.

Supports YAML (.yaml, .yml) and NDJSON (.ndjson, .jsonl) formats. Resources are processed in document order (serial) or concurrently (--parallel N). DEFERRED operations are automatically waited until completion.

octopus apply [flags]

Examples​

octopus apply -f tenant.yaml
octopus apply -f environment/
octopus apply -f environment/ --dry-run
octopus apply -f fixtures/holders.ndjson --parallel 10
octopus apply -f fixtures/holders.ndjson --parallel 10 --progress

Options​

--dry-run Validate manifests without executing
-f, --file string Path to manifest file or directory (required)
-h, --help help for apply
--parallel int Number of parallel workers (default 1 = serial) (default 1)
--progress Show progress bar (requires --parallel > 1)

Options inherited from parent commands​

-c, --correlation string Correlation ID for request tracing (UUID, auto-generated if omitted)
-g, --global Shorthand for --tenant global
-i, --idempotency-key string Idempotency key for exactly-once execution (UUID, auto-generated per operation if omitted)
-o, --output string Output format: human, json (default "human")
-p, --profile string Override active config profile for this command.
-t, --tenant string Tenant code. Overrides default_tenant from config.
-v, --verbose Enable verbose output

SEE ALSO​

  • octopus - Octopus's command-line interface