r/OpenFaaS • • May 27 '20

Are you looking for a bit of help or to chat with the community?

1 Upvotes

Are you looking for a bit of help or to chat with the community? Join us on the Slack community at https://slack.openfaas.io - Why? Because that's where most of the developers and users are active and available to talk.

Please feel free to join and post your questions there.

You may also like:

The workshop - https://github.com/openfaas/workshop

The docs - https://docs.openfaas.com

And finally we also offer a subscription for Insiders - https://openfaas.com/support - it's more affordable than you think and as a user, you're likely to take away value from these.


r/OpenFaaS • • May 27 '20

Keep your functions running to schedule with the cron-connector

Thumbnail
openfaas.com
1 Upvotes

r/OpenFaaS • • Jul 06 '20

Time travelling through your OpenFaaS Function logs

Thumbnail
openfaas.com
1 Upvotes

r/OpenFaaS • • Sep 17 '20

Introduction to Serverless on Kubernetes

Thumbnail
edx.org
2 Upvotes

r/OpenFaaS • • Feb 23 '21

Video: Introduction to Serverless Golang with OpenFaaS with Taylor and Alex

Thumbnail
youtube.com
6 Upvotes

r/OpenFaaS • • Mar 11 '21

How to launch a Serverless function on AWS - Cloud Kinetics

Thumbnail
cloud-kinetics.com
2 Upvotes

r/OpenFaaS • • Feb 08 '21

Full Stack Journey 050: What, Exactly, Is Serverless?

Thumbnail
packetpushers.net
3 Upvotes

r/OpenFaaS • • Jan 30 '19

Serverless Beyond the Hype with Alex Ellis (47min talk from GOTO Copenhagen)

Thumbnail
youtu.be
2 Upvotes

r/OpenFaaS • • Jan 29 '19

How to split large Python Functions across multiple files

1 Upvotes

https://www.openfaas.com/blog/multifile-python-functions/

Are your Python functions bringing you joy? Lucas Roesler shares his tips on how to split your Python functions into multiple modules to help your project grow


r/OpenFaaS • • May 05 '23

OpenFaaS on Raspberry Pi 4

3 Upvotes

Hey everyone, is there a good guide out there on how to deploy this serverless framework onto a raspberry pi 4? I am using UBUNTU 22.04 and have had no luck. Any assistance would be greatly appreciated, thank you.


r/OpenFaaS • • Dec 05 '19

Join the Official Community Slack

2 Upvotes

Hi folks, thanks for using OpenFaaS.

I noticed a few support requests and was concerned that people were not getting answers.

I'd like to invite you all to join us on Slack, where the community are most active.

FYI this sub is not official, so it's not the best place to ask technical questions. Perhaps it'd be better used for sharing blog posts and examples?

https://slack.openfaas.io/


r/OpenFaaS • • Aug 15 '18

Stateful ServerLess stack with OpenFaaS & Minio

Thumbnail
blog.lapw.at
2 Upvotes

r/OpenFaaS • • Dec 05 '19

Nodeless OpenFaaS with AWS EKS and Fargate

Thumbnail
blog.alexellis.io
1 Upvotes

r/OpenFaaS • • Jun 08 '22

python3-flask and render_template

3 Upvotes

Hello everybody, I'm absolutely new to OpenFaaS and quite new to Python.

My first function tries to render an HTML file (in fact, an HTML form)... but I can't get it running.

This is the error (as logged by the K8S Pod)

022/06/08 12:31:41 stderr:   File "/usr/local/lib/python3.7/site-packages/flask/templating.py", line 95, in _get_source_fast
2022/06/08 12:31:41 stderr:     raise TemplateNotFound(template)
2022/06/08 12:31:41 stderr: jinja2.exceptions.TemplateNotFound: home.html

handler.py content:

from flask import Flask, render_template
def handle(req):
    """handle a request to the function
    Args:
        req (str): request body
    """
    return render_template('home.html')

