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-K3S-01 readiness sign-off (section 11) |
| 3 · Configuration | Odin deployment engineer | 30 min | Toolkit, configuration, certificate and package on all servers |
| 4 · Checks | Odin deployment engineer | 15 min | Host and cluster checks with 0 FAIL |
| 5 · Installation | Odin deployment engineer | 40 to 60 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. Phase 5 allows up to an
hour because a first server in HA mode waits for three servers to be Ready.
1.3Entry criteria
Table 3. What must be true before installation starts
| Done | Criterion | Reference |
| Readiness sign-off complete | ODIN-K3S-01 section 11 |
| Site information returned | ODIN-K3S-01 section 10 |
| Pre-installation port test passed | ODIN-K3S-01 section 4.4 |
| Cluster address decided and reachable | ODIN-K3S-01 section 5 |
| Change window approved | ODIN-K3S-01 section 8 |
2.Release package
Table 4. Package contents| File | Content |
|---|
odin-onprem-<version>-<arch>.tar.zst | k3s, 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 |
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.
Signature availabilityThe signing key pair is created once by Odin operations and the public half published alongside the release notes. Until that key is available, tarballs are unsigned and the SHA-256 check is the only one there is; the checksum alone does not prove authorship.
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 k3s 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.
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 --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.1Common failures and their correction
Table 8. Common preflight failures| FAIL | Correction |
|---|
| A required package is missing | Install it from the customer OS repository (ODIN-K3S-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 |
| An S3 bucket is missing or not writable | Create the bucket; check the key's permissions |
| Disk fsync above 10 ms on an HA server | Move /var/lib/rancher 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 |
5.Installation
5.1The first server
sudo ./install.sh --role server --init --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, then starts k3s with embedded etcd and etcd snapshots on.
- Generates the secrets. Only the first server ever does; a join never generates them.
- Applies kube-vip (unless
--external-lb) and waits for the address to answer.
- Writes the cluster's settings and the two join files, and prints the join commands.
- Applies Traefik, 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.
It waits for three serversWith --ha step 6 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 k3s started.
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 k3s 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 --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 9. 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-K3S-01 section 5.1) |
| The address accepts connections but returns nothing | The load balancer pool is empty or all members are down; populate it with the servers |
| k3s does not start on RHEL 8 | cgroup v2 is inactive; reboot after preflight, then re-run |
| 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) |
| The join is refused for a version mismatch | The joining machine has a different bundle or k3s 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 10. 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 |
| 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 |
| Status exit code | install.sh status exits 0 |
6.2Functional acceptance
Table 11. 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 12. Hand-over record| Provided | Value |
|---|
| Odin release | |
| Package location | |
Site configuration (/etc/odin/install.env) | |
| Certificate expiry | |
| Cluster health result | |
| Restore verification result | |
| Open WARN items | |
| Role | Name | Date | Signature |
|---|
| Odin deployment engineer | | | |
| Customer infrastructure | | | |
| Customer application owner | | | |
7.Operations
7.1Scheduled jobs
Table 13. 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 k3s datastore and etcd snapshot |
| k3s etcd snapshots | Every 6 hours; 28 kept per server | Cluster state |
7.2Operational commands
Table 14. 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 | Drain and remove a node, on a server other than the one removed |
./install.sh upgrade [--ha] | Move to a new release, rolling on HA |
./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) |
7.3Incident runbooks
Table 15. 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) |
| Certificate expiry | ./install.sh --tls-cert … --tls-key … |
| Disk capacity | ./install.sh status |
Read the cluster with k3s's own kubectlUse k3s's kubectl with the kubeconfig spelled out, as the installer does: a plain kubectl on the host may be another one reading another config.
k3s kubectl --kubeconfig /etc/rancher/k3s/k3s.yaml get nodes,pods -A -o wide
k3s kubectl --kubeconfig /etc/rancher/k3s/k3s.yaml get events -A --sort-by=.lastTimestamp