PortainerOps / Methodology
PORTAINEROPS_METHODOLOGY // DETERMINISTIC EQUATIONS

PortainerOps Sizing Methodology: Linux cgroups v2, Raft Quorum & VXLAN Equations

In our PortainerOps engineering methodology, every node RAM floor and cluster quorum rule is derived by the PortainerOps Container Management Maintainers from Linux kernel 6.x cgroups v2 specifications, Swarmkit Raft math, and documented GUI daemon footprints.

On PortainerOps, we strictly separate deterministic specification math from workload-specific runtime checks—recommending operators verify docker stats --no-stream, cgroups memory.current, and private VPC latency on a staging host before production cutover.

1. PortainerOps 4-Zone Linux cgroups v2 Node Memory Equation

We sum per-node container reservations (memory.low), a 52% statistical burst buffer below memory.max, GUI control-plane RAM (85–210 MB), and Linux kernel/VXLAN skb overhead (0.95–1.35 GB).

Node_RAM_Safe = Sum(reservations.memory)
              + 0.52 * (Sum(limits.memory) - Sum(reservations.memory))
              + GUI_Plane_MB (85..210 MB)
              + Kernel_VXLAN_Buffer (980..1380 MB)

2. PortainerOps Odd-Node Raft Quorum (N/2)+1 & VXLAN MTU 1450 Rule

A 3-manager Swarm tolerates 1 host loss (majority = 2/3) and keeps steady-state node reservations <=62% so 2 survivors absorb evacuated tasks. On VPC links with 1450 MTU, subtract 50-byte VXLAN encapsulation to 1400 MTU.

PortainerOps methodology diagram for read-only docker-socket-proxy isolation