Rancher Desktop
Rancher Desktop is the default Kubernetes environment for UIS. It provides a single-node Kubernetes cluster (k3s) with Docker on your laptop — no cloud account needed.
Quick Start
- Install Rancher Desktop and enable Kubernetes
- Download the
uisscript and start:
./uis start
./uis deploy postgresql
That's it. The provision host connects to Rancher Desktop's cluster automatically.
Prerequisites
Install Rancher Desktop
Download from rancherdesktop.io and configure:
- Kubernetes: Enabled
- Container runtime: dockerd (moby)
- Memory: At least 8GB — macOS/Linux only, WSL2 manages this automatically
- CPU: 4+ cores — macOS/Linux only, WSL2 manages this automatically
Verify it's ready:
kubectl get nodes
You should see one node in Ready state.
Linux: Enable Privileged Ports
On Linux, ports 80 and 443 require extra configuration for *.localhost URLs to work:
# Enable port 80/443 (temporary — until reboot)
sudo sysctl -w net.ipv4.ip_unprivileged_port_start=80
# Make permanent (survives reboot)
echo "net.ipv4.ip_unprivileged_port_start=80" | sudo tee -a /etc/sysctl.conf
Restart Rancher Desktop after running this.
Cluster Configuration
| Setting | Value |
|---|---|
| Cluster type | Single-node (k3s) |
| Ingress | Traefik (built-in) |
| Storage | Local path provisioner |
| Container runtime | Docker (default) or containerd |
| Service access | http://<service>.localhost |
Deploying Services
# Deploy individual services
./uis deploy grafana
./uis deploy postgresql
# Deploy a full package
./uis stack install observability
# List all services and their status
./uis list
# Remove a service
./uis undeploy grafana
Service Access
All services are accessible in your browser via *.localhost URLs:
| Service | URL |
|---|---|
| Grafana | http://grafana.localhost |
| Prometheus | http://prometheus.localhost |
| Authentik | http://authentik.localhost |
| OpenWebUI | http://openwebui.localhost |
| pgAdmin | http://pgadmin.localhost |
| ArgoCD | http://argocd.localhost |
Context Switching
If you manage multiple clusters, switch between them:
./uis shell
kubectl config use-context rancher-desktop # Local development
kubectl config use-context azure-aks # Cloud production
kubectl config current-context # Verify current
Factory Reset
To completely reset and start fresh:
All data, configurations, and certificates will be permanently lost. If you manage multiple clusters, back up your kubeconfig first: cp ~/.kube/config ~/.kube/config.backup
- Open Rancher Desktop
- Go to Troubleshooting > Factory Reset
- Confirm — this deletes all data
- Restart Rancher Desktop and enable Kubernetes
- Re-run
./uis startand deploy services
Performance Tips
- Ensure 50GB+ free disk space for container images and persistent volumes
- Close memory-intensive applications when running the full stack
macOS / Linux: In Rancher Desktop settings, allocate at least 8GB RAM and 4+ CPU cores for the full UIS stack.
Windows (WSL2): Rancher Desktop uses WSL2 which manages resources automatically — no manual allocation needed.
Related Documentation
- Hosts Overview — All supported platforms
- Getting Started — First steps with UIS
- Services Overview — Available services