Setup Commands
Test connectivity
Check Orka Engine version
Verify Python version
One-Liner Examples
Install/Upgrade Orka Engine
Plan Deployment (Dry Run)
Deploy VM Group
Plan Deletion (Dry Run)
Delete VM Group
Stop VM
Start VM
Delete Single VM
List All VMs
List VMs from Group
Pull Image to All Hosts
Create and Push Custom Image
Create Image with OS Upgrade
Common Variable Combinations
Small Development Group
Medium Production Group
Large-Scale Deployment
Image Creation with Auth
Insecure Registry
Image Naming Patterns
MacStadium Public Images
- Sonoma : GitHub
- Ventura : GitHub
- Monterey : ghcr.io/macstadium/orka-images/monterey:latest
Private Registry Format
- Full path : registry.example.com/organization/repository:tag
- With port : registry.example.com:5000/orka/image:v1.0
VM Naming Convention
VMs are automatically named with group prefix:-
Group
webapp→ VMs:webapp-abc123,webapp-def456, etc. -
Group
dev→ VMs:dev-xyz789,dev-uvw456, etc.
Ansible Shortcuts
Run on Single Host
Dry Run (Check Mode)
Verbose Output
Run Specific Tags
Skip Tags
Step Through Tasks
Best Practices Checklist
Planning & Safety
-
Always use
--tags planbefore production deployments -
Test playbooks on single host first with
--limit - Review deployment plan output before executing
- Verify capacity before large deployments
Naming & Organization
-
Use meaningful VM group names (e.g.,
webapp-prod,build-farm-dev) -
Version your images with tags (
:v1.0,:v2.0, not:latestin prod) - Document group purposes in inventory comments
Capacity Management
-
Set appropriate
max_vms_per_hostlimits - Monitor disk space on hosts regularly
- Keep Orka Engine updated across all hosts
- Track VM distribution across hosts
Image Management
-
Place custom configuration scripts in
/scriptsdirectory - Test image builds in dev before production
- Keep base images cached on all hosts
- Implement regular image rebuild schedule
Security & Operations
- Store credentials securely (Ansible Vault)
- Maintain inventory file accuracy
- Use SSH keys (not passwords) for host access
- Rotate credentials regularly
- Review deployment logs for errors
State & Tracking
- Let Ansible manage VM counts (incremental deployment)
- Don’t manually create VMs in managed groups
-
Use
list.ymlto verify state before changes - Keep group vars consistent across environments
Support Resources
- Documentation : MacStadium
- Support Portal : MacStadium
- CLI Reference :
- VM Commands :
- Image Commands :
- Project README : Check your repository’s README.md for architecture details