下載正確的 istioctl 版本

Cloud Service Mesh 和 istioctl 版本

Cloud Service Mesh 版本必須與 istioctl 用戶端版本相符。請下載安裝檔案,確保這些版本相符。

下載安裝檔案

以下指令會下載最新版本的 Cloud Service Mesh 1.25.3安裝檔案。您可以更新下列指令,使用「版本頁面」中列出的任何支援版本,下載其他版本的安裝檔案。

Linux

  1. 將 Cloud Service Mesh 安裝檔案下載至目前的工作目錄:

    curl -LO https://storage.googleapis.com/gke-release/asm/istio-1.25.3-asm.8-linux-amd64.tar.gz
  2. 下載簽章檔案,並使用 openssl 驗證簽章:

    curl -LO https://storage.googleapis.com/gke-release/asm/istio-1.25.3-asm.8-linux-amd64.tar.gz.1.sig
    openssl dgst -verify /dev/stdin -signature istio-1.25.3-asm.8-linux-amd64.tar.gz.1.sig istio-1.25.3-asm.8-linux-amd64.tar.gz <<'EOF'
    -----BEGIN PUBLIC KEY-----
    MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEWZrGCUaJJr1H8a36sG4UUoXvlXvZ
    wQfk16sxprI2gOJ2vFFggdq3ixF2h4qNBt0kI7ciDhgpwS8t+/960IsIgw==
    -----END PUBLIC KEY-----
    EOF

    預期的輸出內容為:Verified OK

  3. 將檔案的內容解壓縮到您檔案系統上的任何位置,舉例來說,如要將內容解壓縮至目前的工作目錄:

     tar xzf istio-1.25.3-asm.8-linux-amd64.tar.gz

    這個指令會在目前的工作目錄中建立名為 istio-1.25.3-asm.8 的安裝目錄,其中包含:

    • samples 目錄中的範例應用程式。
    • 用來安裝 Cloud Service Mesh 的 istioctl 指令列工具位於 bin 目錄中。
    • Cloud Service Mesh 設定檔位於 manifests/profiles 目錄中。
  4. 請確認您位於 Cloud Service Mesh 安裝的根目錄中。

    cd istio-1.25.3-asm.8

Mac OS

  1. 將 Cloud Service Mesh 安裝檔案下載到目前的工作目錄:

    curl -LO https://storage.googleapis.com/gke-release/asm/istio-1.25.3-asm.8-osx.tar.gz
  2. 下載簽章檔案,然後使用 openssl 驗證簽章:

    curl -LO https://storage.googleapis.com/gke-release/asm/istio-1.25.3-asm.8-osx.tar.gz.1.sig
    openssl dgst -sha256 -verify /dev/stdin -signature istio-1.25.3-asm.8-osx.tar.gz.1.sig istio-1.25.3-asm.8-osx.tar.gz <<'EOF'
    -----BEGIN PUBLIC KEY-----
    MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEWZrGCUaJJr1H8a36sG4UUoXvlXvZ
    wQfk16sxprI2gOJ2vFFggdq3ixF2h4qNBt0kI7ciDhgpwS8t+/960IsIgw==
    -----END PUBLIC KEY-----
    EOF

    預期的輸出內容為:Verified OK

  3. 將檔案的內容解壓縮到您檔案系統上的任何位置,舉例來說,如要將內容解壓縮至目前的工作目錄:

    tar xzf istio-1.25.3-asm.8-osx.tar.gz

    這個指令會在目前的工作目錄中建立名為 istio-1.25.3-asm.8 的安裝目錄,其中包含:

    • samples 目錄中的範例應用程式。
    • 用來安裝 Cloud Service Mesh 的 istioctl 指令列工具位於 bin 目錄中。
    • Cloud Service Mesh 設定檔位於 manifests/profiles 目錄中。
  4. 請確認您位於 Cloud Service Mesh 安裝的根目錄中。

    cd istio-1.25.3-asm.8

Windows

  1. 將 Cloud Service Mesh 安裝檔案下載到目前的工作目錄:

    curl -LO https://storage.googleapis.com/gke-release/asm/istio-1.25.3-asm.8-win.zip
  2. 下載簽章檔案,然後使用 openssl 驗證簽章:

    curl -LO https://storage.googleapis.com/gke-release/asm/istio-1.25.3-asm.8-win.zip.1.sig
    openssl dgst -verify - -signature istio-1.25.3-asm.8-win.zip.1.sig istio-1.25.3-asm.8-win.zip <<'EOF'
    -----BEGIN PUBLIC KEY-----
    MFkwEwYHKoZIzj0CAQYIKoZIzj0DAQcDQgAEWZrGCUaJJr1H8a36sG4UUoXvlXvZ
    wQfk16sxprI2gOJ2vFFggdq3ixF2h4qNBt0kI7ciDhgpwS8t+/960IsIgw==
    -----END PUBLIC KEY-----
    EOF

    預期的輸出內容為:Verified OK

  3. 將檔案的內容解壓縮到您檔案系統上的任何位置,舉例來說,如要將內容解壓縮至目前的工作目錄:

    tar xzf istio-1.25.3-asm.8-win.zip

    這個指令會在目前的工作目錄中建立名為 istio-1.25.3-asm.8 的安裝目錄,其中包含:

    • samples 目錄中的範例應用程式。
    • 用來安裝 Cloud Service Mesh 的 istioctl 指令列工具位於 bin 目錄中。
    • Cloud Service Mesh 設定檔位於 manifests/profiles 目錄中。
  4. 請確認您位於 Cloud Service Mesh 安裝的根目錄中。

    cd istio-1.25.3-asm.8