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
0
votes
0 answers

Auto-scalability feature in faasd

Does faasd support the scalability in a way that openfaas does? in other words, I want to know how faasd implements the auto-scalability. Thank you in advance.
0
votes
0 answers

openfaas speeding up builds of function containers

If we start with the basic hello-python tutorial project and simply add some large libraries (scipy, tensorflow) to the requirements that requires lots of compiling of various sub requirements, building the container for the function can end up…
Silfheed
  • 11,585
  • 11
  • 55
  • 67
0
votes
0 answers

Is there any way to get these two data ("end_timestamp" and "duration") about the pods runing in k8s using prometheus?

I have deployed a serverless project https://github.com/FudanSELab/serverless-trainticket in k8s & openfaas. And I've being doing research about the dependency patterns of serverless function. I am wondering that is there any way to trace the data…
0
votes
1 answer

AKS - public Load Balancer / Openfaas - "Cannot connect to OpenFaaS on URL: https://..."

Situation: I have an AKS cluster that I'm trying to load my project into from localhost. When I launch my Ansible scripts to get the project running, I need to log in to openfaas but I encounter this error: > ...\nCannot connect to OpenFaaS on…
p_c
  • 93
  • 1
  • 5
0
votes
0 answers

Openfaas - Does it support dynamic deployment of functions

I have an application where user can write custom python function code and request payload. User should be able to test function on click of a button. My requirement is to dynamically deploy this code(can have extra wrapper code if necessary) as…
0
votes
0 answers

Not able to use terraform command on OpenFaas Python 3 Function deployment

I am using a Openfaas Python3 function with terraform to create bucket in my AWS Account. I am trying it locally and created a local cluster using k3s and installed openfaas cli. Steps: Created local cluster and deployed faas-netes. Created a new…
0
votes
1 answer

How to trace logs in open faas serverless application?

I am using OpenFaas functions to dpeloy a serverless application. KUbernetes cluster is being used for deployment via minikube. I want to trace the function calls, however any changes made inside build are not getting reflected in the kubernetes…
surabhi
  • 1
  • 1
0
votes
1 answer

Connect to Kafka does not work when called by the openfaas service

Connect to Kafka normally via Java without using openfaas. (Successful) Connect to Kafka does not work when called by the openfaas service. When running a function as service created by openfaas, it cannot connect to Kafka. (Kafka is running on…
Hossein M
  • 1
  • 1
0
votes
1 answer

Kubernetes: one node per replica

I've got a CPU-intensive serverless function deployed on a Kubernetes cluster (running on OpenFaaS). What I'd like to achieve is that whenever my function is invoked, a new node spins up in my cluster to execute the process, as multiple processes…
0
votes
1 answer

Can we detect and get specific directory changed in gitlab CI/CD?

I am a beginner to learn gitlab CI/CD and doing some projects related to it. I have a trouble when using OpenFaaS and build a large number of function.I want to use CI/CD to automatically build functions that have updates, remain functions are not,…
0
votes
0 answers

So i‘m trying to deploy a function on openfaas based on arm architecture,but i failed.Can someone tell me how to solve it?

my kubernetes is based on arm,with kubernetes1.22.4 my faas-cli command: faas-cli build -f ./add.yml the response code : [0] > Building add. Clearing temporary build folder: ./build/add/ Preparing: ./add/ build/add/function Building: myw/add:latest…
0
votes
1 answer

How to use vert.x eventbus to communicate between openfaas functions

I am using Vert.x in my openfaas function and I want to communicate between them using vert.x event bus but I am not sure how to use event bus for out side of a function. It works in same function. I didn't find any documentation or resource about…
Rakesh
  • 1,035
  • 1
  • 14
  • 31
0
votes
2 answers

Open-faas function will not deploy

I am attempting to deploy an open-faas function from the cli. The command I am using is below. sudo /usr/local/bin/faas-cli deploy -f my-template.yml This gives an error of Is OpenFaaS deployed? Do you need to specify the --gateway flag? Put…
Dave
  • 2,473
  • 2
  • 30
  • 55
0
votes
1 answer

Openfaas Invoke async function with queue name

Is there a way to give the queue-name with async openfaas function invocation ? We have a openfaas function deployed which will be invoked by multiple providers. The execution time of the function depends on some parameters given by the provider. We…
Pratham
  • 1,522
  • 1
  • 18
  • 33
0
votes
1 answer

OpenFaas' Ingress-operator doesn't rewrite path

So I'm trying to create a more REST-like api path by using OpenFaaS' ingress-operator using the following tutorial. I verified that the ingress-operator is running by using kubectl get deploy/ingress-operator -n openfaas -o wide which showed one…
HighCrit
  • 1
  • 1