1 - 安装riff
安装riff
安装CLI
Linux
在ubuntu16.04上安装:
sudo wget -q -O - https://raw.githubusercontent.com/starkandwayne/homebrew-cf/master/public.key | apt-key add -
sudo echo "deb http://apt.starkandwayne.com stable main" | tee /etc/apt/sources.list.d/starkandwayne.list
sudo apt-get update
sudo apt-get install riff
也可以直接下载安装,下载地址: https://github.com/projectriff/riff/releases
curl -Lo riff-linux-amd64.tgz https://github.com/projectriff/riff/releases/download/v0.1.1/riff-linux-amd64.tgz
tar xvzf riff-linux-amd64.tgz
sudo mv riff /usr/local/bin/
2 - Riff概述
Riff项目
介绍
riff的介绍,看到一下几个说法:
- riff is for functions
- riff is a CLI for functions on Knative
- riff项目建立在Knative项目的build,serving和eventing特征之上。
在riff的首页,看到三个描述:
- Functions are packaged as containers/ Function以容器方式打包
- Sidecars connect functions with event brokers / sidecar用event broker连接function
- Functions scale with events / Function随事件扩展
riff的网站:
资料
演讲资料
- Spring Cloud Function & Project Riff: 2018年4月23号