Create Virtual Cluster Template
Virtual cluster templates can be created directly in the UI.
Select the Templates field on the left-most menu bar.
- From the Templates sub-menu, select the Virtual Clusters option.
Click button.
In the drawer that appears from the right, give your virtual cluster template a name by replacing the 'my-template' placeholder name, or by updating the manifest YAML 'metadata.name' field.
[Optional] Update the template with any additional desired configuration options.
Different options may be configurable on a template, but here is the list of all options. Note: Not all will be available as it depends on your template definition.
The Definition tab contains settings relating to the virtual cluster deployment itself, here you can provide Helm values to be used when deploying the virtual cluster, select the virtual cluster distribution (e.g. k8s (default), k3s, k0s), as well as configurations for sleep mode and ingress access.
Objects is where you can define Kubernetes manifests that should be created in the virtual cluster.
Apps allows you to select any pre-defined 'applications' (e.g. Cert Manager) that should be installed into the virtual cluster.
Parameters provides a mechanism for exposing values that users should be able to modify when deploying a virtual cluster from this template.
Permissions are additional access rules that can be defined for the virtual cluster instance.
Advanced Options allow for advanced configuration different resources.
Template Permissions are the permissions that are applied to the template itself -- that is, who has permission to view/edit this template.
Click on the button at the very bottom.