Alex Ellis
1 min readApr 19, 2020

--

Nice tutorial, I think you should use arkade to install OpenFaaS however, like we do in the docs. Repeating the instructions in many different tutorials will cause issues for when we make changes to our docs :-)

Simply one command:

arkade install openfaas

More in the workshop: https://github.com/openfaas/workshop/blob/master/lab1b.md

You may also like to combine all your functions into a single stack file:

faas-cli new --lang go function1
faas-cli new --lang go function2 --append function1.yml
faas-cli new --lang go function3 --append function1.yml

You are supposed to ideally have just the one YAML file then you can use faas-cli build --filter function1 for instance.

https://www.openfaas.com/blog/five-cli-tips/

--

--

Alex Ellis
Alex Ellis

Written by Alex Ellis

CNCF Ambassador. OpenFaaS & Inlets founder — https://www.alexellis.io

Responses (1)