Anthos clusters on VMware のダウンロード

このドキュメントでは、gkeadm コマンドライン ツールなど、Anthos clusters on VMware(GKE On-Prem)の一部であるコンポーネントをダウンロードする方法について説明します。

通常、gkeadmは。手動でダウンロードする必要があるコンポーネントだけです。たとえば、gkectl または Anthos clusters on VMware バンドル ファイルを手動でダウンロードする必要はありません。それらは管理者ワークステーションに自動的にコピーされるからです。また、gkeadm によってOVAが vSphere 環境に自動的にコピーされるため、管理者ワークステーション Open Virtual Appliance(OVA)を手動でダウンロードする必要はありません。

始める前に

Google アカウントでログインする必要があります。

ログインしているかどうか確認するには、SDK account プロパティを表示します。

gcloud config get-value account

ログインするには、次のとおり操作します。

gcloud auth login

gkeadm」をダウンロード

gkeadm コマンドライン ツールを使用して管理者ワークステーションを作成します。その後、管理者ワークステーションへの SSH 接続を取得し、そこからクラスタを作成します。

gkeadm コマンドライン ツールは、64 ビット Linux、Windows 10、Windows Server 2019、macOS 10.15 以降で使用できます。

1.11.5-gke.14

Linux

gsutil cp gs://gke-on-prem-release/gkeadm/1.11.5-gke.14/linux/gkeadm ./
chmod +x gkeadm

Windows

gsutil cp gs://gke-on-prem-release/gkeadm/1.11.5-gke.14/windows/gkeadm.exe ./

macOS Catalina

gsutil cp gs://gke-on-prem-release/gkeadm/1.11.5-gke.14/darwin/gkeadm ./
chmod +x gkeadm

1.11.4-gke.32

Linux

gsutil cp gs://gke-on-prem-release/gkeadm/1.11.4-gke.32/linux/gkeadm ./
chmod +x gkeadm

Windows

gsutil cp gs://gke-on-prem-release/gkeadm/1.11.4-gke.32/windows/gkeadm.exe ./

macOS Catalina

gsutil cp gs://gke-on-prem-release/gkeadm/1.11.4-gke.32/darwin/gkeadm ./
chmod +x gkeadm

1.11.3-gke.45

Linux

gsutil cp gs://gke-on-prem-release/gkeadm/1.11.3-gke.45/linux/gkeadm ./
chmod +x gkeadm

Windows

gsutil cp gs://gke-on-prem-release/gkeadm/1.11.3-gke.45/windows/gkeadm.exe ./

macOS Catalina

gsutil cp gs://gke-on-prem-release/gkeadm/1.11.3-gke.45/darwin/gkeadm ./
chmod +x gkeadm

1.11.2-gke.53

Linux

gsutil cp gs://gke-on-prem-release/gkeadm/1.11.2-gke.53/linux/gkeadm ./
chmod +x gkeadm

Windows

gsutil cp gs://gke-on-prem-release/gkeadm/1.11.2-gke.53/windows/gkeadm.exe ./

macOS Catalina

gsutil cp gs://gke-on-prem-release/gkeadm/1.11.2-gke.53/darwin/gkeadm ./
chmod +x gkeadm

1.11.1-gke.53

Linux

gsutil cp gs://gke-on-prem-release/gkeadm/1.11.1-gke.53/linux/gkeadm ./
chmod +x gkeadm

Windows

gsutil cp gs://gke-on-prem-release/gkeadm/1.11.1-gke.53/windows/gkeadm.exe ./

macOS Catalina

gsutil cp gs://gke-on-prem-release/gkeadm/1.11.1-gke.53/darwin/gkeadm ./
chmod +x gkeadm

1.11.0-gke.543

Linux

gsutil cp gs://gke-on-prem-release/gkeadm/1.11.0-gke.543/linux/gkeadm ./
chmod +x gkeadm

Windows

gsutil cp gs://gke-on-prem-release/gkeadm/1.11.0-gke.543/windows/gkeadm.exe ./

macOS Catalina

gsutil cp gs://gke-on-prem-release/gkeadm/1.11.0-gke.543/darwin/gkeadm ./
chmod +x gkeadm

Anthos clusters on VMware バンドル

管理ワークステーションに Anthos clusters on VMware をダウンロードしなければならない場合もあります。

1.11.4-gke.32

管理者ワークステーションで、次のコマンドを実行します。

gsutil cp gs://gke-on-prem-release/gke-onprem-bundle/1.11.4-gke.32/gke-onprem-vsphere-1.11.4-gke.32.tgz /var/lib/gke/bundles/gke-onprem-vsphere-1.11.4-gke.32.tgz

1.11.3-gke.45

管理者ワークステーションで、次のコマンドを実行します。

