Alauda Service Mesh 2 supports istioctl
, the official command line utility for the Istio project that includes many diagnostic and debugging utilities.
Install the istioctl
command-line utility to debug and diagnose Istio service mesh deployments.
Prerequisites
Istio
resource.Procedure
Confirm which version of the Istio
resource 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 istioctl
binary file.
If you are using a Linux operating system, run the following command:
If you are using an Apple Mac operating system, unpack and extract the archive.
If you are using a Microsoft Windows operating system, use the zip software to extract the archive.
Move to the uncompressed directory by running the following command:
Add the istioctl
client to the path by running the following command:
Confirm that the istioctl
client version and the Istio control plane version match or are within one version by running the following command:
Example output