Odin on-premises · Kubernetes multi-server

Prerequisites and Network Requirements

Multi-server high availability on Kubernetes (kubeadm)

Document
ODIN-K8S-01
Version
0.9
Classification
Customer-facing
Date
November 2026

0.Status of this document

Design baselineThis document describes the kubeadm-based deployment. Sections 1 to 9 are final and can be used for site preparation now. The kubeadm install path is in implementation: commands that depend on it are marked planned and are not yet in a released package. See ODIN-K8S-03 section 8.

The k3s documents ODIN-K3S-01 to ODIN-K3S-03 describe the deployment that is supported today. Where the two differ, this document says so explicitly rather than leaving the difference to be discovered on site.

Why kubeadmThe cluster is standard upstream Kubernetes, built with kubeadm and nothing else. There is no vendor distribution, no proprietary agent and no custom API server, so your existing Kubernetes tooling, audit process and security baseline apply unchanged.

1.Deployment summary

Odin runs on three identical servers in the customer data centre. Every server runs the Kubernetes control plane, the Odin application and the Odin data services. The service continues with any one server unavailable.

Table 1. Deployment summary
Value
TopologyThree identical servers, each running a kubeadm-built Kubernetes control plane with stacked etcd, the Odin application and the data services
Kubernetesv1.35.6, built with kubeadm and delivered inside the Odin release package
Container runtimecontainerd, delivered and managed by Odin as odin-containerd.service. It shares no socket and no data root with a runtime you already run
Internet accessNone required. The install is offline end to end; inbound and outbound internet access may be denied
Container registryNone. Every image is delivered in the release package and imported on every server
Shared storageNone required. Data and backups are held on local SSD or NVMe. Customer S3-compatible storage is optional and recommended for off-site copies
User accessHTTPS through the customer load balancer
Fault toleranceOne server. The loss of two of three servers stops the service: the etcd quorum is 2 of 3

2.Server resources

2.1Layouts

Table 2. Supported layouts
LayoutServersCluster addressSurvivesStatus
Single machine1the server addressNothing. The machine is a single point of failure; recovery is a restore from backup.In scope
HA, in-cluster VIP3a free IPv4 address claimed by kube-vipThe loss of 1 server: etcd keeps 2 of 3 members.In scope
HA, external load balancer3an API VIP on your L4 load balancerThe loss of 1 server: etcd keeps 2 of 3 members.In scope
HA, 5 servers or separate workers5+as aboveNot offered on the kubeadm deployment.Not in scope

Use an odd number of control-plane servers. With two or four, one more server buys no extra failure tolerance and a split leaves neither half a majority; preflight warns about it. The k3s deployment additionally supports separate worker nodes and five servers; the kubeadm deployment does not yet.

2.2Sizing

Table 3. Sizing guidance
ItemSingle machineHA server
CPU and RAMProvisional minimum 16 vCPU and 64 GB16 vCPU and 64 GB (Standard); 32 vCPU and 128 GB (Large)
Free diskProvisional minimum 1 TB data disk1 TB NVMe / SSD data disk, plus a 1 TB backup disk
Disk typeSSD or NVMeLocal SSD or NVMe, fsync p99 under 10 ms (required)
OS disk100 GB100 GB
Count13

The installer's host check rejects a server below 16 vCPU or 60 GB of usable memory. Size every server as if one of the others were gone: when a server is lost its workloads move to the survivors, and the survivors must be able to carry them.

2.3Disk layout

Table 4. Disk layout per server
Mount pointRequirementContents
/100 GBOperating system, logs, the Odin installer, and the kubeadm and kubelet binaries
/var/lib/odin/containerdDedicated disk or LV on local SSD or NVMe; fsync p99 under 10 mscontainerd data root: images, container layers, pod ephemeral storage
/var/lib/etcdDedicated disk or LV on local SSD or NVMe; fsync p99 under 10 msetcd data for the stacked control plane
/etc/kubernetes5 GB on the OS diskkubeadm configuration, cluster PKI (CA, service-account keys, front-proxy), kubeconfigs
/var/lib/odin/local-pathDedicated disk or LV at least as large as the data diskPersistent volumes for PostgreSQL, Redis and MinIO
/var/lib/odin-backupsDedicated disk or LV at least as large as the data diskOdin backup sets and archives
Two disks carry fsync-sensitive data/var/lib/odin/containerd and /var/lib/etcd both need local SSD or NVMe with p99 fsync latency of 10 ms or lower. On k3s both lived under a single /var/lib/rancher; on Kubernetes they are separate paths and both must be provisioned. An etcd data directory on a network volume is the most common cause of a slow or unstable control plane.

