github.com/cayleygraph/cayley@v0.7.7/docs/k8s/k8s.md (about) 1 # Running in Kubernetes 2 3 Most examples requires Kubernetes 1.5+ and PersistentVolumes are configured. 4 5 After running scripts namespace `cayley` will be created and service with the same name will be available in cluster. Service is of type `ClusterIP` by default. If you want to expose it, consider changing type to `LoadBalancer`. 6 7 ## Single instance \(Bolt\) 8 9 This is a simplest possible configuration: single Cayley instance with persistent storage, using Bolt as a backend. 10 11 ```bash 12 kubectl create -f ./docs/k8s/cayley-single.yml 13 ``` 14 15 ## Distributed \(MongoDB cluster\) 16 17 This example is based on [thesandlord/mongo-k8s-sidecar](https://github.com/thesandlord/mongo-k8s-sidecar) and runs Cayley on top of 3-node Mongo cluster. 18 19 ```bash 20 kubectl create -f ./docs/k8s/cayley-mongo.yml 21 ``` 22 23 ## Distributed 24 25 _TODO: PostgreSQL, CockroachDB_ 26