How to add proxy details in velero while during installation in kubernetes cluster

Viewed 19

velero install --provider aws --plugins ********/******/velero/velero-plugin-for-aws:v1.3.1 --bucket rancher-velero-backups --secret-file ./credentials --use-volume-snapshots false --use-restic true --default-volumes-to-restic --backup-location-config region=

please let me know where to include the proxy details

1 Answers

I think the velero CLI doesn't include an option to specify proxy details when running any velero command. However, you could quickly add proxy details in your shell and then run the velero install command.

proxy=XXX:<port>
HTTP_PROXY=http://${proxy}
HTTPS_PROXY=http://${proxy}
http_proxy=http://${proxy}
https_proxy=http://${proxy}

Once you're done, you can simply use unset HTTP_PROXY to unset the given variable.

Related