mirror of
https://github.com/vmware-tanzu/velero.git
synced 2026-01-09 22:47:27 +00:00
* add a metrics package to handle metric registration and publishing * add a metricsAddress field to the server struct * make metrics a part of the server * start a metrics endpoint as part of starting the controllers * instrument backup_controller to report metrics * update cli-reference docs * update example deployments with prometheus annotations * update 'pkg/install' tooling with prometheus annotations Signed-off-by: Ashish Amarnath <ashish.amarnath@gmail.com>
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:
--kubeconfigcommand line flag$KUBECONFIGenvironment variable- In-cluster credentials--this only works when you are running Ark in a pod