Questions tagged [openfaas]

OpenFaaS (Functions as a Service) is a framework for building serverless functions with Docker and Kubernetes which has first class support for metrics. Any process can be packaged as a function enabling you to consume a range of web events without repetitive boiler-plate coding.

OpenFaaS is a framework for building serverless functions on the top of containers through the use of Docker and Kubernetes. With OpenFaaS, serverless functions can be managed anywhere with the same unified experience. This includes on the user's laptop, on-premises hardware, or by creating a cluster in the cloud.

You can find Function templates for various programming languages in their templates GitHub repository.

81 questions
1
vote
1 answer

OpenFaaS serve model using Tensorflow serving

I'd like to serve Tensorfow Model by using OpenFaaS. Basically, I'd like to invoke the "serve" function in such a way that tensorflow serving is going to expose my model. OpenFaaS is running correctly on Kubernetes and I am able to invoke functions…
spaghettifunk
  • 1,936
  • 4
  • 24
  • 46
1
vote
3 answers

Fn project is missing http operations (CRUD)

I have spent my afternoon getting very excited about the container-native serverless platform 'fn project' - http://fnproject.io/. I love the idea of the FaaS model but have no intention of locking myself into a particular cloud vendor for most of…
apostrophedottilde
  • 867
  • 13
  • 36
1
vote
0 answers

Is there a way to specify logging driver for deployed functions

Is there a way to specify logging driver for the functions deployed with OpenFaas. I have setup fluentd logging driver and would like to configure it for the functions using openfaas yaml file
Ajaxe
  • 647
  • 1
  • 5
  • 16
1
vote
0 answers

Scaling with GPU usage

I am using Openfaas to run some tasks on the GPU. However, since these tasks use only the GPU, and the CPU remains mostly idle, openfaas does not scale these pods, and hence GKE does not scale our nodes. How can I configure openfaas to use GPU…
Amit
  • 3,952
  • 7
  • 46
  • 80
0
votes
1 answer

Is there a way to increase the speed of Triggers 'mqtt-connector'?

We are trying to link data from a lidar to our serverless function running on OpenFaas subset Faasd. We are using the trigger to invoke this function when an object is within a certain distance. So we have the lidar publish data to the topic when an…
hybrid143
  • 1
  • 1
0
votes
1 answer

Invoking Serverless Function as MQTT-Publisher

I am trying to invoke my serverless function, I am using the subset FaasD of the Open-FaaS serverless framework. I am running it on a raspberry pi model 4b with Raspbian OS Lite x64. My serverless function publishes "Hello World" as an MQTT Message,…
Agro20
  • 1
  • 1
0
votes
0 answers

How to use the OpenFaas 'mqtt-publisher' with FaasD

For some basic background we are trying to develop an ADAS application using a serverless framework 'OpenFaas-Faasd'. We currently have a lidar sensor and a sunfounder rpi car as our vehicle. We are also communicating the lidar data to our…
hybrid143
  • 1
  • 1
0
votes
0 answers

Updating Python Version of Docker

I have a Raspberry Pi 4 model B with Raspbian OS Lite x64. We are trying to upload a serverless function, but some of our libraries might not be compatible with Docker's Python 2.7 that is currently on there. How do we update the version of python…
Agro20
  • 1
  • 1
0
votes
0 answers

Equivalent of Apache OpenWhisk Action Sequences in OpenFaas

Apache OpenWhisk has the concept of Action Sequence. Where if we write, for example, functions f1 and f2 we can write a command which shall compose the functions in such a way that the output of f1 shall be piped to f2. For example, we have the…
0
votes
0 answers

internalTrafficPolicy not work in Kubernetes

I am studying in Serverless Computing with OpenFaaS and Knative. I have some problem with svc of K8s. Arcording Kubernetes Documentation, we can using internalTrafficPolicy and externalTrafficPolicy to force kubeproxy to forward incomming traffic to…
0
votes
0 answers

Openfaas, custom metrics

Folks, What is the recommended way of sending application telemetry in OpenFaas functions? Doesnt OpenFaas already have Prometheus, thus you should be able to push custom metrics to it? Or do you have to use some form of a push approach such as…
Cmag
  • 14,946
  • 25
  • 89
  • 140
0
votes
0 answers

Retain logs of OpenFaaS Functions

This is more a question rather than an issue. I am trying to collect logs from an OpenFaaS python flask function, and hope I can retain them as log files on disk, which will rotate once a day. During this process, I find that: I don't really know…
Lyudmila Sun
  • 11
  • 1
  • 2
0
votes
1 answer

How to create Common Faas function to run on all Faas Providers

As we know we have some major Fass providers like AWS Lambda, Google Cloud Functions, and Microsoft Azure Functions. each has its own SDK to develop the FaaS functions. is there any way(or SDK) to write a function in plain JAVA and run it on any of…
0
votes
1 answer

building containers on M1 for intel architecture

Folks, Am unable to build a container on my M1 machine for intel k8s, container logs all state: exec ./fwatchdog: exec format error faas-cli information: CLI: commit: 0074051aeb837f5f160ee8736341460468b5c190 version: 0.15.4 Gateway uri: …
Cmag
  • 14,946
  • 25
  • 89
  • 140
0
votes
0 answers

OpenFaaS gateway and queue worker can't connect to nats

I have been having issues for more than a week trying to get OpenFaaS to start on my WSL instance using a K8S cluster deployed by Docker Desktop. I keep on getting this from the gateway and queueworker pods: OpenFaaS Gateway - Community Edition…
Pierrick
  • 324
  • 1
  • 7
  • 16