2.4Placement

Table 5. Placement requirements
ItemRequirement
SiteAll three servers in one data centre; round-trip latency below 5 ms between servers
Fault domainsEach server on a separate hypervisor host or rack (anti-affinity rule)
Architecturex86_64
Layer 2 adjacencyRequired only in the in-cluster VIP mode (section 5.2), where the cluster address is claimed by ARP on the server VLAN

3.Operating system

3.1Supported releases

Table 6. Supported operating systems
Operating systemReleaseSecurity baseline
Red Hat Enterprise Linux8.10, 9.4 or later 9.xSELinux Enforcing; firewalld enabled
Ubuntu Server LTS22.04, 24.04AppArmor enabled; ufw enabled with the rules in section 4.4

All three servers run the same operating system and release, installed as a minimal server.

3.2Packages

The Odin release package delivers Kubernetes, containerd, the CNI plugins, all container images and the SELinux policy packages. Docker, Podman, Helm and a container registry are not installed. The following packages come from your operating system repository:

Table 7. Packages from the customer OS repository
PurposeRed Hat Enterprise LinuxUbuntu Server LTS
Base toolstar gzip coreutils openssl curl gawk sed glibc-common util-linux openssh-clients iproutetar gzip coreutils openssl curl gawk sed libc-bin util-linux openssh-client iproute2
Time synchronisationchronychrony
Package extractionzstdzstd
Network verificationnmap-ncatnetcat-openbsd
Kubernetes prerequisitesconntrack-tools socat iptables iproute-tcconntrack socat iptables iproute2
SELinux policy for containerscontainer-selinuxnot applicable
Kubernetes binaries are not from your repositorykubeadm, kubelet, kubectl and containerd are delivered in the Odin release package and installed under /opt/odin/k8s/bin. Your OS repository is used only for the packages above, so no Kubernetes vendor repository needs to be reachable.

3.3Host configuration

Table 8. Host configuration
SettingRequirement
SwapDisabled, including /etc/fstab
cgroupcgroup v2. On RHEL 8 the host check enables it and one reboot follows. A server on cgroup v1 is refused, not warned
TimeNTP synchronised to your time source; skew below 500 ms between servers; identical time zone
RoutingIPv4 default route present on every server
Host namesUnique per server and resolvable on every server
Machine identityA unique /etc/machine-id per server; cloned virtual machines must be regenerated before installation
Host firewallRHEL: firewalld enabled, ports opened by the installer. Ubuntu: ufw enabled, rules in section 4.4 applied by you

3.4Kernel and network settings

Kubernetes needs kernel settings that k3s applies for itself. On kubeadm the host check applies and verifies them before the cluster is initialised.

Table 9. Kernel and network settings
SettingValueWhy
br_netfiltermodule loaded at bootbridged pod traffic must traverse iptables
net.bridge.bridge-nf-call-iptables1service routing for bridged traffic
net.bridge.bridge-nf-call-ip6tables1the same, for IPv6 rules
net.ipv4.ip_forward1pod-to-pod and pod-to-service forwarding
fs.inotify.max_user_instances8192many pods each hold inotify instances; the default exhausts under load
fs.inotify.max_user_watches524288the same, for watches
Underlay MTU1500the VXLAN overlay runs at 1450

4.Network

4.1Network topology

User network

Customer usersBrowsers · HTTPS only
Nameshttps://odin · api.odin · files.odin

Admin network

Admin jump hostSSH key authentication
File transferSFTP: release package, patches

Customer core services

Internal DNS3 A records → App VIP
NTP serversskew under 500 ms
OS package mirrorOS patching

