0.Status of this document
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.
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.
| Value | |
|---|---|
| Topology | Three identical servers, each running a kubeadm-built Kubernetes control plane with stacked etcd, the Odin application and the data services |
| Kubernetes | v1.35.6, built with kubeadm and delivered inside the Odin release package |
| Container runtime | containerd, delivered and managed by Odin as odin-containerd.service. It shares no socket and no data root with a runtime you already run |
| 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 on every server |
| Shared storage | None required. Data and backups are held on local SSD or NVMe. Customer S3-compatible storage is optional and recommended for off-site copies |
| User access | HTTPS through the customer load balancer |
| Fault tolerance | One server. The loss of two of three servers stops the service: the etcd quorum is 2 of 3 |
2.Server resources
2.1Layouts
| Layout | Servers | Cluster address | Survives | Status |
|---|---|---|---|---|
| Single machine | 1 | the server address | Nothing. The machine is a single point of failure; recovery is a restore from backup. | In scope |
| HA, in-cluster VIP | 3 | a free IPv4 address claimed by kube-vip | The loss of 1 server: etcd keeps 2 of 3 members. | In scope |
| HA, external load balancer | 3 | an API VIP on your L4 load balancer | The loss of 1 server: etcd keeps 2 of 3 members. | In scope |
| HA, 5 servers or separate workers | 5+ | as above | Not 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
| Item | Single machine | HA server |
|---|---|---|
| CPU and RAM | Provisional minimum 16 vCPU and 64 GB | 16 vCPU and 64 GB (Standard); 32 vCPU and 128 GB (Large) |
| Free disk | Provisional minimum 1 TB data disk | 1 TB NVMe / SSD data disk, plus a 1 TB backup disk |
| Disk type | SSD or NVMe | Local SSD or NVMe, fsync p99 under 10 ms (required) |
| OS disk | 100 GB | 100 GB |
| Count | 1 | 3 |
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
| Mount point | Requirement | Contents |
|---|---|---|
/ | 100 GB | Operating system, logs, the Odin installer, and the kubeadm and kubelet binaries |
/var/lib/odin/containerd | Dedicated disk or LV on local SSD or NVMe; fsync p99 under 10 ms | containerd data root: images, container layers, pod ephemeral storage |
/var/lib/etcd | Dedicated disk or LV on local SSD or NVMe; fsync p99 under 10 ms | etcd data for the stacked control plane |
/etc/kubernetes | 5 GB on the OS disk | kubeadm configuration, cluster PKI (CA, service-account keys, front-proxy), kubeconfigs |
/var/lib/odin/local-path | Dedicated disk or LV at least as large as the data disk | Persistent volumes for PostgreSQL, Redis and MinIO |
/var/lib/odin-backups | Dedicated disk or LV at least as large as the data disk | Odin backup sets and archives |
/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
| Item | Requirement |
|---|---|
| Site | All three servers in one data centre; round-trip latency below 5 ms between servers |
| Fault domains | Each server on a separate hypervisor host or rack (anti-affinity rule) |
| Architecture | x86_64 |
| Layer 2 adjacency | Required 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
| Operating system | Release | Security baseline |
|---|---|---|
| Red Hat Enterprise Linux | 8.10, 9.4 or later 9.x | SELinux Enforcing; firewalld enabled |
| Ubuntu Server LTS | 22.04, 24.04 | AppArmor 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:
| 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 |
| Kubernetes prerequisites | conntrack-tools socat iptables iproute-tc | conntrack socat iptables iproute2 |
| SELinux policy for containers | container-selinux | not applicable |
kubeadm, 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
| Setting | Requirement |
|---|---|
| Swap | Disabled, including /etc/fstab |
| cgroup | cgroup v2. On RHEL 8 the host check enables it and one reboot follows. A server on cgroup v1 is refused, not warned |
| Time | NTP synchronised to your time source; skew below 500 ms between servers; identical time zone |
| Routing | IPv4 default route present on every server |
| Host names | Unique per server and resolvable on every server |
| Machine identity | A unique /etc/machine-id per server; cloned virtual machines must be regenerated before installation |
| Host firewall | RHEL: 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.
| Setting | Value | Why |
|---|---|---|
br_netfilter | module loaded at boot | bridged pod traffic must traverse iptables |
net.bridge.bridge-nf-call-iptables | 1 | service routing for bridged traffic |
net.bridge.bridge-nf-call-ip6tables | 1 | the same, for IPv6 rules |
net.ipv4.ip_forward | 1 | pod-to-pod and pod-to-service forwarding |
fs.inotify.max_user_instances | 8192 | many pods each hold inotify instances; the default exhausts under load |
fs.inotify.max_user_watches | 524288 | the same, for watches |
| Underlay MTU | 1500 | the VXLAN overlay runs at 1450 |
4.Network
4.1Network topology
User network
Admin network
Customer core services
Load balancer tier (L4)
TCP 80 → HTTPS redirect · SNAT automap
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)
:10250 · :10257 · :10259
Server 210.0.0.22 (example)
:10250 · :10257 · :10259
Server 310.0.0.23 (example)
: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.
4.2Network requirements
| Item | Requirement |
|---|---|
| Server network | One dedicated server VLAN for the three Odin servers |
| Addressing | Static IPv4 per server; two IPv4 addresses that are not server addresses (the App VIP and the cluster address) |
| MTU | 1500 end to end between servers; the pod network overlay runs at 1450 |
| Traffic inspection | No proxy, IPS, SSL inspection or NAT between the three servers |
| Internet | Denied in both directions |
| Pod and service CIDRs | 10.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 |
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.
| # | Source | Destination | Protocol and port | Purpose |
|---|---|---|---|---|
| 1 | Customer user networks | App VIP | TCP 443 | Odin web, API and file access (HTTPS) |
| 2 | Customer user networks | App VIP | TCP 80 | Redirect to HTTPS, answered by the load balancer |
| 3 | Load balancer SNAT addresses | Servers 1, 2, 3 | TCP 80, 443, 6443 | Pool traffic and health monitors |
| 4 | Servers 1, 2, 3 | Cluster address | TCP 6443 | Kubernetes API through the cluster address |
| 5 | Servers 1, 2, 3 | Servers 1, 2, 3 | TCP 22, 6443, 2379, 2380, 10250, 10257, 10259 | Installer SSH, Kubernetes API, etcd, kubelet, controller-manager, scheduler |
| 6 | Servers 1, 2, 3 | Servers 1, 2, 3 | UDP 8472 | Pod network (VXLAN) |
| 7 | Customer admin jump host | Servers 1, 2, 3 | TCP 22 | Administration and file transfer |
| 8 | Servers 1, 2, 3 | Customer DNS servers | TCP, UDP 53 | Name resolution |
| 9 | Servers 1, 2, 3 | Customer NTP servers | UDP 123 | Time synchronisation |
| 10 | Servers 1, 2, 3 | Customer OS repository | TCP 443 | Operating 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
| Port | Restriction |
|---|---|
| TCP 6443 | Reachable from the three servers and the load balancer only; denied from user networks |
| TCP 2379, 2380, 10250, 10257, 10259 | Server VLAN only; never published through the load balancer |
| UDP 8472 | Server VLAN only; never published through the load balancer |
| TCP 80, 443 | Reached through the App VIP only; direct access to a server address is denied |
| TCP 22 | From 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
| Mode | How the address is provided | What you provide |
|---|---|---|
| External load balancer | Your L4 load balancer, as in Table 14 | An API VIP with a TCP 6443 pool and SNAT enabled. No layer 2 adjacency needed |
| In-cluster VIP | kube-vip runs as a static pod on all three servers and claims the address by ARP on the server VLAN | A 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 |
5.2Virtual servers
| Virtual server | Pool | Health monitor | Settings |
|---|---|---|---|
| App VIP : 443 | Servers 1, 2, 3 on TCP 443 | TCP connect on 443; interval 5 s, timeout 16 s | L4, round robin, idle timeout 300 s |
| App VIP : 80 | None | None | HTTP 301 redirect to HTTPS |
| API VIP : 6443 | Servers 1, 2, 3 on TCP 6443 | HTTPS GET /ping, response pong; interval 5 s, timeout 16 s | L4, round robin, idle timeout 3600 s. External load balancer mode only |
5.3Required behaviour
| Requirement | Reason |
|---|---|
| L4 TCP pass-through | TLS 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 installation | A VIP with an empty pool accepts connections and returns no data |
| No persistence | Odin holds no session state on individual servers |
| Cluster address as a static IPv4 address | The address is written into the Kubernetes API certificate at installation and cannot be changed without rebuilding the cluster |
| Cluster address on the server network | Not 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:
| Record | Example | Purpose |
|---|---|---|
| Web | odin.example.internal | Odin web application |
| API | api.odin.example.internal | Odin API |
| Files | files.odin.example.internal | Odin file storage |
The three servers resolve all three records through your DNS servers.
7.TLS certificate
| Item | Requirement |
|---|---|
| Subject alternative names | The three DNS records in section 6 |
| Issuer | Your enterprise certificate authority |
| 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 the three servers |
| Renewal | At least 30 days before expiry; Odin monitoring alerts at 60 and 30 days |
| Location | /etc/odin/tls/ on every server |
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
| Item | Requirement |
|---|---|
| Odin service account | One named local account, identical on the three servers, 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 ed25519 key for the service account, accepted only from the three server addresses |
| Administrative entry | Through your admin jump host only (rule 7, section 4.3) |
| File transfer | SFTP through the jump host to server 1 for the release package and patches |
| Installation window | 3 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.
| Tier | Location | What you provide |
|---|---|---|
| Cluster backup | Backup disk on servers 1, 2 and 3 | The backup disk in section 2.3 |
| Off-site copy | Your storage outside the Odin cluster | NFS export (root-writable, nfs-utils or nfs-common) or S3-compatible bucket with credentials |
/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.
| 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 mode | external-lb or vip | |
| App VIP | 10.0.0.40 | |
| Cluster address (API VIP or in-cluster VIP) | 10.0.0.41 | |
| Web, API and files records | odin.example.internal | |
| DNS servers | IPv4 | |
| NTP servers | IPv4 | |
| Time zone | Region/City | |
| OS repository URL | ||
| Odin service account | odinadmin | |
| Backup schedule | Daily or hourly | |
| Off-site copy target | NFS export or S3 bucket | |
| SMTP relay | Host and port |
11.Readiness sign-off
Ticked by the owner of each item before the change window opens.
| Item | Section | Owner | Confirmed |
|---|---|---|---|
| Three identical servers at the agreed tier | 2.2 | Infrastructure | |
| Dedicated containerd, etcd, data and backup disks; fsync p99 10 ms or lower | 2.3 | Infrastructure | |
| Separate hosts or racks; latency below 5 ms | 2.4 | Infrastructure | |
Same OS release on all servers; packages installed, including container-selinux on RHEL | 3.1, 3.2 | Infrastructure | |
| Swap disabled; cgroup v2 active; NTP synchronised; time zone set; host names and machine-ids unique | 3.3 | Infrastructure | |
br_netfilter loaded; bridge-nf-call and ip_forward set; inotify limits raised | 3.4 | Infrastructure | |
| Pod and service CIDRs do not overlap any customer network | 4.2 | Network | |
| Firewall rules 1 to 10 in place; port test passed | 4.3, 4.5 | Network | |
| Virtual servers, pools, monitors and SNAT configured, or in-cluster VIP address reserved | 5 | Network | |
| Three DNS records resolving to the App VIP | 6 | Network | |
| Certificate and key issued and placed on every server | 7 | Security | |
| Service account, SSH keys and jump host access in place | 8 | Security | |
| Backup disks mounted; off-site target agreed | 9 | Infrastructure | |
| Site information returned | 10 | Project lead |
| Role | Name | Date | Signature |
|---|---|---|---|
| Customer infrastructure | |||
| Customer network | |||
| Customer security | |||
| Odin deployment lead |