下載正確的 istioctl 版本
Cloud Service Mesh 和 istioctl 版本
Cloud Service Mesh 版本必須與 istioctl 用戶端版本相符。下載安裝檔案,確保版本一致。
下載安裝檔
下列指令會下載最新版 Cloud Service Mesh 的安裝檔案 1.29.5。您可以更新下列指令,並使用「版本」頁面列出的任何支援版本,下載其他版本的安裝檔案。
Linux
將 Cloud Service Mesh 安裝檔案下載到目前的工作目錄:
curl -LO https://storage.googleapis.com/gke-release/asm/istio-1.29.5-asm.5-linux-amd64.tar.gz
下載簽章檔案,並使用
openssl驗證簽章:curl -LO https://storage.googleapis.com/gke-release/asm/istio-1.29.5-asm.5-linux-amd64.tar.gz.1.sig openssl dgst -verify /dev/stdin -signature istio-1.29.5-asm.5-linux-amd64.tar.gz.1.sig istio-1.29.5-asm.5-linux-amd64.tar.gz <<'EOF' -----BEGIN PUBLIC KEY----- MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEWZrGCUaJJr1H8a36sG4UUoXvlXvZ wQfk16sxprI2gOJ2vFFggdq3ixF2h4qNBt0kI7ciDhgpwS8t+/960IsIgw== -----END PUBLIC KEY----- EOF
預期的輸出內容為:
Verified OK。將檔案的內容解壓縮到您檔案系統上的任何位置,舉例來說,如要將內容解壓縮至目前的工作目錄,請執行下列指令:
tar xzf istio-1.29.5-asm.5-linux-amd64.tar.gz
這項指令會在目前的工作目錄中建立名為
istio-1.29.5-asm.5的安裝目錄,其中包含:samples目錄中的範例應用程式。- 您用來安裝 Cloud Service Mesh 的
istioctl指令列工具位於bin目錄中。 - Cloud Service Mesh 設定檔位於
manifests/profiles目錄中。
請確認您位於 Cloud Service Mesh 安裝的根目錄中。
cd istio-1.29.5-asm.5
Mac OS
將 Cloud Service Mesh 安裝檔案下載到目前的工作目錄:
curl -LO https://storage.googleapis.com/gke-release/asm/istio-1.29.5-asm.5-osx.tar.gz
下載簽章檔案,並使用
openssl驗證簽章:curl -LO https://storage.googleapis.com/gke-release/asm/istio-1.29.5-asm.5-osx.tar.gz.1.sig openssl dgst -sha256 -verify /dev/stdin -signature istio-1.29.5-asm.5-osx.tar.gz.1.sig istio-1.29.5-asm.5-osx.tar.gz <<'EOF' -----BEGIN PUBLIC KEY----- MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEWZrGCUaJJr1H8a36sG4UUoXvlXvZ wQfk16sxprI2gOJ2vFFggdq3ixF2h4qNBt0kI7ciDhgpwS8t+/960IsIgw== -----END PUBLIC KEY----- EOF
預期的輸出內容為:
Verified OK。將檔案的內容解壓縮到您檔案系統上的任何位置,舉例來說,如要將內容解壓縮至目前的工作目錄,請執行下列指令:
tar xzf istio-1.29.5-asm.5-osx.tar.gz
這項指令會在目前的工作目錄中建立名為
istio-1.29.5-asm.5的安裝目錄,其中包含:samples目錄中的範例應用程式。- 您用來安裝 Cloud Service Mesh 的
istioctl指令列工具位於bin目錄中。 - Cloud Service Mesh 設定檔位於
manifests/profiles目錄中。
請確認您位於 Cloud Service Mesh 安裝的根目錄中。
cd istio-1.29.5-asm.5
Windows
將 Cloud Service Mesh 安裝檔案下載到目前的工作目錄:
curl -LO https://storage.googleapis.com/gke-release/asm/istio-1.29.5-asm.5-win.zip
下載簽章檔案,並使用
openssl驗證簽章:curl -LO https://storage.googleapis.com/gke-release/asm/istio-1.29.5-asm.5-win.zip.1.sig openssl dgst -verify - -signature istio-1.29.5-asm.5-win.zip.1.sig istio-1.29.5-asm.5-win.zip <<'EOF' -----BEGIN PUBLIC KEY----- MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEWZrGCUaJJr1H8a36sG4UUoXvlXvZ wQfk16sxprI2gOJ2vFFggdq3ixF2h4qNBt0kI7ciDhgpwS8t+/960IsIgw== -----END PUBLIC KEY----- EOF
預期的輸出內容為:
Verified OK。將檔案的內容解壓縮到您檔案系統上的任何位置,舉例來說,如要將內容解壓縮至目前的工作目錄,請執行下列指令:
tar xzf istio-1.29.5-asm.5-win.zip
這項指令會在目前的工作目錄中建立名為
istio-1.29.5-asm.5的安裝目錄,其中包含:samples目錄中的範例應用程式。- 您用來安裝 Cloud Service Mesh 的
istioctl指令列工具位於bin目錄中。 - Cloud Service Mesh 設定檔位於
manifests/profiles目錄中。
請確認您位於 Cloud Service Mesh 安裝的根目錄中。
cd istio-1.29.5-asm.5