Skip to content

Kubernetes versions and maintenance

Every Kubernetes cluster runs RKE2 at a release pinned per cluster. An upgrade moves one cluster to the release its notice names, in two parts, the control plane first and the workers second. Any member of your organization runs the upgrade from the cluster page or the MCP server at any time before the deadline the notice names. After the deadline the platform runs it.

notice ────────▶ email to every member of your organization and a
    │            banner on the cluster page and the organization
    │            overview; the window opens after 14 days for a minor,
    │            7 days for a patch, 48 hours for a critical CVE
    ▼
your action ───▶ "Upgrade now" or "Schedule" on the cluster page, or
    │            upgrade_write on the MCP server, before the deadline;
    │            at the deadline the platform runs the upgrade
    ▼
control plane ─▶ an etcd snapshot, then one replica at a time
    │            with a health check between replicas
    ▼
workers ───────▶ one node at a time: the agent restarts and one
                 device plugin pod restarts; running pods keep
                 running; no node is cordoned

The release pin

Each cluster is pinned to one RKE2 release. The pin moves only when the cluster is upgraded. Each cluster moves on its own schedule. The platform's current release is v1.36.2+rke2r1 (currently; this page changes when the current release moves). kubectl --context <cluster> get nodes shows the release each node runs in its VERSION column.

Upgrades

A notice opens every upgrade. It names the kind of upgrade, the target release, the day the window opens and the deadline. Nothing upgrades without a notice. One action runs both parts in sequence. The target is the release the notice names. No other release can be chosen. An upgrade cannot be undone. The previous release is not offered again.

The control plane upgrade

The control plane upgrade passes three gates before anything restarts. The target release stays in the cluster's current minor unless the notice is a minor upgrade. The target is never below the release the control plane runs. The target is never below the release any worker runs. After the gates pass, the platform takes an etcd snapshot (etcd backups). It then restarts one control plane replica at a time with a health check between replicas. API server connections reconnect for a few seconds per replica. Pods and traffic are unaffected. A control plane replica restarts only inside an upgrade.

The worker upgrade

The worker upgrade follows the control plane upgrade in the same run. It rolls the RKE2 agent across the cluster's nodes, one node at a time. A skew guard refuses a worker release above the control plane's release. On each node the agent restarts and one device plugin pod restarts. Running pods keep running. No node is cordoned. While the device plugin pod restarts the node's allocatable GPUs read 0, so a new GPU pod does not land on that node until the pod is back.

Notice, window and deadline

A notice goes out when the platform's validated release moves above the cluster's pin: by email to every member of your organization and as a banner on the cluster page and the organization overview. The window opens one notice length after the notice. The deadline is the window open plus the deferral limit. Both lengths depend on the kind of upgrade. The values below are the defaults the platform runs.

Upgrade Notice Deferral limit
minor 14 days 30 days; never more than one minor behind the platform's current release
patch 7 days 14 days
critical CVE 48 hours 7 days

With the defaults a minor upgrade is due 44 days after its notice, a patch 21 days after, a critical CVE 9 days after. Three days before the deadline a reminder goes out by email and the banner's first line names the days left. At the deadline the platform runs the upgrade and sends one more email as the run starts. There is no deferral past the deadline. The notice mails show every field a notice carries.

Running the upgrade

Any member of your organization can run the upgrade. The identity that acted is recorded on the notice. The cluster page's Release block offers two actions while a notice is open:

  • "Upgrade now" starts the run at once. One upgrade runs at a time where your cluster runs. Behind a running upgrade yours starts when that one ends, in order.
  • "Schedule" takes a date and a whole hour, after now and at or before the deadline. The schedule can move any time before it runs. A second schedule replaces the first. "Upgrade now" replaces it as well.

There is no cancel. A scheduled upgrade runs at its time. With no schedule it runs at the deadline. When the platform has paused upgrades on the cluster, your choice is recorded and runs once the pause lifts. On the MCP server the same two actions are upgrade_write with action: now or action: schedule (two phase: a preview, then the confirm). grid_api get /api/k8s/cluster/upgrade reads the cluster's release and its open notice (the upgrade read).

While a part runs, the banner and the Release block name the part in progress. When both parts are done the banner reads done for seven days and an email names the release every node runs. The pre upgrade etcd snapshot is kept (etcd backups).

When a part does not finish

