openwhisk | Apache OpenWhisk is an open source serverless cloud platform | Serverless library
kandi X-RAY | openwhisk Summary
kandi X-RAY | openwhisk Summary
OpenWhisk is a serverless functions platform for building cloud applications. OpenWhisk offers a rich programming model for creating serverless APIs from functions, composing functions into serverless workflows, and connecting events to functions using rules and triggers. Learn more at
Support
Quality
Security
License
Reuse
Top functions reviewed by kandi - BETA
Currently covering the most popular Java, JavaScript and Python libraries. See a Sample of openwhisk
openwhisk Key Features
openwhisk Examples and Code Snippets
Community Discussions
Trending Discussions on openwhisk
QUESTION
I want to deploy a python script with a virtual environment (I need a library which is not in the runtime provided by IBM Cloud Functions) to IBM Cloud Functions. I want to do this with simple zipping so I followed the documentation: Packaging Python code with a local virtual environment in a compressed file in the link below: https://cloud.ibm.com/docs/openwhisk?topic=openwhisk-prep
I have python 3.7 installed and the virtualenv also uses that. The virtualenv is named "virtualenv" as required, however I still receive the error when I try to invoke the action: Results:
...ANSWER
Answered 2021-May-20 at 11:49This is a bug in handling windows packaged venv, as you noted. It is fixed in this fork https://github.com/nimbella-corp/openwhisk-runtime-python/commit/2eb3422cb2dca291cff47ed3239de8512170a1be you can apply and build your own container image as a workaround.
QUESTION
CentOS7、Standalone OpenWhisk
Problem descriptionI plan to send a message to Kafka in openwhisk, the data flow process is: WSK CLI -> OpenWhisk action -> kafka-console-consume.
But there will be intermittent failures in the process,such as: I send "test01"~"test06", only get "test02"、"test04"、"test06".
According to the log , The cause of the failures is a timeout.
This is my action script:
...ANSWER
Answered 2021-May-02 at 12:04do not use "kafka-node". replace with "kafkajs"
QUESTION
I've installed openwhisk standalone, and successfully invoke an action.But when I run wsk package list /whisk.system
, it show:
ANSWER
Answered 2021-Apr-09 at 03:26they are packages which need to be installed separately
see https://github.com/apache?q=openwhisk-package&type=&language=&sort= for details
QUESTION
I am trying to setup a simple POC of Apache OpenWhisk serverless framework running on Kubernetes. I am using MacOS with Minikube. Here are the specs:
...ANSWER
Answered 2021-Jan-29 at 14:45We stopped maintaining OpenWhisk for Minikube a while ago. With the availability of a full-fledged Kubernetes cluster built-in to Docker Desktop on MacOS and Windows and kind
(https://kind.sigs.k8s.io) being available on all of our platforms supporting Minikube was more work than it was worth.
QUESTION
I want to use the binaries bwa and samtools in IBM cloud functions. I've tried to include both in the .zip as explained here but both executables are missing some shared libraries. What would be a general approach to fix those sorts of problems? Do I have to create a docker image for that?
...ANSWER
Answered 2021-Jan-05 at 16:17You should build and use your Docker image. That is recommended for more complex dependencies. The .zip could work, but it requires some laser focus in catching all dependencies.
QUESTION
I am trying to create a scheduled lambda function using the Serverless framework and to send it different parameters from different events.
here is my serverless configuration:
...ANSWER
Answered 2021-Jan-05 at 14:22I could see one of my configuration something like below. There we use parameters instead of param.
QUESTION
Any body here tried openwhisk-composer composer.parallel()?
my openwhisk action can't seem to connect to the redis-server ive setup,
when i invoke the action with the composer.parallel() it throws error
...ANSWER
Answered 2020-Dec-14 at 21:15was able to make it work, i changed the redis uri in the input to the container ip not the public ip so the input is like this
QUESTION
I install openwhisk via kubernetes cluster. I invoke my actions through the API and also receive their logs via API. But in the log, it is only known whether the action is cold or warm, through initTime annotation. And it is not clear whether the cold action is executed on a cold container or preWarmed container. I tried to access this information through the user-events service and metrics endpoint via kubectl port forwarding and localhost:9095/metrics. But at this endpoint, only the cold start number is specified. How do I know if the action is executed on a prewarm container?
...ANSWER
Answered 2020-Oct-22 at 14:04I think you can only get this information by looking through the invoker logs. I don't think we clearly distinguish between the two cases in the information that is directly associated with the activation.
QUESTION
Currently, the Invoker component configuration in the application.conf has the following configuration for container proxy :
...ANSWER
Answered 2020-Oct-22 at 14:00To override default values from a .conf
file, you set environment variables that start with CONFIG_ in the invoker/controller pods. Concretely to change whisk.container-proxy.timeouts.idle-container
you would define the environment variable CONFIG_whisk_containerProxy_timeouts_idleContainer
to have the desired value.
In the current OpenWhisk helm chart, this requires editing the yaml files for invoker-pod.yaml
or container-pod.yaml
to add the additional environment variable definition. There are multiple CONFIG_
variables being defined in these files, so you should have examples to follow.
QUESTION
Is it possible to import OpenAPI/Swagger 3.0 specification file to create APIs in OpenWhisk? I am able to import 2.0 specification file, but when I convert the file to 3.0, I hit the following error.
...ANSWER
Answered 2020-Aug-12 at 16:10Not yet but the project welcomes contributions. Some of the route management API and the OpenWhisk CLI will require adjustments to align the schema with OpenAPI.
Community Discussions, Code Snippets contain sources that include Stack Exchange Network
Vulnerabilities
No vulnerabilities reported
Install openwhisk
When the OpenWhisk stack is up, it will open your browser to a functions Playground, typically served from http://localhost:3232. The Playground allows you create and run functions directly from your browser.
To make use of all OpenWhisk features, you will need the OpenWhisk command line tool called wsk which you can download from https://s.apache.org/openwhisk-cli-download. Please refer to the CLI configuration for additional details. Typically you configure the CLI for Standalone OpenWhisk as follows:
Standalone OpenWhisk can be configured to deploy additional capabilities when that is desirable. Additional resources are available here.
Support
Reuse Trending Solutions
Find, review, and download reusable Libraries, Code Snippets, Cloud APIs from over 650 million Knowledge Items
Find more librariesStay Updated
Subscribe to our newsletter for trending solutions and developer bootcamps
Share this Page