Set up a Local Computer

In this module you prepare your local computer for the tutorial.

  1. Install curl.

  2. Install Node.js.

  3. Install Docker.

  4. Install kubectl.

  5. Set the KUBECONFIG environment 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>
  6. Verify that the configuration took effect by printing the current namespace:

    $ kubectl config view -o jsonpath="{.contexts[?(\"$(kubectl config current-context)\")].context.namespace}"

    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.

  7. Download one of the Istio release archives and extract the istioctl command line tool from the bin directory, and verify that you can run istioctl with the following command:

    $ istioctl version
    client version: 1.7.0
    control plane version: 1.7.0
    data plane version: 1.7.0 (4 proxies)

Congratulations, you configured your local computer!

You are ready to run a single service locally.

Was this information useful?
Do you have any suggestions for improvement?

Thanks for your feedback!