What Orbit does not promise
Orbit tries to say what each feature does not cover where you use it. This page puts those limits in one place.
The main server
Orbit runs on the main server, unless it keeps copies on the control plane. Kubernetes' control plane runs there too, unless you run it on three servers. The router that receives your traffic runs on the main server and on any other server you set to receive traffic.
- If the main server is lost without copies of Orbit, the console, the API and deployments stop with it, and so do the applications placed only there. Without other servers receiving traffic, incoming traffic stops too.
- With copies of Orbit, a standby takes over after its lease lapses. A change Orbit answered without a standby's acknowledgement, after its 2 second wait, can be lost.
- With the control plane on the main server only, Kubernetes stops with it as well: nothing moves to your other servers, no database fails over, and other servers that receive traffic keep sending requests to the instances that ran on the main server, which fail until it is back.
- With the control plane on three servers, Kubernetes keeps working: instances move, databases fail over and the routers stop sending requests to what was lost. Orbit itself waits for the main server unless it keeps copies.
- Orbit calls it high availability when the control plane runs on three servers, Orbit keeps copies on the other two, two servers receive traffic, applications are spread over several servers with room to lose one, and PostgreSQL uses synchronous replicas. Losing any one server then passed on separate real servers with no confirmed write lost.
- Orbit checks that a spread application has room to lose a server when you place or resize it, not yet when other services fill those servers later.
- Keep an off-server copy of
orbit backup, and backups of your databases in external storage.
More servers add room
By default a service runs on the server you choose and stops if that server stops. Several instances of an application on one server handle more load, but if that server goes down they all go with it.
An application can spread its instances across servers, and they start again elsewhere when a server is lost. Traffic enters through the main server unless other servers receive it too, and databases other than PostgreSQL replicas stay on one server.
Databases
- Data on one disk: without backups to external storage, losing a database's server loses its data.
- Failover takes time: about a minute when a server stops and about a minute and a half when it loses its network, most of it Kubernetes waiting before it declares a server lost. See the measurements.
- Asynchronous replication can lose writes: a failover can lose what the primary accepted just before it failed. A primary cut off from its replicas keeps accepting writes from applications on its own side for up to about half a minute before it stops itself, and those writes are lost.
- Synchronous replication can stop writes: it loses no committed write, but writes stop when two of the three servers are lost.
- Losing everything: rebuilding from the archive loses the writes that had not reached it, up to about a minute.
- Where it was tested: failover and recovery were measured on a three-node cluster running as containers on one machine, and the loss of each server again on three separate servers.
Updates
While Orbit restarts for an update, the console is unavailable for a few seconds. Your applications keep running. See Updates.
Storage
Volumes live on the server's disk, and their sizes are requested, not enforced.