This is the official Helm Charts repository for installing Fanout Platform on Kubernetes. Note that the charts depend on private Docker images. Please use the contact form to get access first.
Add the Helm repository:
helm repo add fanout https://charts.fanout.io
helm repo update
Make a yaml file with Docker Hub credentials:
imageCredentials:
username: alice
password: 12345
Install the package:
helm install -f creds.yaml --generate-name fanout/fanout
Set up port forwarding:
# get the release name
export NAME=`helm list --short | grep fanout`
# run each of these in separate terminals
kubectl port-forward service/$NAME-conn-proxy 7999:80
kubectl port-forward service/$NAME-conn-api 5561:80
Connect a client:
curl -i http://localhost:7999/stream
Publish a message:
curl \
-H "Content-Type: application/json" \
-d '{"items":[{"channel":"test","formats":{"http-stream":{"content":"hello world\n"}}}]}' \
http://localhost:5561/publish/