Cayley
  • Cayley Documentation
  • Getting Started
  • Install Cayley
  • Configuration
  • Usage
    • Quickstart as Library
    • Advanced Use
    • HTTP Methods
    • 3rd-Party-APIs
    • UI Overview
    • Migration
  • Query Languages
    • Gizmo API
    • GraphQL Guide
    • MQL Guide
    • Gephi GraphStream
  • Getting Involved
    • Glossary of Terms
    • Contributing
    • TODOs
    • Locations of parts of Cayley
  • Deployment
    • Running in Docker
    • Running in Kubernetes
  • Tools
    • Convert Linked Data files
Powered by GitBook
On this page
  • Single instance (Bolt)
  • Distributed (MongoDB cluster)
  • Distributed

Was this helpful?

  1. Deployment

Running in Kubernetes

PreviousRunning in DockerNextConvert Linked Data files

Last updated 5 years ago

Was this helpful?

Most examples requires Kubernetes 1.5+ and PersistentVolumes are configured.

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.

Single instance (Bolt)

This is a simplest possible configuration: single Cayley instance with persistent storage, using Bolt as a backend.

kubectl create -f ./docs/k8s/cayley-single.yml

Distributed (MongoDB cluster)

This example is based on and runs Cayley on top of 3-node Mongo cluster.

kubectl create -f ./docs/k8s/cayley-mongo.yml

Distributed

TODO: PostgreSQL, CockroachDB

thesandlord/mongo-k8s-sidecar