This page provides commands to download the following Google Distributed Cloud
entities:

- `gkectl` command-line tool
- `gkeadm` command-line tool
- Google Distributed Cloud upgrade bundle
- Admin workstation Open Virtual Appliance (OVA)

Some of the commands given on this page run on your personal laptop or
workstation. Other commands run on your
[admin workstation](https://docs.cloud.google.com/anthos/clusters/docs/on-prem/1.7/how-to/create-admin-workstation).

## Logging in

Log in with any Google Account:

```
gcloud auth login
```

## 1.7.6-gke.6

### gkeadm

From your personal laptop or workstation, download `gkeadm` and make it
executable:

- Linux:

  ```
  gcloud storage cp gs://gke-on-prem-release/gkeadm/1.7.6-gke.6/linux/gkeadm ./
  chmod +x gkeadm
  ```
- Windows:

  ```
  gcloud storage cp gs://gke-on-prem-release/gkeadm/1.7.6-gke.6/windows/gkeadm.exe ./
  ```
- macOS Catalina:

  ```
  gcloud storage cp gs://gke-on-prem-release/gkeadm/1.7.6-gke.6/darwin/gkeadm ./
  chmod +x gkeadm
  ```

### gkectl

From your admin workstation, download `gkectl` and make it executable:

```
sudo -E gcloud storage cp gs://gke-on-prem-release/gkectl/1.7.6-gke.6/gkectl /usr/bin/gkectl
sudo chmod +x /usr/bin/gkectl
```

### Bundle

From your admin workstation, download the bundle:

```
sudo -E gcloud storage cp gs://gke-on-prem-release/gke-onprem-bundle/1.7.6-gke.6/gke-onprem-vsphere-1.7.6-gke.6.tgz /var/lib/gke/bundles/gke-onprem-vsphere-1.7.6-gke.6.tgz
```

### OVA

From your personal laptop or workstation, download the OVA

<br />

```
gcloud storage cp gs://gke-on-prem-release/admin-appliance/1.7.6-gke.6/gke-on-prem-admin-appliance-vsphere-1.7.6-gke.6.ova ./
```

## 1.7.5-gke.0

### gkeadm

From your personal laptop or workstation, download `gkeadm` and make it
executable:

- Linux:

  ```
  gcloud storage cp gs://gke-on-prem-release/gkeadm/1.7.5-gke.0/linux/gkeadm ./
  chmod +x gkeadm
  ```
- Windows:

  ```
  gcloud storage cp gs://gke-on-prem-release/gkeadm/1.7.5-gke.0/windows/gkeadm.exe ./
  ```
- macOS Catalina:

  ```
  gcloud storage cp gs://gke-on-prem-release/gkeadm/1.7.5-gke.0/darwin/gkeadm ./
  chmod +x gkeadm
  ```

### gkectl

From your admin workstation, download `gkectl` and make it executable:

```
sudo -E gcloud storage cp gs://gke-on-prem-release/gkectl/1.7.5-gke.0/gkectl /usr/bin/gkectl
sudo chmod +x /usr/bin/gkectl
```

### Bundle

From your admin workstation, download the bundle:

```
sudo -E gcloud storage cp gs://gke-on-prem-release/gke-onprem-bundle/1.7.5-gke.0/gke-onprem-vsphere-1.7.5-gke.0.tgz /var/lib/gke/bundles/gke-onprem-vsphere-1.7.5-gke.0.tgz
```

### OVA

From your personal laptop or workstation, download the OVA

<br />

```
gcloud storage cp gs://gke-on-prem-release/admin-appliance/1.7.5-gke.0/gke-on-prem-admin-appliance-vsphere-1.7.5-gke.0.ova ./
```

## 1.7.4-gke.2

### gkeadm

From your personal laptop or workstation, download `gkeadm` and make it
executable:

- Linux:

  ```
  gcloud storage cp gs://gke-on-prem-release/gkeadm/1.7.4-gke.2/linux/gkeadm ./
  chmod +x gkeadm
  ```
- Windows:

  ```
  gcloud storage cp gs://gke-on-prem-release/gkeadm/1.7.4-gke.2/windows/gkeadm.exe ./
  ```
- macOS Catalina:

  ```
  gcloud storage cp gs://gke-on-prem-release/gkeadm/1.7.4-gke.2/darwin/gkeadm ./
  chmod +x gkeadm
  ```

### gkectl

From your admin workstation, download `gkectl` and make it executable:

```
sudo -E gcloud storage cp gs://gke-on-prem-release/gkectl/1.7.4-gke.2/gkectl /usr/bin/gkectl
sudo chmod +x /usr/bin/gkectl
```

### Bundle

From your admin workstation, download the bundle:

```
sudo -E gcloud storage cp gs://gke-on-prem-release/gke-onprem-bundle/1.7.4-gke.2/gke-onprem-vsphere-1.7.4-gke.2.tgz /var/lib/gke/bundles/gke-onprem-vsphere-1.7.4-gke.2.tgz
```

### OVA

From your personal laptop or workstation, download the OVA

<br />

```
gcloud storage cp gs://gke-on-prem-release/admin-appliance/1.7.4-gke.2/gke-on-prem-admin-appliance-vsphere-1.7.4-gke.2.ova ./
```

## 1.7.3-gke.6

### gkeadm

From your personal laptop or workstation, download `gkeadm` and make it
executable:

- Linux:

  ```
  gcloud storage cp gs://gke-on-prem-release/gkeadm/1.7.3-gke.6/linux/gkeadm ./
  chmod +x gkeadm
  ```
- Windows:

  ```
  gcloud storage cp gs://gke-on-prem-release/gkeadm/1.7.3-gke.6/windows/gkeadm.exe ./
  ```
- macOS Catalina:

  ```
  gcloud storage cp gs://gke-on-prem-release/gkeadm/1.7.3-gke.6/darwin/gkeadm ./
  chmod +x gkeadm
  ```

### gkectl

From your admin workstation, download `gkectl` and make it executable:

```
sudo -E gcloud storage cp gs://gke-on-prem-release/gkectl/1.7.3-gke.6/gkectl /usr/bin/gkectl
sudo chmod +x /usr/bin/gkectl
```

### Bundle

From your admin workstation, download the bundle:

```
sudo -E gcloud storage cp gs://gke-on-prem-release/gke-onprem-bundle/1.7.3-gke.6/gke-onprem-vsphere-1.7.3-gke.6.tgz /var/lib/gke/bundles/gke-onprem-vsphere-1.7.3-gke.6.tgz
```

### OVA

From your personal laptop or workstation, download the OVA

<br />

```
gcloud storage cp gs://gke-on-prem-release/admin-appliance/1.7.3-gke.6/gke-on-prem-admin-appliance-vsphere-1.7.3-gke.6.ova ./
```

## 1.7.3-gke.2

### gkeadm

From your personal laptop or workstation, download `gkeadm` and make it
executable:

- Linux:

  ```
  gcloud storage cp gs://gke-on-prem-release/gkeadm/1.7.3-gke.2/linux/gkeadm ./
  chmod +x gkeadm
  ```
- Windows:

  ```
  gcloud storage cp gs://gke-on-prem-release/gkeadm/1.7.3-gke.2/windows/gkeadm.exe ./
  ```
- macOS Catalina:

  ```
  gcloud storage cp gs://gke-on-prem-release/gkeadm/1.7.3-gke.2/darwin/gkeadm ./
  chmod +x gkeadm
  ```

### gkectl

From your admin workstation, download `gkectl` and make it executable:

```
sudo -E gcloud storage cp gs://gke-on-prem-release/gkectl/1.7.3-gke.2/gkectl /usr/bin/gkectl
sudo chmod +x /usr/bin/gkectl
```

### Bundle

From your admin workstation, download the bundle:

```
sudo -E gcloud storage cp gs://gke-on-prem-release/gke-onprem-bundle/1.7.3-gke.2/gke-onprem-vsphere-1.7.3-gke.2.tgz /var/lib/gke/bundles/gke-onprem-vsphere-1.7.3-gke.2.tgz
```

### OVA

From your personal laptop or workstation, download the OVA

<br />

```
gcloud storage cp gs://gke-on-prem-release/admin-appliance/1.7.3-gke.2/gke-on-prem-admin-appliance-vsphere-1.7.3-gke.2.ova ./
```

## 1.7.2-gke.2

### gkeadm

From your personal laptop or workstation, download `gkeadm` and make it
executable:

- Linux:

  ```
  gcloud storage cp gs://gke-on-prem-release/gkeadm/1.7.2-gke.2/linux/gkeadm ./
  chmod +x gkeadm
  ```
- Windows:

  ```
  gcloud storage cp gs://gke-on-prem-release/gkeadm/1.7.2-gke.2/windows/gkeadm.exe ./
  ```
- macOS Catalina:

  ```
  gcloud storage cp gs://gke-on-prem-release/gkeadm/1.7.2-gke.2/darwin/gkeadm ./
  chmod +x gkeadm
  ```

### gkectl

From your admin workstation, download `gkectl` and make it executable:

```
sudo -E gcloud storage cp gs://gke-on-prem-release/gkectl/1.7.2-gke.2/gkectl /usr/bin/gkectl
sudo chmod +x /usr/bin/gkectl
```

### Bundle

From your admin workstation, download the bundle:

```
sudo -E gcloud storage cp gs://gke-on-prem-release/gke-onprem-bundle/1.7.2-gke.2/gke-onprem-vsphere-1.7.2-gke.2.tgz /var/lib/gke/bundles/gke-onprem-vsphere-1.7.2-gke.2.tgz
```

### OVA

From your personal laptop or workstation, download the OVA

<br />

```
gcloud storage cp gs://gke-on-prem-release/admin-appliance/1.7.2-gke.2/gke-on-prem-admin-appliance-vsphere-1.7.2-gke.2.ova ./
```

## 1.7.1-gke.4

### gkeadm

From your personal laptop or workstation, download `gkeadm` and make it
executable:

- Linux:

  ```
  gcloud storage cp gs://gke-on-prem-release/gkeadm/1.7.1-gke.4/linux/gkeadm ./
  chmod +x gkeadm
  ```
- Windows:

  ```
  gcloud storage cp gs://gke-on-prem-release/gkeadm/1.7.1-gke.4/windows/gkeadm.exe ./
  ```
- macOS Catalina:

  ```
  gcloud storage cp gs://gke-on-prem-release/gkeadm/1.7.1-gke.4/darwin/gkeadm ./
  chmod +x gkeadm
  ```

### gkectl

From your admin workstation, download `gkectl` and make it executable:

```
sudo -E gcloud storage cp gs://gke-on-prem-release/gkectl/1.7.1-gke.4/gkectl /usr/bin/gkectl
sudo chmod +x /usr/bin/gkectl
```

### Bundle

From your admin workstation, download the bundle:

```
sudo -E gcloud storage cp gs://gke-on-prem-release/gke-onprem-bundle/1.7.1-gke.4/gke-onprem-vsphere-1.7.1-gke.4.tgz /var/lib/gke/bundles/gke-onprem-vsphere-1.7.1-gke.4.tgz
```

### OVA

From your personal laptop or workstation, download the OVA

<br />

```
gcloud storage cp gs://gke-on-prem-release/admin-appliance/1.7.1-gke.4/gke-on-prem-admin-appliance-vsphere-1.7.1-gke.4.ova ./
```

## 1.7.0-gke.16

### gkeadm

From your personal laptop or workstation, download `gkeadm` and make it
executable:

- Linux:

  ```
  gcloud storage cp gs://gke-on-prem-release/gkeadm/1.7.0-gke.16/linux/gkeadm ./
  chmod +x gkeadm
  ```
- Windows:

  ```
  gcloud storage cp gs://gke-on-prem-release/gkeadm/1.7.0-gke.16/windows/gkeadm.exe ./
  ```
- macOS Catalina:

  ```
  gcloud storage cp gs://gke-on-prem-release/gkeadm/1.7.0-gke.16/darwin/gkeadm ./
  chmod +x gkeadm
  ```

### gkectl

From your admin workstation, download `gkectl` and make it executable:

```
sudo -E gcloud storage cp gs://gke-on-prem-release/gkectl/1.7.0-gke.16/gkectl /usr/bin/gkectl
sudo chmod +x /usr/bin/gkectl
```

### Bundle

From your admin workstation, download the bundle:

```
sudo -E gcloud storage cp gs://gke-on-prem-release/gke-onprem-bundle/1.7.0-gke.16/gke-onprem-vsphere-1.7.0-gke.16.tgz /var/lib/gke/bundles/gke-onprem-vsphere-1.7.0-gke.16.tgz
```

### OVA

From your personal laptop or workstation, download the OVA

<br />

```
gcloud storage cp gs://gke-on-prem-release/admin-appliance/1.7.0-gke.16/gke-on-prem-admin-appliance-vsphere-1.7.0-gke.16.ova ./
```

## Verifying the OVA using `openssl`

You can use `openssl` to verify the OVA file you downloaded against a signature
file (SIG). Replace `VERSION` with the file's version:

> [!NOTE]
> **Note:** As of version 1.2.1-gke.4, all SIG files are suffixed with `.1`. For example, `gke-on-prem-admin-appliance-vsphere-VERSION.ova.1.sig`.

```
openssl dgst -verify - -signature ~/gke-on-prem-admin-appliance-vsphere-VERSION.ova.1.sig ~/gke-on-prem-admin-appliance-vsphere-VERSION.ova <<'EOF'
---BEGIN PUBLIC KEY---
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEWZrGCUaJJr1H8a36sG4UUoXvlXvZ
wQfk16sxprI2gOJ2vFFggdq3ixF2h4qNBt0kI7ciDhgpwS8t+/960IsIgw==
---END PUBLIC KEY---
EOF
```

Expected output of this command is `Verified OK`.

## Verifying `gkectl` using `openssl`

Verify the `gkectl` binary against the public key using `openssl`, where
<var translate="no">VERSION</var> is the file's version:

```
sudo -E gcloud storage cp gs://gke-on-prem-release/gkectl/VERSION/gkectl.1.sig /tmp/gkectl.1.sig
openssl dgst -verify - -signature /tmp/gkectl.1.sig /usr/bin/gkectl <<'EOF'
---BEGIN PUBLIC KEY---
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEWZrGCUaJJr1H8a36sG4UUoXvlXvZ
wQfk16sxprI2gOJ2vFFggdq3ixF2h4qNBt0kI7ciDhgpwS8t+/960IsIgw==
---END PUBLIC KEY---
EOF
```

Expected output of this command is `Verified OK`.