Manually configure a cluster
Each cluster belongs to a project. Projects control whether users can create clusters with or without templates.
Who can create clusters without a template​
By default, projects require templates for cluster creation. This means:
- Project users can only create clusters from allowed templates configured by the project admin.
- Project admins and platform admins can always create clusters without a template, regardless of project settings.
If project admins disable the requireTemplate setting, project users can also create clusters without templates. Keep this setting enabled in production environments to maintain security controls.
Create without template​
Creating 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 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 cluster in.
Click on Clusters.
Click the button.
Follow the steps in the UI to create the cluster.
Retrieve a kube-context for a cluster using the CLI:
vcluster connect [vcluster-name] --project [project-name] --driver platform
The platform uses Helm to manage 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 clusters there are several configuration options:
- Configure the platform for offline Helm charts
- Configure the Helm chart repository and authentication for each cluster.
- Configure the Helm chart repository and authentication using cluster templates.