a sample function as a service app using OpenFaas
- faas-cli
- kubernetes
- docker
- helm
Follow this guide to deploy open-faas to minikube https://medium.com/devopslinks/getting-started-with-openfaas-on-minikube-634502c7acdf
With sample faas-node
- Set the target docker daemon to minikube
eval $(minikube docker-eval)
- Build the function image
faas-cli build -f faas-node.yml
- Set the gateway up
export FAAS_GW=$(minikube service --url -n openfaas gateway-external)
- Deploy the function
faas-cli deploy -f faas-node.yml --gateway $FAAS_GW
- Invoke the function
faas-cli invoke faas-node --gateway $FAAS_GW