You can install the system using a Helm chart or by manually building and deploying the components.
You need:
-
A running 1.7 Kubernetes cluster with at least 4GB of memory. These instructions assume minikube for now.
minikube start --cpus=4 --memory=4096 --disk-size=64g
-
Git installed.
-
A Java 8 environment.
-
A working Go environment, with a clone of Eric Bottard’s customized fabric8io/kubernetes-model.
cd $(go env GOPATH) #defaults to ~/go git clone https://github.com/ericbottard/kubernetes-model src/github.com/fabric8io/kubernetes-model/
-
A clone of this repo.
git clone https://github.com/markfisher/sk8s.git
Create Function and Topic Custom Resource Definitions:
kubectl apply -f config/types
Point your Docker environment to the Docker environment running in minikube:
eval $(minikube docker-env)
kubectl apply -f config/prometheus kubectl apply -f config/grafana
kubectl apply -f config/zipkin
See how to use the dashboards.
With the Sk8s FaaS running try some of the samples.