orka commands, vm push routes through the Orka API server rather than the Kubernetes API. This means a kubeconfig obtained via certificate-based authentication (common in AWS and on-prem deployments) is not sufficient on its own. If you run vm push without a valid Orka API token, you will receive an Unauthorized error; this error comes from the Orka API server, not the OCI registry, even if it appears registry-related.
Orka CLI
Orka API
Orka CLI
Keep images patched with vm push
To roll out macOS updates or new app versions, build a new version of your image and push it under a new tag. A new tag for each round, for example a date, keeps the previous version available, so you can roll back by deploying the earlier tag.-
Deploy a VM from your current image:
- Connect to the VM and apply your updates.
-
Push the VM as a new tag, and check the push job until it finishes:
-
Cache the new tag on your nodes, so the first VMs deployed from it don’t wait for the pull:
- Point your VM configs and pipelines at the new tag, then delete the VM you patched.
Save Changes as a New Locally Stored Image
If you don’t want to push your changes to an OCI-compatible registry, you can save a new image locally to your cluster.In Orka 4.0,
orka vm save and orka vm commit are deprecated. They still work on clusters that use cluster (NFS) image storage, but use orka vm push to an OCI registry instead.
