riff is for functions

riff is for functions

  • Docs
  • Blog
  • GitHub
  • Slack

›Recent Posts

Recent Posts

  • 👋
  • Announcing riff v0.5.0
  • From Monolith to riff Functions at SpringOne Platform 2019
  • Mark Fisher and Cornelia Davis' Keynote at SpringOne Platform 2019
  • Announcing riff v0.4.0

Announcing riff v0.1.1 on Knative

August 9, 2018

We are pleased to announce that riff v0.1.1 on Knative is now available. Thanks, everyone for contributing.

Uninstall

If you are using the latest riff on Knative for demos, you might find it useful to do a quick uninstall without zapping your whole cluster and cached images.

# remove everything including istio without prompting 
riff system uninstall --istio --force

Istio will remain installed if you omit --istio.

Command function invoker

With this release the command invoker is back in business. This invoker accepts HTTP requests and invokes a command for each request. For example, let's try a simple shell script

#!/bin/sh

xargs echo -n hello

Create the function using the riff CLI. This assumes that you are running riff with image push credentials to DockerHub with YOUR-DOCKER-ID.

riff function create command hello \
  --git-repo https://github.com/markfisher/riff-sample-hello.git \
  --artifact hello.sh \
  --image YOUR-DOCKER-ID/demo-command-hello

Once the function has been built, you should be able to run it using

riff service invoke hello -- -w '\n' -d stranger

The output should look something like this:

curl http://192.168.64.31:32380 -H 'Host: hello.default.example.com' -w '\n' -d stranger
hello stranger
Recent Posts
  • Uninstall
  • Command function invoker
riff is for functions
Docs
Versions
Community
BlogGitHubSlackKnativeTwitter
More
Privacy PolicyTerms of UseCode of Conduct
Deployed by Netlify
Copyright © 2021 VMware, Inc