mirror of
https://github.com/siderolabs/talos.git
synced 2025-10-07 05:31:20 +02:00
This allows osctl to generate documentation for itself. Signed-off-by: Andrew Rynhard <andrew@andrewrynhard.com>
1014 B
1014 B
osctl cp
Copy data out from the node
Synopsis
Creates an .tar.gz archive at the node starting at and streams it back to the client.
If '-' is given for , archive is written to stdout. Otherwise archive is extracted to which should be an empty directory or osctl creates a directory if doesn't exist. Command doesn't preserve ownership and access mode for the files in extract mode, while streamed .tar archive captures ownership and permission bits.
osctl cp <src-path> -|<local-path> [flags]
Options
-h, --help help for cp
Options inherited from parent commands
--talosconfig string The path to the Talos configuration file (default "/root/.talos/config")
-t, --target strings target the specificed node
SEE ALSO
- osctl - A CLI for out-of-band management of Kubernetes nodes created by Talos