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/

Written by

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

Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store