Skip to content

Latest commit

 

History

History
35 lines (21 loc) · 568 Bytes

README.md

File metadata and controls

35 lines (21 loc) · 568 Bytes

Running Tarantool on kubernetes

Single instance

kubectl create cm --from-file app.lua app
kubectl apply -f 1-single-instance.yml

Drawbacks:

  • does not scales

  • no failover

  • no way to upgrade without downtime

Single instance with replication

kubectl apply -f 2-master-master.yml

The trick is to set proper TARANTOOL_REPLICATION env variable pointing to instance DNS name within kubernetes service.

Drawbacks:

  • scales reads

  • manual scale

  • replication reconfiguration results in all instances restart