0.Status of this document
Design baseline, not yet a released procedureThe kubeadm install path is in implementation. Sections 1 to 4 and 6 to 7 describe the intended procedure and are stable. Section 5 is the target sequence and section 8 states exactly which parts exist today. Do not run this as a live deployment procedure until version 1.0 is issued. For a deployment now, use the k3s guide, ODIN-K3S-03.
The commands below are the installer's own: install.sh, backup.sh and
restore.sh in appliance/. The kubeadm path adds one flag,
--distro k8s, and changes what the installer does behind it, not the interface you
type.
1.Deployment overview
1.1Roles
Table 1. Roles| Role | Responsibility |
| Odin engineering | Release package and the Odin installer |
| Odin deployment engineer | Configuration, checks, installation, acceptance and hand-over |
| Customer infrastructure | Servers, disks, operating system, packages, time synchronisation |
| Customer network | Server VLAN, firewall rules, load balancer, DNS |
| Customer security | Certificate, service account, jump host access |
| Customer application owner | Functional acceptance |
1.2Phases
Table 2. Deployment phases| Phase | Owner | Duration | Exit criterion |
| 1 · Release | Odin engineering | 1 day | Signed release package and checksum delivered |
| 2 · Preparation | Customer | Per customer plan | ODIN-K8S-01 readiness sign-off (section 11) |
| 3 · Configuration | Odin deployment engineer | 30 min | Release package, configuration and certificate on all servers |
| 4 · Checks | Odin deployment engineer | 20 min | Preflight with 0 FAIL on every server |
| 5 · Installation | Odin deployment engineer | 60 to 90 min | Cluster health OK: nodes Ready, PostgreSQL 3 of 3 |
| 6 · Acceptance | Odin and customer | 30 min | Backup replicated, restore verified, functional tests passed |
Each phase closes on its exit criterion before the next begins. Installation is longer than
the k3s deployment because the control plane is built node by node with kubeadm and
the images are imported into containerd on each server.
1.3Entry criteria
Table 3. What must be true before installation starts| Done | Criterion | Reference |
| Readiness sign-off complete | ODIN-K8S-01 section 11 |
| Site information returned, including the cluster address mode | ODIN-K8S-01 section 10 |
| Pre-installation port test passed | ODIN-K8S-01 section 4.5 |
| Pod and service CIDRs confirmed not to overlap any customer network | ODIN-K8S-01 section 4.2 |
| Cluster address decided and reachable | ODIN-K8S-01 section 5 |
| Change window approved | ODIN-K8S-01 section 8 |
2.Release package
Table 4. Package contents| File | Content |
odin-onprem-<version>-<arch>.tar.zst | Kubernetes binaries, containerd, the CNI plugins, every container image, the SELinux policy, the installer, the chart and the offline tooling |
…tar.zst.sha256 | SHA-256 checksum |
…tar.zst.sig | Signature over the tarball |
…MANIFEST.txt | What the release contains, including the distribution it was built for |
odin-onprem-cosign.pub | The public key that verifies the signature, published separately from the tarball |
Carry the files into the customer's network however its air-gap policy requires, and verify
them before extracting:
# 1. Is the download whole?
sha256sum -c odin-onprem-<version>-<arch>.tar.zst.sha256
# 2. Is it Odin's? (with cosign, needs the network)
cosign verify-blob --key odin-onprem-cosign.pub \
--signature odin-onprem-<version>-<arch>.tar.zst.sig \
odin-onprem-<version>-<arch>.tar.zst
# 2, inside the air gap: the same key check with OpenSSL, no network
base64 -d odin-onprem-<version>-<arch>.tar.zst.sig > odin-onprem.sig.der
openssl dgst -sha256 -verify odin-onprem-cosign.pub \
-signature odin-onprem.sig.der odin-onprem-<version>-<arch>.tar.zst
# 3. Extract, as root
tar --zstd -xf odin-onprem-<version>-<arch>.tar.zst
cd odin-onprem-<version>-<arch>
Table 5. What each check proves| Check | What it proves |
| SHA-256 | The file arrived intact. Nothing more: the checksum could have travelled with the tarball, so get it by a different route where you can |
| Signature | Odin signed it — but only against a copy of odin-onprem-cosign.pub obtained out of band, not from wherever the tarball came from |
| Installer's own check | install.sh verifies every file in the bundle's SHA256SUMS before it changes the host, and stops if one is missing or altered. It cannot check the signature: it ships inside the tarball |
No --zstd in your tar?RHEL 8 and its rebuilds ship tar 1.30, which has no --zstd. Use zstd -dc odin-onprem-<version>-<arch>.tar.zst | tar -xf - instead.
The package is built for one distributionThe manifest records the distribution the package was built for. The installer refuses a package whose manifest does not match the requested --distro, so a k3s package cannot be installed on a kubeadm target by accident, or the reverse.
Every machine runs the same releaseIn a cluster, copy and verify the same tarball on every machine. A joining machine aborts before it changes anything when its bundle or Kubernetes version differs from the cluster's. A cluster is moved to a new release with upgrade --ha, never by a plain re-run from another bundle.
3.Configuration
All steps run as root (sudo -i) on server 1, which operates the other servers
over SSH.
3.1Before you configure
- Hardware and operating system meet ODIN-K8S-01 sections 2 and 3, on every machine.
- The names, certificate and DNS in ODIN-K8S-01 sections 6 and 7 are ready.
- Backups have a destination off the machine they protect (ODIN-K8S-01 section 9).
- If you use your own S3, the buckets exist and the keys can write to them. The installer never creates a bucket on customer S3.
- Clocks are synchronised on every machine. etcd and TLS depend on it.
3.2Certificate placement
Place the certificate where the installer can read it. It is stored in the cluster's settings
Secret, so it only has to be given to the install, not copied to each node by hand:
install -d -m 0700 /etc/odin/tls
install -m 0644 fullchain.pem /etc/odin/tls/fullchain.pem
install -m 0600 privkey.pem /etc/odin/tls/privkey.pem
3.3Flags
The installer takes its configuration as flags. install.sh help lists every one
with its default; the table below is the set a standard HA deployment uses, with the flags that
matter on kubeadm marked.
Table 6. Flags for a standard HA deployment| Flag | Purpose |
--distro k8s | Build a standard kubeadm cluster instead of the appliance's own k3s. --k8s is a shorthand. Fixed once the install is saved |
--role server|worker | What this machine is |
--init | This server starts the cluster |
--join <address> | Join an existing cluster at the cluster address |
--token-file <path> | The join file the first server wrote |
--ha | Stacked etcd, HA data plane, three or five servers |
--vip <ipv4> | The cluster address: the kube-vip address, or the load balancer's. Becomes --control-plane-endpoint |
--external-lb | You provide the load balancer; kube-vip is not applied |
--domain <name> | The web host name; also derives the API and files names |
--api-domain, --files-domain | Override the derived API and files names |
--tls-cert, --tls-key | The certificate and key covering all three names |
--s3-endpoint, --s3-creds | The customer's S3 for files |
--s3-bucket-prefix | Prefix for the fourteen bucket names where they are not yours to take |
--backup-dest | A directory, an NFS mount, or s3://bucket/prefix |
--backup-s3-creds, --backup-s3-region | Credentials and region for an s3:// backup destination |
--backup-schedule | daily (default) or hourly |
--monitoring | Install the monitoring profile |
--tolerate <n> | On five servers, 2 raises the data plane to survive two losses |
--smtp-creds | Credentials file for the outbound mail relay |
What --distro k8s changesThe interface you type is the same. Behind it the installer installs containerd as odin-containerd.service with its own socket and data root, imports the images into it, runs kubeadm init and kubeadm join instead of starting k3s, and applies the add-ons k3s would otherwise provide: a local-path provisioner, a Traefik DaemonSet and kube-router for NetworkPolicy.
4.Pre-installation checks
Run preflight on every machine, with the flags you will install with, and fix
every FAIL. A FAIL stops the install before anything is changed.
sudo ./install.sh preflight --distro k8s --domain odin.corp.example
Table 7. Reading the checks| Result | Action |
| PASS | None |
| WARN | Recorded in the hand-over record; decide whether to accept it |
| FAIL | Correct it, then run the check again. Installation cannot proceed |
4.1What kubeadm adds to the check
Table 8. kubeadm-specific checks| Check | Requirement |
| cgroup version | cgroup v2 must be active. A server on cgroup v1 is refused, not warned about; the check switches it and one reboot follows |
| Kernel modules and sysctls | br_netfilter loaded; bridge-nf-call-iptables, bridge-nf-call-ip6tables and ip_forward set (ODIN-K8S-01 section 3.4) |
| Disk capacity | Checked before kubeadm init, not after, so a short disk does not leave a half-built control plane |
| containerd | odin-containerd.service running and reachable at its own socket |
| Node address | The interface and address that will be passed as --node-ip and --apiserver-advertise-address, resolved explicitly on multi-homed servers |
| Distribution | The package's manifest matches --distro k8s |
4.2Common failures and their correction
Table 9. Common preflight failures| FAIL | Correction |
| A required package is missing | Install it from the customer OS repository (ODIN-K8S-01 section 3.2) |
| CPU, memory or disk below the minimum | Resize the server to the agreed tier |
| Clock not synchronised, or skew above 0.5 s | Align the NTP source on all servers |
| Duplicate host name | Assign a unique host name |
| cgroup v1 active | Let the check switch it, then reboot and run preflight again |
| Disk fsync above 10 ms on an HA server | Move /var/lib/odin/containerd and /var/lib/etcd to local SSD or NVMe |
| A required port is in use | Stop the conflicting service, or correct the firewall rules |
| Host name does not resolve | Correct the record in the customer DNS |
| An S3 bucket is missing or not writable | Create the bucket; check the key's permissions |
5.Installation
5.1The first server
sudo ./install.sh --role server --init --distro k8s --vip 10.0.0.50 --ha \
--domain odin.corp.example \
--tls-cert /etc/odin/tls/fullchain.pem --tls-key /etc/odin/tls/privkey.pem \
--s3-endpoint https://s3.corp.example --s3-creds /root/odin-s3.env \
--backup-dest s3://odin-backups/site-a --backup-s3-creds /root/backup-s3.env
What the first server does, in order:
- Preflight, with the disk rule enforced for an etcd server.
- Saves its settings, installs containerd as
odin-containerd.service and imports every image into it.
- Generates the secrets. Only the first server ever does; a join never generates them.
- Runs
kubeadm init with the cluster address as --control-plane-endpoint, the Odin CRI socket, the node IP, the advertise address and the pod and service CIDRs.
- Applies kube-vip (unless
--external-lb) and waits for the address to answer.
- Applies flannel, CoreDNS and kube-proxy, and waits for the node to be Ready.
- Writes the cluster's settings and the two join files, and prints the join commands.
- Applies helm-controller, Traefik, the local-path provisioner and kube-router, then the CloudNativePG operator, then — once three servers are Ready — the PostgreSQL cluster and pooler, then Odin and its migrate job.
- Schedules backups, sets up monitoring if asked for, and prints the URL.
Every join goes through the control-plane endpointkubeadm init and every join use the cluster address, never a node address. A cluster initialised against server 1's own address dies with server 1 and cannot be repaired without rebuilding it.
It waits for three serversWith --ha step 8 blocks, for up to an hour, until three servers are Ready. It prints the join commands first so you can run them meanwhile. If the wait runs out, a bare sudo ./install.sh on the first server continues it: its role and settings were saved before the control plane was built.
5.2Joining more servers
Join servers one at a time and wait for each node to show Ready before the next, until you
have three (or five). The first server wrote /etc/odin/cluster/join-server.env and
join-worker.env. Copy the server one to the joining machine over a channel you trust,
and delete it afterwards.
sudo ./install.sh --role server --join 10.0.0.50 --token-file /root/join-server.env
The address is the cluster address. A joining server never generates secrets and never applies
the cluster's manifests. Before it changes anything it checks that its bundle is the cluster's
release and Kubernetes version and that the API address answers. A server that stopped part-way
is continued with a bare sudo ./install.sh.
5.3Workers
Any number, added whenever capacity is needed. A worker receives the agent token, which can
only join a worker, in the worker join file.
sudo ./install.sh --role worker --join 10.0.0.50 --token-file /root/join-worker.env
A worker holds no settings, no kubeconfig and no backup timers; status on it
reports its service and says to run status on a server.
5.4Your own load balancer
sudo ./install.sh --role server --init --distro k8s --vip 10.0.0.50 --external-lb --ha
Nothing of kube-vip is applied; the load balancer fronts TCP 6443 on every server, and its
address goes into the servers' certificate names as a VIP would. With --domain, the
load balancer for the application targets 443 or the NodePort 30443 on every node.
5.5Check the result
sudo ./install.sh status
status exits 0 when everything is healthy and 1 when not. On an HA cluster, expect
three nodes Ready, three etcd members, a PostgreSQL primary and two standbys with both pooler pods
ready, a Redis master and two replicas, no configuration drift between the servers, and a recent
off-box backup.
5.6Fault resolution
Table 10. Fault resolution| Symptom | Cause and correction |
| Server 2 or 3 does not join | The cluster address does not answer, or the load balancer's SNAT is off (ODIN-K8S-01 section 5.3). A join that used a node address instead of the endpoint fails the same way |
| The address accepts connections but returns nothing | The load balancer pool is empty or all members are down; populate it with the servers |
kubeadm init refuses to start | cgroup v1 active, swap on, or br_netfilter not loaded; run preflight, reboot if it switched cgroup, and re-run |
Pods stuck in ImagePullBackOff | Images not imported on that server, or ctr addressed the wrong containerd socket; re-import against the Odin socket |
Node NotReady after join | Wrong --node-ip on a multi-homed server; correct the kubelet configuration and restart kubelet |
| Pods fail name resolution | The customer DNS servers are unreachable; correct the resolver configuration |
| etcd or certificate validity errors | Clock skew between servers; correct NTP |
| Pods unreachable across servers | UDP 8472 blocked (firewall rule 6) |
odin-ml never becomes Ready | kube-router dropping kubelet probes; confirm networkPolicy.allowNodeProbes is enabled |
| The join is refused for a version mismatch | The joining machine has a different bundle or Kubernetes version than the cluster; use the same release |
6.Acceptance
6.1Technical acceptance
sudo ./install.sh status
sudo systemctl start odin-backup.service
sudo ./backup.sh --dest <destination> # or wait for the timer
Table 11. Technical acceptance| Check | Expected result |
| Cluster health | OK; every server Ready; PostgreSQL 3 of 3; every workload Ready |
| First backup | A complete backup set on the configured destination, including the cluster PKI and the etcd snapshot |
| Restore drill | A set restored per the agreed plan. restore.sh is destructive and asks first, so the drill runs on a non-production install or in an agreed window |
| Load balancer | Every server considered up in both pools |
| Web record from a user network | https://<web record>/ returns HTTP 200 |
| Single-server loss | Service continues; the lost server rejoins on return |
| Status exit code | install.sh status exits 0 |
6.2Functional acceptance
Table 12. Functional acceptance| Test | Expected result |
| Open the web record | Trusted certificate; the Odin sign-in page with the customer theme |
| Sign in | Home page loads |
| Upload a document | Upload completes; the document is processed |
| Preview and download | The document is served from the files record |
| Query the document | Relevant results are returned |
6.3Hand-over
Table 13. Hand-over record| Provided | Value |
| Odin release | Package location |
| Site configuration | /etc/odin/install.env |
| Certificate expiry | Date and renewal owner |
| Cluster health result | Output of install.sh status |
| Restore verification result | Output of the restore drill |
| Open WARN items | Each with an owner and a date |
Table 14. Sign-off| Role | Name | Date | Signature |
| Odin deployment engineer | | | |
| Customer infrastructure | | | |
| Customer application owner | | | |
7.Operations
7.1Scheduled jobs
Table 15. Scheduled jobs| Job | Schedule | Function |
odin-backup.timer | Daily 00:00, or hourly | Database, files and secrets backup |
odin-backup-datastore.timer | Daily | Backup with the cluster datastore: /etc/kubernetes/pki, the kubeconfigs, /var/lib/etcd and an etcd snapshot |
| etcd snapshots | Every 6 hours; 28 kept per server | Cluster state |
The datastore set is what makes a rebuild possiblek3s keeps everything a rebuild needs in one token and one directory. kubeadm does not: a rebuilt cluster needs the CA and service-account keys from /etc/kubernetes/pki or it cannot re-admit existing nodes or decrypt existing service-account tokens. A restore that omits them is not a restore.
7.2Operational commands
Table 16. Operational commands| Command | Function |
./install.sh status | Cluster health report; exits 1 when unhealthy |
./install.sh scale <name>=<count> | Change the number of copies of a workload |
./install.sh remove-node <name> | Drain and remove a node, on a server other than the one removed |
./install.sh upgrade [--ha] | Move to a new release: the control plane one node at a time, then a Helm upgrade |
./install.sh --tls-cert … --tls-key … | Renew the certificate across the cluster |
./install.sh --monitoring | Enable the monitoring profile |
./install.sh help | Every flag, its default, and the S3 bucket list |
./backup.sh --dest <path> | Take a backup now |
./restore.sh --from <set> | Restore a set into the running install (destructive; asks first) |
./restore.sh --etcd-snapshot <file> --token-file <file> | Restore cluster state on a rebuilt control plane |
./restore.sh --extract-secrets | First step on a replacement machine |
7.3Incident runbooks
Table 17. Incident runbooks| Situation | First command |
| Health check reports a problem | ./install.sh status |
| A server is unavailable | ./install.sh status, then the Kubernetes view |
| A server is permanently lost | ./install.sh remove-node, then join a replacement |
| An upgrade failed | Read the helm job's log; the release is left in place for an operator |
| A backup failed or is missing | ./backup.sh --dest <path>, then check the destination |
| Data corruption or deletion | ./restore.sh --from <set> (destructive; asks first) |
| Site loss | Rebuild the control plane, then ./restore.sh --etcd-snapshot and --from <set> |
| Certificate expiry | ./install.sh --tls-cert … --tls-key … |
| Disk capacity | ./install.sh status |
7.4Reading the cluster
Use the cluster's own kubeconfig, spelled out, as the installer does: a plain
kubectl on the host may be another one reading another config.
kubectl --kubeconfig /etc/kubernetes/admin.conf get nodes,pods -A -o wide
kubectl --kubeconfig /etc/kubernetes/admin.conf get events -A --sort-by=.lastTimestamp
8.Implementation status
This section exists so that nobody mistakes a design baseline for a released procedure. It is
removed when version 1.0 is issued.
Table 18. Implementation status| Area | Status | Detail |
| Chart portability | Done | Storage class, ingress class, image registry and Pod Security Standards are configurable; renders are byte-identical when the new knobs are unset |
--distro flag | Done | k3s, k8s and existing accepted, validated and persisted; a changed value on a re-run is refused |
| kubeadm cluster build | Planned | kubeadm init and join, containerd, flannel, kube-vip, Traefik DaemonSet, local-path, helm-controller, kube-router |
| Image import | Planned | Per-server import into the Odin containerd, addressed by the Odin socket |
| Installer on kubeadm | Planned | preflight, status, upgrade, remove-node, backup.sh and restore.sh adapted to kubeadm paths and commands |
| Cluster PKI in the datastore set | Planned | /etc/kubernetes/pki, the kubeconfigs and /var/lib/etcd added to odin-backup-datastore.timer |
Version floor for existing | Partial | The chart's API floor is 1.21; the preflight check and the supported-version policy are not yet implemented |
| End-to-end validation | Planned | Single-node, HA with in-cluster VIP, HA with external load balancer, failover, backup and restore |
What can be done todaySite preparation against ODIN-K8S-01 — servers, disks, operating system, network, firewall, load balancer, DNS and certificates — is unaffected by the implementation status and can start now. The deployment itself should use the k3s guide until this document reaches version 1.0.