Set up a Local Computer
This is work in progress. We will add its sections in pieces. Your feedback is welcome at discuss.istio.io.
In this module you prepare your local computer for the tutorial.
Install curl.
Install Node.js.
Install Docker.
Install kubectl.
Set the
KUBECONFIGenvironment variable for the configuration file you received from the tutorial instructors, or created yourself in the previous module.$ export KUBECONFIG=<the file you received or created in the previous module>
Verify that the configuration took effect by printing the current namespace:
$ kubectl config view -o jsonpath="{.contexts[?(@.name==\"$(kubectl config current-context)\")].context.namespace}"tutorial
You should see in the output the name of the namespace, allocated for you by the instructors or allocated by yourself in the previous module.
Download one of the Istio release archives and extract the
istioctlcommand line tool from thebindirectory, and verify that you can runistioctlwith the following command:$ istioctl versionclient version: 1.7.0control plane version: 1.7.0data plane version: 1.7.0 (4 proxies)
Congratulations, you configured your local computer!
You are ready to run a single service locally.