Skip to main content

Create Template

Create Template

Templates can be created directly in the UI for the different resources.

  1. Select the Templates field on the left-most menu bar.

  2. From the Templates sub-menu, select the Virtual Clusters option.
  3. Click button.

  4. 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.

  5. [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.

    1. 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.

    2. Objects is where you can define Kubernetes manifests that should be created in the virtual cluster.

    3. Apps allows you to select any pre-defined 'applications' (e.g. Cert Manager) that should be installed into the virtual cluster.

    4. Parameters provides a mechanism for exposing values that users should be able to modify when deploying a virtual cluster from this template.

    5. Permissions are additional access rules that can be defined for the virtual cluster instance.

    6. Advanced Options allow for advanced configuration different resources.

    7. Template Permissions are the permissions that are applied to the template itself -- that is, who has permission to view/edit this template.

  6. Click on the button at the very bottom.