Skip to content

Karina snapshot

karina snapshot

Take a snapshot of the running system

karina snapshot [flags]

Options

      --concurrency int     Run the export concurrently (default 1)
  -h, --help                help for snapshot
      --include-events      Export events (default true)
      --include-logs        Export logs for pods (default true)
      --include-specs       Export yaml specs
  -o, --output-dir string   Output directory for snapshot (default "snapshot")
      --since duration      Return logs newer than a relative duration like 5s, 2m, or 3h (default 4h0m0s)

Options inherited from parent commands

  -c, --config stringArray   Path to config file (default [karina.yml])
      --dry-run              Don't apply any changes, print what would have been done
  -e, --extra stringArray    Extra arguments to apply e.g. -e ldap.domain=example.com
      --in-cluster           Use in cluster kubernetes config
      --kubeconfig string    Specify a kubeconfig to use, if empty a new kubeconfig is generated from master CA's at runtime
  -v, --loglevel count       Increase logging level
      --prune                Delete previously enabled resources (default true)
      --skip-decrypt         Skip any phases requiring decryption
      --trace                Print out generated specs and configs

SEE ALSO

Auto generated by spf13/cobra on 17-May-2022