Virtual Clusters
A virtual cluster is a fully functional Kubernetes cluster that runs inside the namespace of another Kubernetes cluster (host cluster). Virtual clusters are very useful if you are hitting the limits of namespaces and do not want to make special exceptions to the multi-tenancy configuration of the underlying cluster, e.g. a user needs their own CRD or user needs pods from 2 namespaces to communicate with each other but your standard NetworkPolicy does not allow this, then a virtual cluster may be perfect for this user.
Working with Virtual Clusters
Unlike "real" clusters, virtual clusters are much more lightweight and much faster to spin up and tear down again.
Create Virtual Clusters
Delete Virtual Clusters
List Virtual Clusters
Control Access To Virtual Cluster
Configuration
Virtual Cluster Template

JSONPath in VirtualCluster CRD:
metadata.annotations["loft.sh/virtual-cluster-template"] (type: string)
Metadata
Name

JSONPath in VirtualCluster CRD:
metadata.name (type: string)
Namespace

JSONPath in VirtualCluster CRD:
metadata.namespace (type: string)
Labels

JSONPath in VirtualCluster CRD:
metadata.labels (type: map[string]string)
Annotations

JSONPath in VirtualCluster CRD:
metadata.annotations (type: map[string]string)
Advanced Options
Version

JSONPath in VirtualCluster CRD:
spec.helmRelease.chart.version (type: string)
Helm Values

JSONPath in VirtualCluster CRD:
spec.helmRelease.values (type: {})
Apps

Namespaces For Apps
Access To Virtual Cluster

JSONPath in VirtualCluster CRD:
spec.access (type: Access[])