Load balancer tier (L4)

App VIPTCP 443 → servers :443 · monitor TCP 443
TCP 80 → HTTPS redirect · SNAT automap
API VIPTCP 6443 → servers :6443 · monitor HTTPS GET /ping
source: Odin servers only · SNAT automap

L4 pass-through · no persistence · pools populated before installation. In the in-cluster VIP mode the API VIP is claimed by the servers instead.

Server VLAN · same site · under 5 ms round trip

Server 110.0.0.21 (example)

Traefik:80 · :443
Kubernetes:6443 · etcd :2379-2380
:10250 · :10257 · :10259

Server 210.0.0.22 (example)

Traefik:80 · :443
Kubernetes:6443 · etcd :2379-2380
:10250 · :10257 · :10259

Server 310.0.0.23 (example)

Traefik:80 · :443
Kubernetes:6443 · etcd :2379-2380
:10250 · :10257 · :10259

server ↔ server, rules 5 and 6, bidirectional · TCP 22 SSH · TCP 6443 API · TCP 2379-2380 etcd · TCP 10250 kubelet · TCP 10257 controller-manager · TCP 10259 scheduler · UDP 8472 VXLAN

All three servers: the same OS release, firewalld or ufw enabled, swap off, cgroup v2, kernel settings as in section 3.4.

Figure 1. Network zones, flows and ports. User traffic on TCP 443 only; internet denied in both directions.
Never expose these outside the server VLANTCP 2379-2380 (etcd), 10250 (kubelet), 10257 (controller-manager), 10259 (scheduler) and UDP 8472 (VXLAN). On k3s the control-plane ports beyond 6443 belonged to a single process; on kubeadm they are separate listeners and must be firewalled explicitly.

4.2Network requirements

Table 10. Network requirements
ItemRequirement
Server networkOne dedicated server VLAN for the three Odin servers
AddressingStatic IPv4 per server; two IPv4 addresses that are not server addresses (the App VIP and the cluster address)
MTU1500 end to end between servers; the pod network overlay runs at 1450
Traffic inspectionNo proxy, IPS, SSL inspection or NAT between the three servers
InternetDenied in both directions
Pod and service CIDRs10.42.0.0/16 and 10.43.0.0/16, which must not overlap your server VLAN, any routed network, or any network reachable from the servers
CIDR overlap must be checked before installationThe pod and service CIDRs are fixed at kubeadm init and cannot be changed afterwards without rebuilding the cluster. If your server VLAN or any routed network overlaps 10.42.0.0/16 or 10.43.0.0/16, tell Odin engineering before the change window so the cluster is built with different ranges.

4.3Firewall rules

The rules below are the complete set. Traffic not listed is denied.

Table 11. Firewall rules
#SourceDestinationProtocol and portPurpose
1Customer user networksApp VIPTCP 443Odin web, API and file access (HTTPS)
2Customer user networksApp VIPTCP 80Redirect to HTTPS, answered by the load balancer
3Load balancer SNAT addressesServers 1, 2, 3TCP 80, 443, 6443Pool traffic and health monitors
4Servers 1, 2, 3Cluster addressTCP 6443Kubernetes API through the cluster address
5Servers 1, 2, 3Servers 1, 2, 3TCP 22, 6443, 2379, 2380, 10250, 10257, 10259Installer SSH, Kubernetes API, etcd, kubelet, controller-manager, scheduler
6Servers 1, 2, 3Servers 1, 2, 3UDP 8472Pod network (VXLAN)
7Customer admin jump hostServers 1, 2, 3TCP 22Administration and file transfer
8Servers 1, 2, 3Customer DNS serversTCP, UDP 53Name resolution
9Servers 1, 2, 3Customer NTP serversUDP 123Time synchronisation
10Servers 1, 2, 3Customer OS repositoryTCP 443Operating system patching

In the in-cluster VIP mode (section 5.2) rule 4 is still required, but the destination is the VIP the servers themselves claim rather than a load balancer pool, and no TCP 6443 pool is configured on the load balancer.

4.4Restricted ports