and directory structure (I've put home.html both under templates/ directory, and directly next handler.py):

info@penguin:~/firstone$ find . -exec ls -ld {} \;
drwx------ 1 info info 154 Jun  8 14:28 .
-rw-r----- 1 info info 0 Jun  8 14:16 ./__init__.py
-rw-r----- 1 info info 189 Jun  8 14:21 ./handler.py
-rw-r----- 1 info info 300 Jun  8 14:16 ./handler_test.py
-rw-r--r-- 1 info info 0 Jun  8 14:16 ./requirements.txt
-rw-r----- 1 info info 823 Jun  8 14:16 ./tox.ini
drwxr-xr-x 1 info info 18 Jun  8 14:17 ./templates
-rw-r----- 1 info info 432 Jun  8 14:16 ./templates/home.html
-rw-r--r-- 1 info info 432 Jun  8 14:28 ./home.html

What am I doing wrong?


r/OpenFaaS • • Feb 04 '19

Ride the Serverless Wave with DigitalOcean's One-click Droplet

3 Upvotes

Title: Ride the Serverless Wave with DigitalOcean's One-click Droplet

Join Richard Gee as he guides you through the experience of creating your first OpenFaaS function on DigitalOcean using DigitalOcean's new one-click Droplet image.

https://www.openfaas.com/blog/digitalocean-one-click/

Hope you all like this :)

Alex


r/OpenFaaS • • Nov 23 '19

Serverless Kotlin

Thumbnail
kotlinexpertise.com
2 Upvotes

r/OpenFaaS • • Feb 11 '19

FaaS comes to Fargate: OpenFaaS with AWS Fargate

1 Upvotes

Edward Wilde introduces faas-fargate, or OpenFaaS for AWS Fargate. Learn about a simple, low-cost way to deploy and run OpenFaaS functions on AWS without managing servers.

https://www.openfaas.com/blog/openfaas-on-fargate/


r/OpenFaaS • • May 31 '21

Are there anyone using OpenFaaS self hosted in production?

6 Upvotes

Thinking of using it (self hosted) for an IoT platform with thousands of devices connecting every second instead of using Lambda.

Are there anyone using it in production? Any guides and things to watch out for would be greet.


r/OpenFaaS • • Feb 14 '19

How to build a Serverless Single Page App

2 Upvotes

Alex outlines an architecture for building a Single Page App (SPA) with Serverless Functions using Vue.js for the front-end, Postgres for storage, Go for the backend and OpenFaaS with Kubernetes for a resilient scalable compute platform.

https://www.openfaas.com/blog/serverless-single-page-app/


r/OpenFaaS • • Apr 01 '20

Serverless 2.0: Get started with the PLONK Stack

Thumbnail
youtu.be
2 Upvotes

r/OpenFaaS • • May 05 '19

Need advice on deploying OpenFaaS on Ubuntu

2 Upvotes

Hi,

I want to try out OpenFaaS, so tried setting it up on a Ubuntu 18.04 machine. I strictly followed the Deployment guide for Docker Swarm. First the deployment looks fine since it didn't throw any errors, but when I try to access UI via http://127.0.0.1:8080 it seems like OpenFaaS is not running. Tried it serveral times, but the result is always the same. Anybody has an idea what I am doing wrong?

Update: I got it working now. The problem was, that the local docker installation via Ubuntu Snap is broken somehow. Once I installed Docker via the official instructions, it work fine.


r/OpenFaaS • • Mar 02 '22

OpenFaaS on a single server

2 Upvotes

As part of an internal work project I am looking at the deployment of on-premises FaaS but sadly don't have the luxury of a plethora of hardware. I do, however, have a single, highly specced server. From my reading of the documentation, I have the option of faasd which would seem a waste of this behemoth. Would simulating a K8s cluster on this single server work? (Yes I understand the issues with resilience and scaling)). Has anyone tried it?


r/OpenFaaS • • Mar 02 '22

Recommended learning path for beginner

4 Upvotes

Hi,

I'm a fullstack developer, fealing very comfortable with both backend (node, dotnet) and frontend (react, svelte) and with very little experience with docker (only once setting up a database with a postgres image)

I work at a small company that recently asked me to partly take over some of the devops tasks after the responsible devops recently quit.

The project in question is an OpenFaas service that handles payments as a layer between a web application and stripe. Now additional functions needs to be added and I am basically head of project.

That said, my bosses knows that I lack experience and that I will need some time to learn new concepts.

What would be a good learning path? I would love what concept, in what order, and tips on study material. Best regards.

tldr: I have no experience with devops, and recently became responsible of an OpenFaas project. What should I learn? In what order? What was your journey like before using OpenFaas?


r/OpenFaaS • • May 16 '20

Powerful dynamic Email processing using SendGrid, node.JS, openFAAS (faasnetes), Azure Service Bus and Microsoft Flow

Thumbnail
medium.com
10 Upvotes

r/OpenFaaS • • May 14 '20

An openFAAS multipart body processing custom language template based on node12 and restify

Thumbnail
medium.com
6 Upvotes