gsutil cp gs://gke-on-prem-release/gke-onprem-bundle/1.11.3-gke.45/gke-onprem-vsphere-1.11.3-gke.45.tgz /var/lib/gke/bundles/gke-onprem-vsphere-1.11.3-gke.45.tgz

1.11.2-gke.53

管理者ワークステーションで、次のコマンドを実行します。

gsutil cp gs://gke-on-prem-release/gke-onprem-bundle/1.11.2-gke.53/gke-onprem-vsphere-1.11.2-gke.53.tgz /var/lib/gke/bundles/gke-onprem-vsphere-1.11.2-gke.53.tgz

1.11.1-gke.53

管理者ワークステーションで、次のコマンドを実行します。

gsutil cp gs://gke-on-prem-release/gke-onprem-bundle/1.11.1-gke.53/gke-onprem-vsphere-1.11.1-gke.53.tgz /var/lib/gke/bundles/gke-onprem-vsphere-1.11.1-gke.53.tgz

1.11.0-gke.543

管理者ワークステーションで、次のコマンドを実行します。

gsutil cp gs://gke-on-prem-release/gke-onprem-bundle/1.11.0-gke.543/gke-onprem-vsphere-1.11.0-gke.543.tgz /var/lib/gke/bundles/gke-onprem-vsphere-1.11.0-gke.543.tgz

管理者ワークステーションの Open Virtual Appliance

管理ワークステーションの Open Virtual Appliance(OVA)をダウンロードする必要が生じる場合もあります。

1.11.4-gke.32

管理者ワークステーションの OVA をダウンロードするには:

gsutil cp gs://gke-on-prem-release/admin-appliance/1.11.4-gke.32/gke-on-prem-admin-appliance-vsphere-1.11.4-gke.32.ova ./

1.11.3-gke.45

管理者ワークステーションの OVA をダウンロードするには:

gsutil cp gs://gke-on-prem-release/admin-appliance/1.11.3-gke.45/gke-on-prem-admin-appliance-vsphere-1.11.3-gke.45.ova ./

1.11.2-gke.53

管理者ワークステーションの OVA をダウンロードするには:

gsutil cp gs://gke-on-prem-release/admin-appliance/1.11.2-gke.53/gke-on-prem-admin-appliance-vsphere-1.11.2-gke.53.ova ./

1.11.1-gke.53

管理者ワークステーションの OVA をダウンロードするには:

gsutil cp gs://gke-on-prem-release/admin-appliance/1.11.1-gke.53/gke-on-prem-admin-appliance-vsphere-1.11.1-gke.53.ova ./

1.11.0-gke.543

管理者ワークステーションの OVA をダウンロードするには:

gsutil cp gs://gke-on-prem-release/admin-appliance/1.11.0-gke.543/gke-on-prem-admin-appliance-vsphere-1.11.0-gke.543.ova ./

gkectl

通常、gkectl コマンドライン ツールをダウンロードする必要はありません。まれに、gkectl をダウンロードする場合は、次のファイルを参照してください。

1.11.4-gke.32

gs://gke-on-prem-release/gkectl/1.11.4-gke.32/gkectl

1.11.3-gke.45

gs://gke-on-prem-release/gkectl/1.11.3-gke.45/gkectl

1.11.2-gke.53

gs://gke-on-prem-release/gkectl/1.11.2-gke.53/gkectl

1.11.1-gke.53

gs://gke-on-prem-release/gkectl/1.11.1-gke.53/gkectl

1.11.0-gke.543

gs://gke-on-prem-release/gkectl/1.11.0-gke.543/gkectl

openssl を使用して OVA を検証する

openssl を使用して、ダウンロードした OVA ファイルを署名ファイル(SIG)と照合できます。VERSION をファイルのバージョンに置き換えます。

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

このコマンドの想定される出力は Verified OK です。

openssl を使用して gkectl を確認する

openssl を使用して、公開鍵に対してgkectl バイナリを確認できます。VERSION をファイルのバージョンに置き換えます。

gsutil 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

このコマンドの想定される出力は Verified OK です。

openssl を使用して gkeadm を確認する

openssl を使用して、公開鍵に対してgkeadm バイナリを確認できます。VERSION をファイルのバージョンに置き換えます。

gsutil cp gs://gke-on-prem-release/gkeadm/VERSION/gkeadm.1.sig /tmp/gkeadm.1.sig
openssl dgst -verify - -signature /tmp/gkeadm.1.sig ./gkeadm <<'EOF'
-----BEGIN PUBLIC KEY-----
MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEWZrGCUaJJr1H8a36sG4UUoXvlXvZ
wQfk16sxprI2gOJ2vFFggdq3ixF2h4qNBt0kI7ciDhgpwS8t+/960IsIgw==
-----END PUBLIC KEY-----
EOF

このコマンドの想定される出力は Verified OK です。