- OpenFaaS
- Restful
- golang
pull template
faas-cli template store pull golang-middleware
set password
vim openfaas-db-password
write db password
faas-cli secret create openfaas-db-password --from-file openfaas-db-password
faas-cli up -f record.yml
or
faas-cli build -f record.yml
faas-cli push -f record.yml
faas-cli deploy -f record.yml
get pod status
kubectl get pods -n openfaas-fn
print pod logs
kubectl logs ${pod name} -n openfaas-fn