O'Reilly logo

Kubernetes for Serverless Applications by Russ McKendrick

Stay ahead with the world's most comprehensive technology and business learning platform.

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, tutorials, and more.

Start Free Trial

No credit card required

Launching our first function

The notes are split into three sections; the first section gives instructions on how to install the Fission command-line client. As we have already covered this in the previous section of the chapter we can ignore this step.

Next up, in the second section we are given instructions on environment variables we need to set so that our local Fission client can interact with our Fission installation. To set these variables run the following commands:

$ export FISSION_URL=http://$(minikube ip):31313$ export FISSION_ROUTER=$(minikube ip):31314

The export command only works with macOS High Sierra and Ubuntu 17.04. Windows 10 Professional users will have to run the following commands:

$ for /f "delims=" %%a in ('minikube ...

With Safari, you learn the way you learn best. Get unlimited access to videos, live online training, learning paths, books, interactive tutorials, and more.

Start Free Trial

No credit card required