Rancher Desktop Integration
Rancher Desktop is the default Kubernetes provider for UIS. The provision host includes a compatibility layer so scripts written for MicroK8s also work on Rancher Desktop without modification.
MicroK8s Compatibility Layer
Context Aliasing
- MicroK8s uses
defaultas the primary context - Rancher Desktop uses
rancher-desktopas the primary context - UIS creates a
defaultcontext alias pointing to therancher-desktopcluster
Storage Class Mapping
- MicroK8s uses
microk8s-hostpathstorage class - Rancher Desktop uses
local-pathstorage class - UIS creates a
microk8s-hostpathalias pointing tolocal-path
This is set up automatically when the provision host starts.
Troubleshooting
Context Issues
Check available contexts:
./uis shell
kubectl config get-contexts
Manually create default context if missing:
kubectl config set-context default --cluster=rancher-desktop --user=rancher-desktop
Storage Class Issues
Verify the alias exists:
kubectl get storageclass microk8s-hostpath
Related Documentation
- Rancher Desktop Host — Full Rancher Desktop setup guide
- Provision Host Tools — Tools available in the container
- Kubernetes Deployment — How services are deployed