Development environment¶
We've tested and developed all labs have on Linux. Make sure you have the following installed before going through the labs:
- func-e CLI
- Kubernetes cluster with Istio 1.12.2 or newer
- Access to Docker registry
- TinyGo
- proxy-wasm-go-sdk
- WABT: The WebAssembly Binary Toolkit (OPTIONAL)
Installing func-e CLI¶
Let's get started by downloading func-e CLI and installing it to /usr/local/bin
:
Once downloaded, let's run it to make sure all is good:
Installing TinyGo¶
TinyGo powers the SDK we'll be using as Wasm doesn't support the official Go compiler.
Let's download and install the TinyGo:
wget https://github.com/tinygo-org/tinygo/releases/download/v0.26.0/tinygo_0.26.0_amd64.deb
sudo dpkg -i tinygo_0.26.0_amd64.deb
You can run tinygo version
to check the installation is successful:
Installing Istio¶
To install Istio, we'll need access to the Kubernetes cluster. Then, we can download and install the Istio using the demo profile:
To install Istio using the demo profile, run: