Template Catalog - Rafay Product Documentation

Introduction

The Template Catalog offers a centralized collection of pre-built templates designed to simplify and standardize complex operations. These templates provide all the required configurations by default, eliminating the need for users to write code or scripts to set up resource values. Users can either use the templates as they are or edit the resource values based on specific requirements. Whether it's managing clusters, deploying AI/ML workflows, or integrating with cloud platforms, the catalog ensures quick, error-free setup and consistent deployments. By serving as a reliable starting point tailored to various use cases, these templates enhance productivity, save time, and uphold best practices.


Personas

There are typically two personas involved with the templates in the catalog.

Platform Admin

End User


Access Template Catalogs

🔒 Important Note: Only Organization Admins can access and clone the template catalogs.

To access the Template Catalog:

For example, the Kubeflow on Private Cloud template enables the deployment of a Kubeflow-based machine learning platform on an MKS cluster. It highlights the resources provisioned, such as FEAST, Kubeflow 1.9, and MLFlow, and lists pre-requisites like a GPU-enabled host cluster, API key configuration, and agent setup. The page also provides GPU node configuration instructions and specifies an estimated environment launch time of 27 minutes. Similarly, users can view the template details for each system template by clicking More Info.


Clone Templates

Organization Admins can clone templates to their projects by clicking Get Started, customize them as needed, and share them with other projects in the organization, enabling users to use these templates for launching or creating environments

Below is an example where the "Jupyter Notebook" template is cloned into a project named ai-demo.

This navigates to the Environment Template page within the selected project, where users can proceed with configuring the environment template

Users can either use the template as it is, with the resource configurations already available in the template, or customize it further as needed.

In both scenarios, it is necessary to add Agents and configure the Context to ensure proper setup and functionality.

Save the changes and launch this template to create an environment.

Important Note: When a template is cloned to a project, PaaS admins can utilize these environment templates to create compute instances within the same project through PaaS Studio, streamlining the process and ensuring consistency in deployments.


Agent Configuration

An agent must be configured in the target project where the template is used. Without this, templates cannot be launched.


Role Requirements Summary

Templating Workflows with Rafay

The following diagram illustrates the typical workflow for using environment templates to deliver an on-demand, consumable experience. For example, Cluster as a Service (CaaS) template workflows, and more.

Central VisibilityClusterProject (Team/SBU)Reusable Templates (RTs)Rafay ControllerCentral VisibilityClusterProject (Team/SBU)Reusable Templates (RTs)Rafay ControllerStep 1 — Build reusable templatesStep 2 — Controlled sharingStep 3 — Self-service cluster creationStep 4 — Fleet-wide updatesPlatform TeamSRE TeamCreate RTs (clusters, blueprints etc)1Version and store templates2Share RTs via hierarchical project sharing3Grant scoped access (RBAC, isolation)4Expose allowed variables only5Instantiate cluster using RTs with overrides6Provision cluster on cloud provider7Register for centralized visibility8Select the fleet of environments9Rollout updates across fleets10Show consolidated fleet-wide status and progress11Platform TeamSRE Team