Questions tagged [openwhisk]

OpenWhisk is a distributed, event-driven compute service, or simply a serverless compute runtime. It was created by IBM.

OpenWhisk is a distributed, event-driven compute service, or simply a serverless compute runtime. It was created by IBM and is currently in the Apache Incubator. The code can be found on GitHub: https://github.com/apache/openwhisk

247 questions
9
votes
1 answer

Unable to list kafka topics in openwhisk setup

Setup details: I am setting up openwhisk on my local ubuntu(16.04) vm. in this setup kafka is running in one docker and zookeeper in another docker. I connect to the the kafka docker using cmd sudo docker exec -it sh once connected…
Katiyman
  • 827
  • 2
  • 12
  • 32
9
votes
2 answers

What is the difference between Cloud Foundry and OpenWhisk?

I see these both in Bluemix, but what is the difference between them?
hans
  • 93
  • 1
  • 5
5
votes
0 answers

Swift generate random number without arc4random

I want to generate a random number in Swift within a function deployed to OpenWhisk on IBM Bluemix. Because it's a Linux runtime, I can't use arc4random_uniform(). I also don't want to use drand48() because it doesn't give me a truly random number…
dokun1
  • 2,120
  • 19
  • 37
5
votes
1 answer

How do I make a Python Docker image an OpenWhisk action?

I have a Docker image which runs a Python program. I want now to run this container as an OpenWhisk action. How do I do this? I have seen several examples in other programming languages, and an excellent black box skeleton approach in C and…
iainH
  • 1,044
  • 10
  • 19
4
votes
2 answers

IBM Cloud Functions WebAction gives empty response (204)

I am running into strange behavior with IBM Cloud Functions. I have an Action that is web enabled (WebAction) for which I don't require authentication. I use Postman (and a browser) to test this new REST endpoint.(left side of the image below) The…
mpjjonker
  • 917
  • 1
  • 6
  • 28
3
votes
2 answers

OpenWhisk support custom registry

I need to run a Docker action in OpenWhisk. Inside the Docker Container, I execute a Java program. Now I pulled the docker skeleton from Openwhisk and installed Java on it. I also put my Java program inside the container and replaced the exec. I can…
rootdoot
  • 323
  • 1
  • 2
  • 7
3
votes
1 answer

Is there a way to access OpenWhisk logs from the API?

I want to programatically dump logs from OpenWhisk in to an external service. I can do this by capturing log output and then posting it at the end of every action but this adds overhead to my function. Is there a way to get this data from the…
Ed Shee
  • 931
  • 1
  • 7
  • 22
3
votes
2 answers

How to run a python app repeatedly using Bluemix?

The Bluemix python build pack works just fine - very easy to cf push myapp --no-route. So far, so good. A question, though: I want to run it periodically on Bluemix as I would using cron on my local system. Background The app is not written as a…
iainH
  • 1,044
  • 10
  • 19
2
votes
1 answer

Is there a way to update cached in-memory value on all running instance of a serverless function? (AWS,Google,Azure or OpenWhisk)

Suppose I am running a serverless function with a global state variable which is cached in memory. Assuming that the value is cached on multiple running instances, how an update to the global state would be broadcasted to every serverless instance…
2
votes
2 answers

How does Openwhisk decide how many runtime containers to create?

I am working on a project that is using Openwhisk. I have created a Kubernetes cluster on Google cloud with 5 nodes and installed OW on it. My serverless function is written in Java. It does some processing based on arguments I pass to it. The…
2
votes
1 answer

Is there a feature for setting Min/Max/Fixed function/action replica in Openwhisk?

I have an Openwhisk setup on Kubernetes using [1]. For some study purpose, I want to have a fixed number of replicas/pods for each action that I deploy, essentially disabling the auto-scaling feature. Similar facility exists for OpenFaas [2], where…
Anirban Das
  • 113
  • 2
  • 6
2
votes
1 answer

How to fix "error": "'parameter_name'" when using IBM Cloud Function's REST API?

I have an action in IBM Cloud Functions that only receives one parameter: "frame". I'm using Postman to test the REST API endpoint provided with the action. However, when I provide the "frame" parameter it returns the following: "response": { …
2
votes
1 answer

Blocking action invocation time-outs after 60s - how to access result?

I'm trying to invoke an Apache OpenWhisk action (using the JavaScript SDK) as a remote function. I want to wait for the function result to be available to use in my application. This is normally handled by using a blocking invocation, e.g.…
James Thomas
  • 4,303
  • 1
  • 20
  • 26
2
votes
3 answers

Openwhisk: increase number of concurrent requests

I have a distributed Openwhisk setup, and when I try to execute more than 30 requests with one user at once, I get the following error: error: Unable to invoke action 'prime-number': Too many concurrent requests in flight (count: 30, allowed:…
Green Fireman
  • 617
  • 1
  • 11
  • 27
2
votes
1 answer

How to 'make' OpenWhisk Docker Compose in Windows 10?

I am new to OpenWhisk. I have windows 10, with Docker for windows installed. I followed the instructions given in the following URL to download the Docker compose from GIT, on my Windows 10 laptop. This website mentions command 'make quick-start'. I…
KurioZ7
  • 6,028
  • 13
  • 46
  • 65
1
2 3
16 17