Install Istio¶
In this lab you will install Istio.
Download Istio¶
-
Run the following command from your home directory.
-
Navigate into the directory created by the above command.
Add istioctl to your PATH¶
The istioctl CLI is located in the bin/ subdirectory.
Note
Cloud Shell only preserves files located inside your home directory across sessions.
This means that if you install a binary to a PATH such as /usr/local/bin, after your session times out that file will no longer be there!
As a workaround, you will add ${HOME}/bin to your PATH and place the binary there.
-
Create a
binsubdirectory in your home directory: -
Copy the CLI to that subdirectory:
-
Add your home
binsubdirectory to yourPATHAnd then:
Verify that istioctl is installed with:
With the CLI installed, proceed to install Istio to Kubernetes.
Install Istio¶
-
Istio can be installed directly with the CLI:
-
When prompted, enter
yto proceed to install Istio.
Take a moment to learn more about Istio installation profiles.
Verify that Istio is installed¶
-
List Kubernetes namespaces and note the new namespace
istio-system -
Verify that the
istiodcontroller pod is running in that namespace -
Re-run
istioctl version. The output should include a control plane version, indicating that Istio is indeed present in the cluster.