A part that fails is tried again thirty minutes later. The third failure pauses the upgrade and the platform takes over. The cluster keeps serving on its current release. Every node reads Ready. The deadline no longer applies while the upgrade is paused. The banner, the Release block and an email read "the platform is on it" with a support reference. Quote the reference to support@nationalcompute.com. Nothing is needed from you. The platform contacts you when the upgrade resumes. "Upgrade now" and "Schedule" are refused while the upgrade is paused. A cluster more than one minor behind the target release is paused at its notice. The platform contacts you.

The arrival taint

Ask support for an arrival taint on a cluster, written as key=value:Effect. Every node that joins the cluster carries it. Platform daemonsets tolerate it. The platform never removes it. You remove it once your own validation of the node is done:

kubectl --context <cluster> taint nodes <node> <key>-

With effect NoSchedule, a pod that does not tolerate the taint does not land on the node until you remove it. A node carrying the arrival taint is healthy to the platform. It bills while it carries the taint (billing). No tool on the MCP server taints or untaints a node. The removal is a kubectl action under your kubeconfig.

The registry mirror

A cluster can run an embedded registry mirror. Ask support to enable it. With the mirror on, the cluster's nodes share pulled image layers peer to peer. One upstream pull serves the whole cluster. A cold cluster pulls its first copy upstream. A latest tag always comes from upstream. The mirror is read only. Nothing can be pushed to it. The platform runs no private registry and no pull through cache. Images come from the registries your manifests name.

etcd backups

Two schedules snapshot the cluster's etcd. The cadences and retention below are the current values.

Snapshot Cadence Kept
RKE2 local every 12 hours the last 5, on the control plane disk
platform every 6 hours up to 30 days, in cloud storage outside the cluster

A control plane upgrade adds one more snapshot before its first replica restarts. An etcd snapshot holds the cluster's Kubernetes objects. It holds no bytes of the object storage bucket, of a shared volume or of node disks.

Recovery objectives

Recovery time objective: one hour. A restore from the latest snapshot brings the cluster's API server back inside that hour (the measured restore of a cluster's snapshot onto a fresh control plane host took under two minutes; the hour covers minting the replacement host).

Recovery point objective: six hours. The recovery point is the platform snapshot cadence. It is minutes when a snapshot was taken ahead of a change, as before every control plane upgrade.

The platform rehearses the restore every quarter on a throwaway control plane host from a fresh snapshot of a live cluster and never on the running control plane.

Upgrade notices

Every notice goes by email to every member of your organization. A reply to any of them reaches support@nationalcompute.com. The two notices at mint carry the fields below. The planned form covers a minor or a patch upgrade. The security form covers a critical CVE. Every time in a mail is UTC.

A planned minor or patch upgrade:

Subject: Kubernetes upgrade for <cluster>: <current release> to <target release>, due by <deadline date>

Cluster:          <cluster> (<organization>)
Current release:  <current release>
Target release:   <target release>
Upgrade:          <minor | patch>
Window:           opens <date>, <hour> UTC
Deadline:         <date>, <hour> UTC; after it the platform runs the upgrade
Run it yourself:  https://console.nationalcompute.com/org/<organization>/clusters/<cluster>#release
                  "Upgrade now" or "Schedule" before the deadline
What happens:     the control plane first, one replica at a time, after an etcd snapshot;
                  then one node at a time: the agent restarts and the GPU device plugin
                  pod restarts once; running pods keep running; no node is cordoned
Mechanics:        https://docs.nationalcompute.com/kubernetes-versions-and-maintenance/#upgrades
Contact:          support@nationalcompute.com

A critical CVE upgrade:

Subject: Security upgrade for <cluster>: <current release> to <target release> within 48 hours

Cluster:          <cluster> (<organization>)
Current release:  <current release>
Target release:   <target release>
Upgrade:          critical CVE <identifier>
Window:           opens <date>, <hour> UTC, 48 hours from this notice
Deadline:         <date>, <hour> UTC; after it the platform runs the upgrade
Run it yourself:  https://console.nationalcompute.com/org/<organization>/clusters/<cluster>#release
What happens:     the same two parts; running pods keep running
Mechanics:        https://docs.nationalcompute.com/kubernetes-versions-and-maintenance/#upgrades
Contact:          support@nationalcompute.com

Four shorter mails follow a notice:

When Subject What it carries
three days before the deadline Three days left: <cluster> upgrades to <target release> by <deadline date> the schedule when one is set, else the ask for one
the deadline passes with no schedule Upgrading <cluster> to <target release> now the run the platform started and the link to its progress
both parts done <cluster> upgraded to <target release> the release every node runs; the pre upgrade etcd snapshot is kept
the upgrade paused Upgrade of <cluster> paused: the platform is on it the release the cluster keeps serving on and the support reference to quote