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

Fission

During the Fission installation, we have to set two environment variables:

$ helm install --namespace fission https://github.com/fission/fission/releases/download/0.4.0/fission-all-0.4.0.tgz$ export FISSION_URL=http://$(kubectl --namespace fission get svc controller -o=jsonpath='{..ip}')$ export FISSION_ROUTER=$(kubectl --namespace fission get svc router -o=jsonpath='{..ip}')$ fission env create --name nodejs --image fission/node-env$ curl https://raw.githubusercontent.com/fission/fission/master/examples/nodejs/hello.js > hello.js$ fission function create --name hello --env nodejs --code hello.js$ fission route create --method GET --url /hello --function hello$ curl http://$FISSION_ROUTER/hello

There is one variable for the FISSION_URL ...

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