The istioctl
tool is a configuration command line utility that allows service
operators to debug and diagnose Istio service mesh deployments.
Use an istioctl
version that is the same version as the Istio control plane
for the Service Mesh deployment. See Istio Releases for a list of valid
releases, including Beta releases.
-
Confirm if you have
istioctl
installed, and if so which version, by running the following command at the terminal:$ istioctl version
-
Confirm the version of Istio you are using by running the following command at the terminal:
$ oc get istio
-
Install
istioctl
by running the following command at the terminal:$ curl -sL https://istio.io/downloadIstioctl | ISTIO_VERSION=<version> sh -
Replace
<version>
with the version of Istio you are using. -
Put the
istioctl
directory on path by running the following command at the terminal:$ export PATH=$HOME/.istioctl/bin:$PATH
-
Confirm that the
istioctl
client version and the Istio control plane version now match (or are within one version) by running the following command at the terminal:$ istioctl version
For more information on usage, see the Istioctl documentation.
Note: istioctl install
is not supported. The Sail Operator installs Istio.