Once you have a working k8's cluster with helm and the riff repository installed. It's an easy installation process
Even though I have a local k8's cluster, I followed the instructions for minikube
https://projectriff.io/docs/getting-started-on-minikube/
Helm is awesome. The chart installs all the components in a few minutes.
Note: configure your kubectl with this: export KUBECONFIG=~/Downloads/kube_config_cluster.yml to the file created by RKE for your environment -see previous blog post
Now install the CLI
curl -Lo riff-linux-amd64.tgz https://github.com/projectriff/riff/releases/download/v0.0.6/riff-linux-amd64.tgz
tar xvzf riff-linux-amd64.tgz
sudo mv riff /usr/local/bin/
Check that riff is connected to kubectl correctlyNow you can run the install for the invokers
riff invokers apply -f https://github.com/projectriff/command-function-invoker/raw/v0.0.6/command-invoker.yaml
riff invokers apply -f https://github.com/projectriff/go-function-invoker/raw/v0.0.2/go-invoker.yaml
riff invokers apply -f https://github.com/projectriff/java-function-invoker/raw/v0.0.5-sr.1/java-invoker.yaml
riff invokers apply -f https://github.com/projectriff/node-function-invoker/raw/v0.0.6/node-invoker.yaml
riff invokers apply -f https://github.com/projectriff/python2-function-invoker/raw/v0.0.6/python2-invoker.yaml
riff invokers apply -f https://github.com/projectriff/python3-function-invoker/raw/v0.0.6/python3-invoker.yaml
No comments:
Post a Comment