- Services upgrade: upgrades the Orka Kubernetes services.
- Node tooling upgrade: updates the Virtual Kubelet and Orka Engine on your ARM Mac nodes in place, without replacing the node.
orka CLI. See Upgrade from Orka 3.6 to 4.0.
Upgrade from Orka 3.6 to 4.0
Orka Upgrade Service upgrades a 3.6 cluster to 4.0 in one run. On-premises and AWS-hosted clusters use the same commands. You don’t redeploy anything yourself: the run upgrades Upgrade Service first, then the node tooling (Orka Engine, Virtual Kubelet, the Android SDK, and the AVD relay used for Android emulators), then the Orka services. Nodes are upgraded starting with a single canary node. The run doesn’t upgrade macOS on your nodes, and the Orka Web UI stays on 3.6.Before you upgrade
- Read the breaking changes in the Orka 4.0.0 release notes.
- Your cluster runs Orka 3.6 with Upgrade Service v2. Run
orka upgrade service statusand check that the operator version starts with2.0.. If Upgrade Service isn’t installed or is still on v1, see Installing the Upgrade Service. - Every Mac node is Apple silicon. Orka 4.0 doesn’t support Intel nodes, and the run refuses to start while any are in the cluster. Remove them first.
- You have a kubeconfig with cluster-admin rights. The first step needs it. Starting the run itself only needs Orka administrator access.
- You have the
orkaCLI at version 4.0.1 or later. Orka 4.0 renames the CLI fromorka3toorka. See Download and install for the CLI, and check the version withorka version.
Run the upgrade
1
Apply the 4.0 permissions, webhooks, and Upgrade Service CRDs
With your cluster-admin kubeconfig, apply the Orka 4.0.0 permissions and webhook configurations, and the Upgrade Service 2.0.2 CRDs:Don’t skip this step. Without these permissions, the 4.0 Upgrade Service can’t patch nodes or list VMs, and the run fails.
2
Start the upgrade
4.0.0 explicitly. A 3.6 cluster still has the earlier Upgrade Service, so the CLI can’t resolve latest and refuses it.To leave the Android SDK on your nodes as it is, for example if you don’t use Android emulators, add --skip-component android-sdk. This needs the Upgrade Service CRDs from step 1.3
Follow the run until it succeeds
Succeeded. If it fails, see Troubleshooting.AWS-hosted
Fully documented today. See Upgrading Orka on AWS for the full step-by-step, including node tag verification, SSH and SSM upgrade paths for ARM node tooling, and multi-region guidance.On-premises
On-premises upgrades reuse the sameghcr.io/macstadium/orka-ansible-onprem container and the same cluster.yml, nodes.yml, and hosts files you used to install, from Orka On-Prem architecture and networking overview. The only thing that changes is the image tag. The playbooks are idempotent: re-running them brings your cluster to the version of the image you run.
Before you upgrade
- Read the release notes for your target version, and check the versions to expect in Orka component versions by release. A release doesn’t always update every component, so some components can stay on an earlier patch version.
- Remove any
osx_node_orka_engine_versionandosx_node_orka_vk_versionlines fromnodes.yml, unless MacStadium gave you a specific build to deploy. Each installer image already pins the node tooling that matches its release. A pin left over from an earlier upgrade overrides it, and pinning a version that doesn’t exist for that component fails the node upgrade with an HTTP 403 error. - Plan for the effect on running VMs. See Impact on running VMs.
Upgrade an on-premises cluster
The following example upgrades to<VERSION_TAG>, for example 3.6.4. Run both steps from the directory that holds your cluster.yml, nodes.yml, and hosts files.
1
Upgrade the Orka services
Start the new installer image with your kubeconfig and Inside the container, from the
cluster.yml:/ansible directory, run the services playbook:2
Upgrade the node tooling
Start the same image with your node files and the SSH key for your Mac nodes:Inside the container, from the To upgrade some nodes first, add
/ansible directory, run the node playbook. Enter the password of the ansible_user from nodes.yml when prompted:--limit with node addresses from your hosts file, then run it again for the rest:3
Verify the upgrade
Check the cluster and node versions:Compare the output with the versions listed for your target release in Orka component versions by release.
Impact on running VMs
The services upgrade (site.yml) updates the Orka services in Kubernetes and doesn’t change your Mac nodes.
The node upgrade (configure-arm.yml) restarts the Virtual Kubelet and Orka Engine services on a node when their version changes. Running VMs keep running through that restart. The node upgrade also reboots the node, which stops every VM running on it, if any of the following happens on that node:
- The playbook changes the node’s hostname, its sleep setting, or one of the macOS settings it manages, such as automatic updates. These normally change only on the first run, or if someone changed them on the node by hand.
- The Orka Engine setup removes the default macOS Internet Sharing configuration.
- The Virtual Kubelet’s packet filter (pf) rules change while VMs are running on the node.
- The Virtual Kubelet or Orka Engine service fails to restart.
--limit.
Roll back
If an upgrade fails partway, re-run both playbooks from the previous version’s image tag, with the same files.Override installer settings
Your mounted files sit next to the installer’s own settings files, and Ansible reads the files in each folder in alphabetical order, so the last value read wins:cluster.ymlis mounted next to the installer’sgroup_vars/all/main.yml. Where both set the same variable, the installer’smain.ymlwins. This applies to settings the installer pins, such as component version tags andvm_scheduler_name.nodes.ymlis mounted next to the installer’sgroup_vars/arm-nodes/main.yml. Herenodes.ymlwins, which is why a version pin innodes.ymltakes effect.- A value passed on the command line with
-e, for exampleansible-playbook site.yml -e vm_scheduler_name=<SCHEDULER_NAME>, overrides both files.
-e values on every later run, including upgrades. A run without them goes back to the installer’s defaults.
Apart from cluster_admin_group, only override an installer setting if MacStadium has asked you to.
Setting vm_scheduler_name to most-allocated-scheduler also needs a scheduler profile on your control plane. Without it, every VM that doesn’t name a scheduler stays Pending. See Set up the most-allocated scheduler on a self-managed control plane.
This page covers upgrading the Orka services and node tooling with Ansible. To install the Orka Upgrade Service on an Orka Anywhere cluster, or migrate it from v1 to v2, see Installing the Upgrade Service.

