Starting with Orka 4.0, the CLI command is
orka. On Orka 3.6, it’s orka3: replace orka with orka3 in the examples on this page. To upgrade a 3.6 cluster to 4.0, use the orka CLI 4.0.1 or later. The --dry-run, --force-macos, --macos-idle-timeout, and --skip-component flags also need the orka CLI 4.0.1 or later.Understanding cluster upgrades
Theorka upgrade commands drive Orka Upgrade Service. An upgrade is a run that moves Upgrade Service and its agents, then Mac node components, then the control plane and remaining Orka services to a target release, in that order. Only one run is active at a time. Upgrade Service keeps the 10 most recent completed runs, including failed ones, and you retry a failed upgrade by starting a new run.
For when to use Upgrade Service, how to install it on your deployment, and how to troubleshoot a run, see Orka Upgrade Service.
Starting an upgrade
orka upgrade run
Start an upgrade by creating a run for the target release. Run names are timestamped, so a retry never collides with an earlier run. Admin only: Starting an upgrade requires administrative privileges.On an Orka Anywhere cluster upgrading from 3.6 to 4.0, apply the 4.0 permissions, webhook configurations, and Upgrade Service CRDs first, and pass
--version 4.0.0. Don’t use --dry-run for this upgrade: the 3.6 Upgrade Service doesn’t support dry runs and would start a real upgrade. The CLI can’t resolve latest against a 3.6 cluster’s Upgrade Service either. See Upgrade a self-managed Orka Anywhere cluster.--dry-run works on Orka 3.6, including for the upgrade to 4.0.
Syntax:
latest resolves to the highest release marked available in the MacStadium release index, which can be a newer release line than your cluster’s. To stay on a specific release, pass its exact version. The CLI refuses a target release newer than the CLI itself, so update the CLI first.
macOS upgrades on MacStadium-hosted clusters
A release can pin a macOS version: Orka 4.0.0 installs macOS 26.6.2. On MacStadium-hosted clusters, a run to that release also upgrades every node below that macOS. To see the macOS each release installs, runorka upgrade versions. On Orka Anywhere clusters, runs upgrade Orka only and leave macOS as it is.
Upgrade Service upgrades one node first. If that node succeeds, it upgrades up to 20 nodes at a time. Each node is cordoned while it upgrades, so no new VMs start on it, and it’s rebooted, possibly several times. A node’s macOS upgrade can take up to 2 hours, plus the idle timeout, so plan for that much lost capacity per node, across up to 20 nodes at once. Nodes already on the target macOS or newer aren’t cordoned or rebooted, unless an earlier run left them cordoned.
To plan around running VMs:
- Run
--dry-runfirst. It lists each node’s macOS and how many VMs it runs, and changes nothing. The dry run gives up after 5 minutes. - Delete or finish the VMs on those nodes before you start, or give them longer with
--macos-idle-timeout, up to1h. - Set
--macos-idle-timeout 0to fail the run before anything is cordoned if any node it would upgrade still runs VMs. A VM that starts after that check makes its node fail at its turn, with no wait. - To kill VMs without waiting, combine
--force-macoswith--macos-idle-timeout 0.
orka CLI to start runs to these releases. orka3 and older orka CLIs can’t set --macos-idle-timeout or --force-macos, so their runs use the defaults: each node waits 1 minute for its VMs to stop, then fails if any are still running. If the cluster’s Upgrade Service is older than these options, --skip-component and --dry-run fail without creating a run, but --force-macos and --macos-idle-timeout are ignored without an error, so update Upgrade Service first.
Skipping node components
--skip-component leaves a node component as it is on every node for that run. You can skip android-sdk and avd-relay, and repeat the flag to skip both. Skipping never removes what’s already installed.
Android emulators fail to start on nodes whose Android SDK is older than the target release requires, or that don’t have the AVD relay it requires. To install them later, run the upgrade again without
--skip-component.Checking upgrades
orka upgrade versions
Show the cluster’s current Orka release and any active upgrade run. Until a cluster completes its first successful run, the current version shows asunknown. It also shows whether macOS upgrades are available on the cluster, and each release you can upgrade to with the macOS it installs. With -o json, it includes the reason when macOS upgrades aren’t available.
Syntax:
orka upgrade status
Show the step list and per-node counts of the latest upgrade run, or of the run you name. Syntax:orka upgrade history
List retained upgrade runs, newest first, with each run’s target, macOS target, source version, phase, duration, and age. Upgrade Service keeps the 10 most recent completed runs, so export any older ones you need for your records. Syntax:Inspecting Upgrade Service
Theorka upgrade service commands always default to the orka-default namespace. They ignore the ORKA_DEFAULT_NAMESPACE environment variable and the kubeconfig context. See Namespace management.
orka upgrade service status
Show Upgrade Service’s operator version and status. Syntax:orka upgrade service agents
List the per-node upgrade agents with each agent’s installed version, status, and lease age. Unhealthy agents (MISSING or STALE) are listed first.
Syntax:

