January 2018
Intermediate to advanced
318 pages
7h 6m
English
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 ...
Read now
Unlock full access