
When to Import vs. Create
- Import Your Cluster
- Create a Managed Cluster
Choose to import your cluster if you already have Kubernetes infrastructure from EKS, GKE, AKS, or other providers, have invested in cluster setup, need specific configurations like custom networking or , or want to maintain your existing cluster management approach.
Prerequisites
Before importing your cluster, ensure it meets these requirements:- Kubernetes Version: 1.33+ (check with
kubectl version) - Cluster Access: Admin permissions, network connectivity, valid
- Required Permissions: management, workload deployment, operations
View detailed RBAC permissions
View detailed RBAC permissions
If you’re not using admin kubeconfig, create a service account with these permissions and bind it to a ClusterRole:
RBAC configuration
How to Import Your Cluster
Prepare Your Kubeconfig
Ensure you have a valid kubeconfig file with admin access to your cluster.
Test cluster connection
Export kubeconfig
Navigate to Clusters Dashboard
In the clusters dashboard, click “Import Cluster” and choose “Import Existing Cluster”.
Upload and Validate Kubeconfig
- File Upload
- Paste Content
Click “Upload kubeconfig file” and select your kubeconfig file.
What’s Next?
Once your cluster is imported, you can:Package Your Software
Turn your applications into sellable products
Learn About Clusters
Understand how clusters work in CNAP
Launch Your Marketplace
Create a storefront for your products
Learn Success Strategies
Discover how to build profitable cloud products
Limitations of Imported Clusters
Be aware of these differences compared to managed clusters:Control plane management
Control plane management
Control plane and worker operations are managed by your cloud provider or yourself, depending on your cluster type. CNAP does not manage the control plane for imported clusters.
Worker node provisioning
Worker node provisioning
You manage worker nodes yourself or through your cloud provider. CNAP handles product deployments but not worker infrastructure management.
Automatic updates
Automatic updates
You must handle Kubernetes version updates and cluster maintenance yourself. CNAP does not automatically update imported clusters.
24/7 monitoring
24/7 monitoring
Limited monitoring compared to managed clusters. CNAP provides application-layer monitoring, but infrastructure monitoring is your responsibility.
Auto-scaling
Auto-scaling
Not supported through CNAP. You must configure and manage auto-scaling through your cloud provider or cluster management tools.
Support level
Support level
Application layer support only. CNAP helps with product deployments and troubleshooting, but full infrastructure support is not included.
Troubleshooting
Kubeconfig validation fails
Kubeconfig validation fails
- Verify cluster is accessible from the internet
- Check that kubeconfig has admin permissions
- Ensure Kubernetes version is 1.33 or newer
- Test connection locally:
Test connection
Expected output
Network connectivity issues
Network connectivity issues
- Verify cluster API server is publicly accessible
- Check firewall rules allow CNAP IP ranges
- Ensure DNS resolution works for your cluster
- Test from external network:
Test API server access
Permission errors during import
Permission errors during import
- Confirm kubeconfig has cluster-admin role
- Check RBAC is properly configured
- Verify service account has necessary permissions
- Test permissions:
Test permissions
Products failing to deploy
Products failing to deploy
- Check cluster has adequate resources
- Verify default namespace exists and is accessible
- Review cluster events:
Review events
- Contact support with deployment logs