1.Deployment summary
Odin runs on two to five servers in the customer data centre. Every server runs the
Kubernetes control plane and application workloads; in a three-server deployment the
service continues with any one server unavailable.
Table 1. Deployment summary | Value |
|---|
| Topology | Three or five identical servers, each running k3s with embedded etcd, the Odin application and the data services. A single-machine deployment is also supported. |
| Kubernetes | k3s v1.35.6+k3s1, delivered inside the Odin release package |
| Internet access | None required. The install is offline end to end; inbound and outbound internet access may be denied. |
| Container registry | None. Every image is delivered in the release package and imported from it. |
| Shared storage | None required. Data is held on local SSD or NVMe. Customer S3-compatible storage is optional and recommended for files and backups. |
| User access | HTTPS through the customer load balancer, or directly through the kube-vip address |
| Fault tolerance | One server. The loss of two of three servers stops the service: the etcd quorum is 2 of 3. |
Sizing is provisionalCPU, memory and disk figures in section 2 are provisional minimums from the installer's own checks, not the output of a load test. Treat them as a floor to design against and confirm the tier with Odin engineering.
2.Server resources
2.1Layouts
Table 2. Supported layouts| Layout | Servers | Workers | Survives | Status |
|---|
| Single machine | 1 | none | Nothing. The machine is a single point of failure; recovery is a restore from backup. | Supported |
| HA, 3 servers | 3 | 0 to N | The loss of 1 server: etcd keeps 2 of 3 members. | Supported |
| HA, 5 servers | 5 | 0 to N | etcd keeps 3 of 5 by default. With --tolerate 2, the loss of any 2 at once across etcd, Postgres, Redis and MinIO. | Design target |
A server runs the Kubernetes control plane and, in k3s, also runs
application pods. A worker runs application pods only, so workers add
capacity, not resilience: only servers hold etcd. Use an odd number of 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.
2.2Sizing
Table 3. Sizing guidance| Item | Single machine | HA server | Worker |
|---|
| CPU and RAM | Provisional minimum 4 CPUs and 14 GiB | To be decided with Odin engineering | To be decided |
| Free disk | Provisional minimum 50 GiB | To be decided; images are several GB twice over (tarball and containerd) | To be decided |
| Disk type | SSD or NVMe | Local SSD or NVMe, fsync p99 under 10 ms (required) | SSD |
| Separate data disk | Recommended | Recommended (etcd and Postgres) | Optional |
| Count | 1 | 3 or 5 | 0 to N |
Two rules matter more than the numbers:
- Size every server as if one of the others were gone (N-1). The
overlay pins one API pod per node and each requests 9000Mi, so when a node is lost its
pod stays Pending until the node returns and the survivors must carry the load.
- Disk latency is enforced, not advised.
preflight times
synchronous writes in k3s's data directory. Over 10 ms is a WARN on a single machine and
a FAIL on an HA server, because etcd on a slow disk loses its leader.
2.3Disk layout
Table 4. Disk layout| Mount point | Requirement | Contents |
|---|
/ | Operating system and the Odin release package | OS, logs, installer |
/var/lib/rancher | Dedicated disk or LV on local NVMe or SSD; fsync p99 10 ms or lower | k3s, etcd, container images, database, uploaded files |
| Backup destination | Off the machine it protects: another disk, an NFS mount, or s3:// | Scheduled backup sets, plus the daily datastore set with the etcd snapshot |
2.4Placement
Table 5. Placement | Requirement |
|---|
| Site | All servers in one data centre. Odin does not support stretched clusters. |
| Latency | Under 5 ms round trip between servers |
| Fault domains | Each server on a separate hypervisor host or rack where possible |
| Architecture | x86_64 (AMD64); ARM64 builds exist, confirm with Odin engineering |
3.Operating system
3.1Supported releases
Table 6. Supported operating systems| Operating system | Release | Security baseline |
|---|
| Ubuntu Server LTS | 22.04, 24.04 | AppArmor enabled; ufw enabled with the rules in section 4.3 |
| Red Hat Enterprise Linux, or a compatible distribution | 8.10, 9.4 or later 9.x | SELinux Enforcing; firewalld enabled |
All servers run the same operating system and release, installed as a minimal server,
with cgroups v2. On RHEL 8 the installer enables cgroup v2 and one reboot follows.
3.2Packages
The release package delivers k3s, every container image and the SELinux policy
packages. Docker, Podman, Helm and a container registry are not installed. The following
come from the customer OS repository:
Table 7. Packages from the OS repository| Purpose | Red Hat Enterprise Linux | Ubuntu Server LTS |
|---|
| Base tools | tar gzip coreutils openssl curl gawk sed glibc-common util-linux openssh-clients iproute | tar gzip coreutils openssl curl gawk sed libc-bin util-linux openssh-client iproute2 |
| Time synchronisation | chrony | chrony |
| Package extraction | zstd | zstd |
| Network verification | nmap-ncat | netcat-openbsd |
| Disk latency check (optional) | fio | fio |
3.3Host configuration
Table 8. Host configuration| Setting | Requirement |
|---|
| Swap | Disabled, including in /etc/fstab |
| cgroups | cgroup v2. On RHEL 8 the installer enables it; one reboot follows. |
| Time | NTP synchronised to the customer time source; skew below 0.5 s between servers; identical time zone |
| Routing | IPv4 default route present on every server |
| Host names | Unique per server and resolvable from every server |
| Host firewall | RHEL: firewalld enabled, ports opened by the Odin installer. Ubuntu: ufw enabled, rules in section 4.3 applied by the customer |
preflight stops the install on theseA missing package the install needs, an unsynchronised clock with no time service running to fix it, a server below the minimum CPU or memory, a duplicate host name, or an HA server whose disk exceeds 10 ms fsync are all FAILs. A FAIL stops the install; nothing is changed until it is corrected and preflight passes.
4.Network
4.1Ports
Table 9. Ports| Port | Protocol | Between | Purpose | When |
|---|
| 6443 | TCP | nodes and servers; admins to the cluster address | Kubernetes API, node joins, image sharing | always |
| 2379 to 2380 | TCP | server to server | etcd client and peer | HA |
| 2381 | TCP | nodes to servers | etcd metrics, for the monitoring agent | HA with monitoring |
| 8472 | UDP | all nodes | Flannel VXLAN, the pod network | multi-server |
| 10250 | TCP | all nodes | kubelet and metrics | always; between nodes in multi-server |
| 5001 | TCP | all nodes | Spegel image sharing | multi-server |
| 51820, 51821 | UDP | all nodes | Flannel WireGuard | only if enabled |
| 80, 443 | TCP | load balancer or users to nodes | Ingress | with --domain |
| 30080, 30443 | TCP | load balancer to nodes | Ingress NodePorts | if the load balancer targets NodePorts |
| 30801 | TCP | callers to the machine | Odin's API NodePort | always |
| your S3's port | TCP | nodes to S3 | files, backups, etcd snapshots | with customer S3 |
| (ARP) | ARP | same layer-2 segment | kube-vip address failover | with kube-vip |
4.2Firewall rules
The rules below are the complete set. Traffic not listed is denied.
Table 10. Firewall rules| # | Source | Destination | Protocol and port | Purpose |
|---|
| 1 | Customer user networks | Cluster address or load balancer | TCP 443 | Odin web, API and file access |
| 2 | Customer user networks | Load balancer | TCP 80 | Redirect to HTTPS |
| 3 | Load balancer SNAT addresses | Servers 1..N | TCP 443, 6443 | Pool traffic and health monitors |
| 4 | Servers 1..N | Cluster address | TCP 6443 | Kubernetes API through the cluster address |
| 5 | Servers 1..N | Servers 1..N | TCP 22, 6443, 2379, 2380, 5001, 10250 | Installer SSH, Kubernetes API, etcd, image sharing, kubelet |
| 6 | Servers 1..N | Servers 1..N | UDP 8472 | Pod network (VXLAN) |
| 7 | Customer admin jump host | Servers 1..N | TCP 22 | Administration and file transfer |
| 8 | Servers 1..N | Customer DNS servers | TCP and UDP 53 | Name resolution |
| 9 | Servers 1..N | Customer NTP servers | UDP 123 | Time synchronisation |
| 10 | Servers 1..N | Customer OS repository | TCP 443 | Operating system patching |
4.3Restricted ports
Table 11. Restricted ports| Port | Restriction |
|---|
| TCP 6443 | Reachable from the servers and the load balancer only; denied from user networks |
| TCP 2379, 2380, 5001, 10250; UDP 8472 | Server VLAN only; never published through the load balancer |
| TCP 30801 | Internal service port; never published through the load balancer or the firewall |
| TCP 22 | From the customer admin jump host and between the servers only |
4.4Pre-installation port test
Before installation, prove the firewall with temporary listeners. On every server, open
the ports the cluster needs:
for p in 6443 10250 2379 2380 5001; do nohup nc -lk $p >/dev/null 2>&1 & done
From every server, against the other servers; every line should report PASS:
for n in <SERVER-1-IP> <SERVER-2-IP> <SERVER-3-IP>; do
for p in 22 6443 10250 2379 2380 5001; 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. On the destination:
nc -u -l 8472
On the source; the destination should print udp-test:
echo udp-test | nc -u -w1 <DESTINATION-IP> 8472
Stop the listeners afterwards:
pkill -f "nc -lk"
What preflight checks itselfOn the machine it runs on, preflight checks that 6443, 10250, 30080, 30443 and 30801 are free (and 80 and 443 with --domain), and on a cluster node the multi-server ports of its role. It does not test reachability between nodes; the joining node checks that the cluster address it was given answers.
5.Cluster address and load balancer
The servers need one address that survives the loss of any single server. There are two
supported ways to provide it, and they are mutually exclusive.
Table 12. Cluster address options| Option | How | When to use it |
|---|
| kube-vip (default) | The installer runs kube-vip and floats a virtual IPv4 address between the servers. ARP moves the address when a server goes down. | The server VLAN is one layer-2 segment and can carry the floating address. |
--external-lb | Nothing of kube-vip is applied. The customer load balancer fronts TCP 6443 on every server and its address goes into the servers' certificate names as a VIP would. | The network cannot carry a floating address, or the customer already runs a load balancer. |
5.1If you provide a load balancer
Table 13. Virtual servers| Virtual server | Pool | Health monitor | Settings |
|---|
| App: 443 | Servers on TCP 443 | TCP connect; interval 5 s, timeout 16 s | L4, round robin, idle timeout 300 s |
| App: 80 | None | None | HTTP 301 redirect to HTTPS |
| API: 6443 | Servers on TCP 6443 | HTTPS GET /ping, expects pong; interval 5 s, timeout 16 s | L4, round robin, idle timeout 3600 s |
Table 14. Load balancer requirements| Requirement | Reason |
|---|
| L4 TCP pass-through | TLS terminates on the Odin servers with the customer 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 address; without SNAT the return path fails and servers cannot join |
| Pools populated before installation | A virtual address with an empty pool accepts connections and returns no data |
| No persistence | Odin holds no session state on individual servers |
| API address is a static IPv4 address | The address is written into the Kubernetes API certificate at installation |
| API address on the server network | Not routed to user networks |
Pool members show as down until installation completes. That is expected.
6.DNS
With --domain odin.corp.example, Odin uses three host names. Create three
records in the customer internal DNS, each resolving to the cluster address or to the load
balancer in front of it:
Table 15. DNS records| Record | Example | Purpose |
|---|
| Web | odin.corp.example | Odin web application |
| API | api.odin.corp.example | Odin API |
| Files | files.odin.corp.example | Odin file storage |
--api-domain and --files-domain change the last two. The routes
match only their own host name, so Odin does not load over a server's bare IP address. All
servers must resolve all three records through the customer DNS servers.
7.TLS certificate
Table 16. Certificate requirements| Item | Requirement |
|---|
| Subject alternative names | The three DNS records in section 6. A wildcard certificate (*.odin.corp.example plus odin.corp.example) is recommended, because the three names then never need a new certificate. |
| Issuer | Customer enterprise CA, or a public CA |
| Key | RSA 2048 bit or larger, unencrypted PEM, file mode 0600 |
| Chain | PEM: server certificate, intermediate certificates, root certificate |
| Trust | The issuing CA trusted by the operating system of every server |
| Renewal | At least 30 days before expiry |
| Location | Supplied with --tls-cert and --tls-key; the installer stores them in the cluster's settings Secret |
A certificate is required for file accessWith the bundled MinIO, the backend and browsers reach storage at https://files.<domain>. File downloads and the in-app document preview need --domain and a certificate, or the customer's own S3. A domain without a certificate does not open file links either.
8.Access control
Table 17. Access control| Item | Requirement |
|---|
| Odin service account | One named local account, identical on every server, with passwordless sudo |
| Authentication | SSH key only; password authentication disabled for the account |
| Root login | Direct root SSH login disabled; elevation through sudo |
| Server-to-server SSH | A dedicated key for the service account, accepted only from the server addresses |
| Administrative entry | Through the customer admin jump host only (rule 7, section 4.2) |
| File transfer | SFTP through the jump host to server 1 for the release package and patches |
| Installation window | Two to three hours, with customer infrastructure and network contacts available |
The join token is a secretThe installer writes a join file for servers and one for workers. The server token in them also decrypts the cluster's stored Secrets. Transfer them over a channel you trust, keep a copy with the backups, and delete the copies on machines that have joined.
9.Backup storage
Backups are configured at installation and run on a schedule. The destination must be
off the machine it protects: another disk, an NFS mount, or an s3://
destination. Give each install a destination of its own.
Table 18. Backup destinations| Tier | Location | Customer provides |
|---|
| Scheduled backup | A directory on another disk or an NFS mount, or an S3-compatible bucket | The destination, writable by the Odin service account |
| Datastore set | The same destination; a daily backup that also carries the etcd snapshot | Room for it alongside the daily sets |
S3 destinationsAn s3:// destination is on the S3 that --s3-endpoint names, the application's own. Without that flag it is on AWS S3, and the installer warns: an air-gapped machine cannot reach AWS, and every scheduled backup would fail. There is no endpoint for backups alone.
If you use your own S3 for files, create the buckets first. The installer never creates a
bucket on customer S3. For the application's files that means fourteen buckets;
sudo ./install.sh help prints the list:
kb-raw-files user-images saml-metadata
usage-reports project-exports project-imports
templates meetings dalle-generated
sandbox-downloads workflow-temp-files workflow-outputs
custom-python-packages global-notification-media
Where those names are not yours to take, give --s3-bucket-prefix odin- and
create every name with the prefix in front. preflight writes and removes a
probe object in each bucket and reports a FAIL, which stops the install, for every bucket
that is missing or that the keys cannot write to.
10.Site information
Completed by the customer and returned to Odin before installation.
Table 19. Site information| Item | Value | Format |
|---|
| Server 1 host name and IPv4 | | odin-01 / 10.0.0.21 |
| Server 2 host name and IPv4 | | odin-02 / 10.0.0.22 |
| Server 3 host name and IPv4 | | odin-03 / 10.0.0.23 |
| Cluster address (kube-vip or load balancer) | | IPv4 |
| Web, API and files records | | odin.corp.example |
| DNS servers | | IPv4 |
| NTP servers | | IPv4 |
| Time zone | | Region/City |
| OS repository URL | | |
| Odin service account | | odinadmin |
| Backup destination | | directory, NFS export, or s3://bucket/prefix |
| Backup schedule | | daily or hourly |
| SMTP relay | | Host and port |
11.Readiness sign-off
Installation starts only when every line below is signed off.
Table 20. Readiness checklist| Done | Item | Section | Owner |
|---|
| Servers at the agreed tier; separate data disks | 2.2, 2.3 | Infrastructure |
| fsync p99 10 ms or lower on HA servers | 2.2 | Infrastructure |
| Separate hosts or racks; latency below 5 ms | 2.4 | Infrastructure |
| Same OS release on all servers; packages installed; swap disabled | 3.1, 3.2, 3.3 | Infrastructure |
| NTP synchronised, skew below 0.5 s; time zone set; host names unique | 3.3 | Infrastructure |
| Firewall rules 1 to 10 in place; port test passed | 4.2, 4.4 | Network |
| Cluster address decided: kube-vip, or load balancer configured | 5 | Network |
| Three DNS records resolving to the cluster address | 6 | Network |
| Certificate covering the three names, issued and trusted | 7 | Security |
| Service account, SSH keys and jump host access in place | 8 | Security |
| Backup destination available and writable | 9 | Infrastructure |
| Site information returned | 10 | Project lead |
| Role | Name | Date | Signature |
|---|
| Customer infrastructure | | | |
| Customer network | | | |
| Customer security | | | |
| Odin deployment lead | | | |