Table 12. Restricted ports
PortRestriction
TCP 6443Reachable from the three servers and the load balancer only; denied from user networks
TCP 2379, 2380, 10250, 10257, 10259Server VLAN only; never published through the load balancer
UDP 8472Server VLAN only; never published through the load balancer
TCP 80, 443Reached through the App VIP only; direct access to a server address is denied
TCP 22From the customer admin jump host and between the three servers only

4.5Pre-installation port test

Before installation, prove the firewall rules with temporary listeners. On every server:

for p in 6443 10250 10257 10259 2379 2380; do nohup nc -lk $p >/dev/null 2>&1 & done

From every server, against the other two servers; every line must report PASS:

for n in <SERVER-1-IP> <SERVER-2-IP> <SERVER-3-IP>; do
  for p in 22 6443 10250 10257 10259 2379 2380; do
    timeout 3 bash -c "exec 3<>/dev/tcp/$n/$p" && echo "PASS $n:$p" || echo "FAIL $n:$p"
  done
done

UDP 8472, for every server pair in both directions:

# destination server
nc -u -l 8472

# source server; the destination prints udp-test
echo udp-test | nc -u -w1 <DESTINATION-IP> 8472

Stop the listeners afterwards with pkill -f "nc -lk".

5.Cluster address and load balancer

The Kubernetes control plane must be reachable at one stable address that every server uses to join and that is written into the API server certificate. There are two ways to provide it. The choice is made before installation and recorded in the site information (section 10).

5.1Cluster address modes

Table 13. Cluster address modes
ModeHow the address is providedWhat you provide
External load balancerYour L4 load balancer, as in Table 14An API VIP with a TCP 6443 pool and SNAT enabled. No layer 2 adjacency needed
In-cluster VIPkube-vip runs as a static pod on all three servers and claims the address by ARP on the server VLANA free, unused IPv4 address in the server subnet that nothing else will be assigned. All three servers must be layer 2 adjacent. No TCP 6443 pool on the load balancer
Which mode to chooseUse the external load balancer when you already run one and can add a pool. Use the in-cluster VIP when there is no load balancer, or when you prefer not to route the control plane through it. The in-cluster VIP is the only mode that requires layer 2 adjacency between the three servers.

5.2Virtual servers

Table 14. Load balancer virtual servers
Virtual serverPoolHealth monitorSettings
App VIP : 443Servers 1, 2, 3 on TCP 443TCP connect on 443; interval 5 s, timeout 16 sL4, round robin, idle timeout 300 s
App VIP : 80NoneNoneHTTP 301 redirect to HTTPS
API VIP : 6443Servers 1, 2, 3 on TCP 6443HTTPS GET /ping, response pong; interval 5 s, timeout 16 sL4, round robin, idle timeout 3600 s. External load balancer mode only

5.3Required behaviour

Table 15. Load balancer requirements
RequirementReason
L4 TCP pass-throughTLS terminates on the Odin servers with your certificate; the Kubernetes API uses its own certificates end to end
SNAT enabled (automap)Each server is a pool member and also connects to the API VIP; without SNAT the return path fails and servers cannot join the cluster
Pools populated before installationA VIP with an empty pool accepts connections and returns no data
No persistenceOdin holds no session state on individual servers
Cluster address as a static IPv4 addressThe address is written into the Kubernetes API certificate at installation and cannot be changed without rebuilding the cluster
Cluster address on the server networkNot routed to user networks (section 4.4)

Pool members show as down until installation completes.

5.4Verification

# from each server, after installation
curl -sk --max-time 10 https://<CLUSTER-ADDRESS>:6443/ping      # pong

# from a user network
curl -s -o /dev/null -w '%{http_code}\n' https://<WEB-NAME>/   # 200

6.DNS

Three A records in your internal DNS, each resolving to the App VIP:

Table 16. DNS records
RecordExamplePurpose
Webodin.example.internalOdin web application
APIapi.odin.example.internalOdin API
Filesfiles.odin.example.internalOdin file storage

The three servers resolve all three records through your DNS servers.

7.TLS certificate

