Istioctl tool
Alauda Service Mesh 2 supports istioctl, the official command line utility for the Istio project that includes many diagnostic and debugging utilities.
TOC
Installing the Istioctl tool
Install the istioctl command-line utility to debug and diagnose Istio service mesh deployments.
Prerequisites
- The Alauda Service Mesh 2 Operator is installed and running.
- You have created at least one
Istioresource.
Procedure
-
Confirm which version of the
Istioresource runs on the installation by running the following command:If there are multiple Istio resources with different versions, choose the latest version. The latest version is displayed last.
-
Navigate to https://github.com/istio/istio/releases.
-
Locate the appropriate version and os arch from GitHub releases page.
-
Extract the
istioctlbinary file.a. If you are using a Linux or Apple Mac operating system, run the following command:
b. If you are using a Microsoft Windows operating system, use the zip software to extract the archive.
-
Add the
istioctlclient to the path by running the following command: -
Confirm that the
istioctlclient version and the Istio control plane version match or are within one version by running the following command:Example output