Manually configure a tenant cluster
Each tenant cluster belongs to a project. Projects control whether users can create tenant clusters with or without templates.
Who can create tenant clusters without a template​
By default, projects require templates for tenant cluster creation. This means:
- Project users can only create tenant clusters from allowed templates configured by the project admin.
- Project admins and platform admins can always create tenant clusters without a template, regardless of project settings.
If project admins disable the requireTemplate setting, project users can also create tenant clusters without templates. Keep this setting enabled in production environments to maintain security controls.
Create without template​
Creating tenant clusters without a template bypasses the security controls that templates provide. Users with this capability can configure any vCluster settings, including sync configurations that could grant elevated access to control plane cluster resources.
For production environments:
- Keep templates required for all projects (the default
requireTemplatesetting) - Grant project admin roles only to users who need to create tenant clusters without templates
- Control who can create projects, since project creators become project admins. See project membership for details on project roles
- Use hardened templates to control which resources can be synced to and from the control plane cluster
From the project drop-down menu (top left corner), select the project you'd like to create the virtual cluster in.
Click on Virtual Clusters.
Click the button.
Follow the steps in the UI to create the virtual cluster.
Retrieve a kube-context for a virtual cluster using the CLI:
vcluster connect [vcluster-name] --project [project-name] --driver platform
The platform uses Helm to manage virtual clusters. If your cluster is running in an air-gapped environment, you may host Helm charts in an OCI compatible private registry. To use a private registry for virtual clusters there are several configuration options:
- Configure the platform for offline Helm charts
- Configure the Helm chart repository and authentication for each virtual cluster.
- Configure the Helm chart repository and authentication using virtual cluster templates.