velero/site/docs/v0.5.0/cli-reference
Lee Springer d995018a3e add velero.io site content, move docs to under site/docs (#1489)
* Adding in Jekyll site | Adjusting gitignore for Jekyll build | Moving docs to site folder

Signed-off-by: Lee Springer <lee@smalltalk.agency>

Adding in Jekyll site | Adjusting gitignore for Jekyll build | Moving docs to site folder

Signed-off-by: Lee Springer <lee@smalltalk.agency>

* Restore main.go to original location

Signed-off-by: Lee Springer <lee@smalltalk.agency>

* Updates to footer

Signed-off-by: Lee Springer <lee@smalltalk.agency>

* Updates to homepage links

Signed-off-by: Lee Springer <lee@smalltalk.agency>

* Content updates

Signed-off-by: Lee Springer <lee@smalltalk.agency>
2019-05-17 10:56:03 -07:00
..
README.md add velero.io site content, move docs to under site/docs (#1489) 2019-05-17 10:56:03 -07:00
ark.md add velero.io site content, move docs to under site/docs (#1489) 2019-05-17 10:56:03 -07:00
ark_backup.md add velero.io site content, move docs to under site/docs (#1489) 2019-05-17 10:56:03 -07:00
ark_backup_create.md add velero.io site content, move docs to under site/docs (#1489) 2019-05-17 10:56:03 -07:00
ark_backup_download.md add velero.io site content, move docs to under site/docs (#1489) 2019-05-17 10:56:03 -07:00
ark_backup_get.md add velero.io site content, move docs to under site/docs (#1489) 2019-05-17 10:56:03 -07:00
ark_backup_logs.md add velero.io site content, move docs to under site/docs (#1489) 2019-05-17 10:56:03 -07:00
ark_create.md add velero.io site content, move docs to under site/docs (#1489) 2019-05-17 10:56:03 -07:00
ark_create_backup.md add velero.io site content, move docs to under site/docs (#1489) 2019-05-17 10:56:03 -07:00
ark_create_restore.md add velero.io site content, move docs to under site/docs (#1489) 2019-05-17 10:56:03 -07:00
ark_create_schedule.md add velero.io site content, move docs to under site/docs (#1489) 2019-05-17 10:56:03 -07:00
ark_get.md add velero.io site content, move docs to under site/docs (#1489) 2019-05-17 10:56:03 -07:00
ark_get_backups.md add velero.io site content, move docs to under site/docs (#1489) 2019-05-17 10:56:03 -07:00
ark_get_restores.md add velero.io site content, move docs to under site/docs (#1489) 2019-05-17 10:56:03 -07:00
ark_get_schedules.md add velero.io site content, move docs to under site/docs (#1489) 2019-05-17 10:56:03 -07:00
ark_restore.md add velero.io site content, move docs to under site/docs (#1489) 2019-05-17 10:56:03 -07:00
ark_restore_create.md add velero.io site content, move docs to under site/docs (#1489) 2019-05-17 10:56:03 -07:00
ark_restore_delete.md add velero.io site content, move docs to under site/docs (#1489) 2019-05-17 10:56:03 -07:00
ark_restore_get.md add velero.io site content, move docs to under site/docs (#1489) 2019-05-17 10:56:03 -07:00
ark_restore_logs.md add velero.io site content, move docs to under site/docs (#1489) 2019-05-17 10:56:03 -07:00
ark_schedule.md add velero.io site content, move docs to under site/docs (#1489) 2019-05-17 10:56:03 -07:00
ark_schedule_create.md add velero.io site content, move docs to under site/docs (#1489) 2019-05-17 10:56:03 -07:00
ark_schedule_delete.md add velero.io site content, move docs to under site/docs (#1489) 2019-05-17 10:56:03 -07:00
ark_schedule_get.md add velero.io site content, move docs to under site/docs (#1489) 2019-05-17 10:56:03 -07:00
ark_server.md add velero.io site content, move docs to under site/docs (#1489) 2019-05-17 10:56:03 -07:00
ark_version.md add velero.io site content, move docs to under site/docs (#1489) 2019-05-17 10:56:03 -07:00

README.md

Command line reference

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

The files in this directory enumerate each of the possible ark commands and their flags. Note that you can also find this info with the CLI itself, using the --help flag.

Running the client

While it is possible to build and run the ark executable yourself, it is recommended to use the containerized version. Use the alias described in the quickstart:

alias ark='docker run --rm -u $(id -u) -v $(dirname $KUBECONFIG):/kubeconfig -e KUBECONFIG=/kubeconfig/$(basename $KUBECONFIG) gcr.io/heptio-images/ark:latest'

Assuming that your KUBECONFIG variable is set, this alias takes care of specifying the appropriate Kubernetes cluster credentials for you.

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