
Why Multipass for CNAP Testing?
Multipass is purpose-built for development and testing scenarios, making it ideal for:- Free local testing - No cloud costs while developing and testing products
- Rapid iteration - Quickly create, destroy, and recreate test workers
- Production simulation - Test exact worker setup procedures in a local environment
Performance considerations: Local testing with Multipass will be slower than production servers due to your home internet connection (typically much slower than datacenter 1-10+ Gbps links) and limited local resources. Ensure your VM has at least 1 CPU and 3GB RAM for reliable testing.
CNAP’s managed KaaS architecture is designed so your workers don’t need a public IP address. When a worker starts, it automatically creates an outbound konnectivity tunnel to the control plane, allowing the control plane to reach the kubelet securely.
Prerequisites
Install Multipass on your development machine:macOS Installation
macOS Installation
Using Homebrew (Recommended)Manual DownloadDownload from https://multipass.run
Install the .pkg fileVerify installation
Linux Installation
Linux Installation
Using Snap (Recommended)Manual DownloadDownload from https://multipass.run
Follow distribution-specific installation instructionsVerify installation
Windows Installation
Windows Installation
Using Chocolatey (Recommended)Manual DownloadDownload installer from https://multipass.run
Run the .exe installerVerify installation
Setting Up a Test Worker
1
Create Your CNAP Cluster
First, ensure you have an active cluster in your CNAP dashboard. You’ll need the worker setup command from this cluster.
2
Launch Multipass VM
Create a new Ubuntu VM with adequate resources for testing:
Use
--cpus 4 --memory 8G
for more realistic production testing scenarios.3
Connect to Your Test VM
4
Get Worker Setup Command
In your CNAP dashboard:
- Navigate to your active cluster
- Click the “Quick Actions” menu
- Select “Add a worker”
- Copy the bootstrap command
5
Test Worker Setup
Inside the Multipass VM, run the worker setup command:
The setup will automatically:

- Install Kubernetes components
- Configure networking
- Join the worker to your cluster
- Establish outbound tunnel to control plane
6
Verify Connection
Check your CNAP dashboard - the worker should appear as “Active” within 1-2 minutes.
Testing Product Deployments
With your Multipass worker connected, you can test complete product deployment workflows:- Create test products in your CNAP dashboard
- Deploy to test cluster using your Multipass worker
- Verify deployments work correctly
- Iterate configurations without cloud costs
Network Architecture Benefits
CNAP’s managed KaaS architecture provides several advantages for testing:- No public IP required - Your Multipass VM doesn’t need external connectivity
- Outbound tunnels - Workers create secure connections to the control plane
- Firewall friendly - Works behind NAT, firewalls, and restrictive networks
- Secure by default - Control plane reaches kubelet through encrypted tunnels
Product ingress considerations: If your product exposes services and expects a public IP, you’ll need to use your local VM’s IP address instead. Get it with
multipass info cnap-worker
. This depends on each product’s deployment - some products use cloudflared tunnels which work seamlessly, while others may require manual IP configuration for local testing.Cleanup and Management
VM Management
Worker Cleanup
When you’re done testing, remove the worker from your cluster:- In CNAP dashboard, go to your cluster
- Find the Multipass worker in the worker list
- Remove it to keep your cluster clean
Advanced Testing Scenarios
Multiple Test Workers
Test multi-worker scenarios by creating multiple VMs:Resource Constraints Testing
Test with minimal resources to simulate constrained environments:Network Simulation
Test network scenarios by configuring Multipass networking:Troubleshooting
VM won't start
VM won't start
- Check available system resources (CPU, RAM, disk)
- Verify Multipass service is running:
multipass version
- Try with lower resource requirements:
--cpus 1 --memory 2G
Worker setup fails
Worker setup fails
- Ensure VM has internet connectivity:
curl -I https://dash.cnap.tech/worker.sh
- Verify the worker token hasn’t expired (6 hours)
- Try the setup command with
sudo
explicitly
Worker doesn't appear in dashboard
Worker doesn't appear in dashboard
- Wait 2-3 minutes for registration to complete
- Check VM system time is synchronized
- Verify outbound HTTPS connections work
- Check CNAP dashboard shows cluster as “Active”