Files
velero/docs/cli-reference
Shubham Minglani 7f3e88151b Add bash and zsh completion support
This commit adds support for auto completion for bash and zsh
shells. A new root level command called "completion" has been
introduced, and the user can get the auto completion code by
running `ark completion bash/zsh`.

For bash completion, the built-in GenBashCompletion() from cobra
has been used, but for zsh, the built-in GenZshCompletion() is
known to cause issues. The workaround has been copied from zsh
completion code of kubectl.

Signed-off-by: Shubham <shubham@linux.com>
2018-04-12 13:26:23 +05:30
..
2018-04-05 11:19:11 -04:00
2018-02-26 10:47:39 -08:00
2018-02-26 10:47:39 -08:00
2018-03-05 10:06:43 -08:00
2018-02-26 10:47:39 -08:00
2018-04-05 11:19:11 -04:00
2018-02-26 10:47:39 -08:00
2018-02-26 10:47:39 -08:00
2018-02-26 10:47:39 -08:00
2018-03-05 10:06:43 -08:00
2018-02-26 10:47:39 -08:00
2018-02-27 14:51:13 -05:00
2018-02-26 10:47:39 -08:00
2018-04-12 13:26:23 +05:30
2018-02-15 13:25:18 -05:00

Command line reference

The Ark client provides a CLI that allows you to initiate ad-hoc backups, scheduled backups, or restores.

The files in the CLI reference directory in the repository enumerate each of the possible ark commands and their flags. This information is available in the CLI, using the --help flag.

Running the client

We recommend that you download a pre-built release, but you can also build and run the ark executable.

Kubernetes cluster credentials

In general, Ark will search for your cluster credentials in the following order:

  • --kubeconfig command line flag
  • $KUBECONFIG environment variable
  • In-cluster credentials--this only works when you are running Ark in a pod