'How can I install Velero Client on my Ubuntu machine?

I tried both option 1 and option 2 as listed in the documentation, but no tar ball was downloaded.

I am truly confused. Is it necessary to install Velero locally and a server in the Kube cluster?

I tried on both Windows and Linux, and got no result. If you can explain the procedure for both operating systems, I would appreciate it.



Solution 1:[1]

Please follow below steps to install Velero in Ubuntu :

wget https://github.com/vmware-tanzu/velero/releases/download/v1.2.0/velero-v1.2.0-linux-amd64.tar.gz
tar -zxvf velero-v1.2.0-linux-amd64.tar.gz
sudo mv velero-v1.2.0-linux-amd64/velero /usr/local/bin/

Solution 2:[2]

Steps to install Velero Client on Ubuntu:

Install Velero binary:

wget https://github.com/vmware-tanzu/velero/releases/download/v1.3.2/velero-v1.3.2-linux-amd64.tar.gz

Extract the tarball:

tar -xvf velero-v1.3.2-linux-amd64.tar.gz -C /tmp

Move the extracted velero binary to /usr/local/bin

sudo mv /tmp/velero-v1.3.2-linux-amd64/velero /usr/local/bin

Verify installation:

velero version

output should be:

Client:
    Version: v1.3.2
    Git commit: 55a9914a3e4719fb1578529c45430a8c11c28145
<error getting server version: the server could not find the requested resource (post serverstatusrequests.velero.io)>

Sources

This article follows the attribution requirements of Stack Overflow and is licensed under CC BY-SA 3.0.

Source: Stack Overflow

Solution Source
Solution 1 Anurag Manikkame
Solution 2