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
1 answer

Trying to Access OpenFaaS with an Istio Gateway

I was trying to access OpenFaaS through istio in which I have included gateway and virtual service. I need to create a separate endpoint for the OpenFaaS eg.: "http://istio_ingress_Loadbalancer/openfaas" - This should give me OpenFaaS UI. Can anyone…
0
votes
1 answer

Send a file and parameters to a OpenFaas Dockerfile function

I have a ffmpeg Dockerfile function that I deploy to my OpenFaaS: FROM ghcr.io/openfaas/classic-watchdog:0.1.5 as watchdog FROM jrottenberg/ffmpeg:4.1-alpine RUN mkdir -p /home/app COPY --from=watchdog /fwatchdog /usr/bin/fwatchdog RUN chmod +x…
Johannes Klauß
  • 10,676
  • 16
  • 68
  • 122
0
votes
1 answer

OpenFaas : getting Upstream HTTP request error: Post http://127.0.0.1:8082/: EOF while deploying long running springboot service

I am trying to deploy a long running Springboot service on OpenFaas and facing Upstream HTTP request error: Post http://127.0.0.1:8082/: EOF I have a springboot service which exposes API's. To deploy this service on openfaas the following steps were…
0
votes
1 answer

openfaas deployment.kubernetes.io/max-replicas vs com.openfaas.scale.max

I have a k8s cluster on which I have installed openfaas in the following way: helm repo add openfaas https://openfaas.github.io/faas-netes/ helm repo update kubectl apply -f…
Laurent Michel
  • 1,069
  • 3
  • 14
  • 29
0
votes
1 answer

how to update cluster configuration of existing OpenFaas Cluster

How to update the configuration of an existing OpenFaas cluster like --set faasIdler.dryRun=true/false While creating the cluster we can specify the configuration. But how to update the existing configuration using Arkade.
dassum
  • 4,727
  • 2
  • 25
  • 38
0
votes
0 answers

Is it possible to add packages to an openfaas container?

I am new to Openfaas. I have Python code that has dependency on Xvfb. I have executed this code just fine running under Ubuntu, however this code fails when trying to run in an Openfaas container. I get the following error. exit status 1 Traceback…
Dave
  • 2,473
  • 2
  • 30
  • 55
0
votes
1 answer

OpenFaas vs serverless functions provided by cloud service providers

why we should openfaas instead of lambda functions in AWS or other serverless functions by cloud service providers?
0
votes
1 answer

OpenFaas keep forking the query and never stops when making lab4 tutorial

I'm following the Lab4 from OpenFaas. In the end of this lab you make a programmatic call for another function, but the function start a loop and never finishes: And int the execution is give me an error: Here is the pod that should be…
0
votes
1 answer

Change endpoint for OpenFaaS function

By default, functions deployed to OpenFaaS are available at one of the following endpoints: http://$IP:8080/function/[function_name] http://$IP:8080/async-function/[function_name] How can I create an endpoint like the…
Matthew Rankin
  • 457,139
  • 39
  • 126
  • 163
0
votes
1 answer

How to add additional metric to Grafana dashboard

I am currently using "OpenFaas" dashboard in Grafana, but it doesn't have CPU metrics, how can I add it to my existing dashboard? I downloaded JSON file from https://grafana.com/grafana/dashboards/3434
0
votes
1 answer

OpenFaas Autoscaling from 0

I am trying out OpenFaas auto scaling feature from 0 instances. I tried running nodeinfo function with this and tried invoking it. kubectl scale deployment --replicas=0 nodeinfo -n openfaas-fn Once replicas are down to 0, I wanted to try invoking it…
Srini
  • 79
  • 4
0
votes
1 answer

Error while deploying Java AWS S3 code to openfaas

Following is a part of code I have written: S3Object obj1 = null; obj1 = s3client.getObject("bucketname", "file.yml"); S3ObjectInputStream instream = obj1.getObjectContent (); I get the following error while deploying my code to openfaas: error:…
Abcd
  • 1
0
votes
1 answer

Prometheus not running with OpenFaaS

I just installed OpenFaaS on Kubernetes and was able to deploy and invoke a simple hello-world-type function (which means OpenFaaS is working correctly). However, the guide I am following states that I should then be able to access the Prometheus UI…
kd2amc
  • 39
  • 8
0
votes
1 answer

How to deploy a serverless application in openFaaS similar to AWS lambda with S3

I want to deploy a serverless application on openFaaS. It should be similar to the following example application with AWS Lambda using a S3 trigger: https://docs.aws.amazon.com/lambda/latest/dg/with-s3-example.html So far I have not been able to…
nymvno
  • 370
  • 5
  • 19
0
votes
1 answer

Why open source serverless frameworks (like OpenWhisk) need an orchestrator (like Kubernetes)

I am currently working on private cloud like AWS and I am using AWS lambda for serverless. This is very cool like framework that's why I did some researches to find open source alternatives. I came out with some names: OpenWhisk, OpenFaas. These…
Yassir S
  • 1,032
  • 3
  • 21
  • 44