Table 17. TLS certificate requirements
ItemRequirement
Subject alternative namesThe three DNS records in section 6
IssuerYour enterprise certificate authority
KeyRSA 2048 bit or larger, unencrypted PEM, file mode 0600
ChainPEM: server certificate, intermediate certificates, root certificate
TrustThe issuing CA trusted by the operating system of the three servers
RenewalAt least 30 days before expiry; Odin monitoring alerts at 60 and 30 days
Location/etc/odin/tls/ on every server
This certificate is for the application, not the clusterThe Kubernetes API server uses its own certificates, generated by kubeadm at installation and signed by the cluster CA in /etc/kubernetes/pki. The certificate in this section is used only by Traefik for the web, API and files names.

8.Access control

Table 18. Access control
ItemRequirement
Odin service accountOne named local account, identical on the three servers, with passwordless sudo
AuthenticationSSH key only; password authentication disabled for the account
Root loginDirect root SSH login disabled; elevation through sudo
Server-to-server SSHA dedicated ed25519 key for the service account, accepted only from the three server addresses
Administrative entryThrough your admin jump host only (rule 7, section 4.3)
File transferSFTP through the jump host to server 1 for the release package and patches
Installation window3 hours, with your infrastructure and network contacts available

9.Backup storage

Backups are enabled at installation and run daily. Every backup set is held on the backup disk of all three servers, so the backups survive the loss of any two servers.

Table 19. Backup storage
TierLocationWhat you provide
Cluster backupBackup disk on servers 1, 2 and 3The backup disk in section 2.3
Off-site copyYour storage outside the Odin clusterNFS export (root-writable, nfs-utils or nfs-common) or S3-compatible bucket with credentials
The backup set includes the cluster PKIOn Kubernetes a site rebuild needs more than the database: it needs /etc/kubernetes/pki (cluster CA, service-account keys, front-proxy), the /etc/kubernetes/*.conf kubeconfigs and /var/lib/etcd. These are part of the daily backup set. Without them a rebuilt cluster cannot re-admit existing nodes or decrypt existing service-account tokens.

The off-site copy is required where recovery from the loss of the whole site is in scope.

10.Site information

Completed by you and returned to Odin before installation.

Table 20. Site information
ItemValueFormat
Server 1 host name and IPv4odin-01 / 10.0.0.21
Server 2 host name and IPv4odin-02 / 10.0.0.22
Server 3 host name and IPv4odin-03 / 10.0.0.23
Cluster address modeexternal-lb or vip
App VIP10.0.0.40
Cluster address (API VIP or in-cluster VIP)10.0.0.41
Web, API and files recordsodin.example.internal
DNS serversIPv4
NTP serversIPv4
Time zoneRegion/City
OS repository URL
Odin service accountodinadmin
Backup scheduleDaily or hourly
Off-site copy targetNFS export or S3 bucket
SMTP relayHost and port

11.Readiness sign-off

Ticked by the owner of each item before the change window opens.

Table 21. Readiness sign-off
ItemSectionOwnerConfirmed
Three identical servers at the agreed tier2.2Infrastructure
Dedicated containerd, etcd, data and backup disks; fsync p99 10 ms or lower2.3Infrastructure
Separate hosts or racks; latency below 5 ms2.4Infrastructure
Same OS release on all servers; packages installed, including container-selinux on RHEL3.1, 3.2Infrastructure
Swap disabled; cgroup v2 active; NTP synchronised; time zone set; host names and machine-ids unique3.3Infrastructure
br_netfilter loaded; bridge-nf-call and ip_forward set; inotify limits raised3.4Infrastructure
Pod and service CIDRs do not overlap any customer network4.2Network
Firewall rules 1 to 10 in place; port test passed4.3, 4.5Network
Virtual servers, pools, monitors and SNAT configured, or in-cluster VIP address reserved5Network
Three DNS records resolving to the App VIP6Network
Certificate and key issued and placed on every server7Security
Service account, SSH keys and jump host access in place8Security
Backup disks mounted; off-site target agreed9Infrastructure
Site information returned10Project lead
Table 22. Sign-off
RoleNameDateSignature
Customer infrastructure
Customer network
Customer security
Odin deployment lead