Namespace Templates
Once you have created a namespace template you can then refer to that template when creating a new namespace. All template configurations will be automatically applied to the newly created namespace. Namespaces referring to templates can be created in the UI or via the vCluster CLI.
- UI
- CLI
Select the Projects field on the left menu bar.
From the project drop-down menu, select the project you'd like to create the namespace in.
Click the Namespaces option on the project pane.
Click the button on the right side of the page.
In the pop-up box, select your template from the template drop down menu.
[Optional] select the cluster in which to create the virtual cluster.
Click the to continue.
In the drawer that appears from the right, give your namespace a name by replacing the my-namespace placeholder name, or by updating the manifest YAML metadata.name field.
Click the button.
When creating a space from the vCluster CLI, you will need to provide the name of the project in which to deploy the space, and the name of template to use:
vcluster platform create space [space-name] --project [project-name] --template [template-name]