A cluster template is a declarative definition of a cluster that defines cluster topology (cluster host groups and all cluster services and their components running on them).
A cluster template is a reusable cluster template in JSON format that can be used for creating multiple Data Hub clusters with identical Cloudera Runtime settings. It primarily defines the list of host groups and how components of various Cloudera Runtime services are distributed on these host groups. A cluster template allows you to specify stack, component layout, and configurations to materialize a cluster instance via Cloudera Manager REST API, without having to use the Cloudera Manager install wizard. After you provide the cluster template to Data Hub, the host groups in the JSON are mapped to a set of instances when starting the cluster, and the specified services and components are installed on the corresponding nodes.
Data Hub includes a few default cluster templates and allows you to upload your own cluster templates.
Prior to creating your own cluster templates, we recommend that you review the default cluster templates to check if they meet your requirements. These default cluster templates can be accessed from the Management Console > Environments > Shared Resources > Cluster Templates.
- Modify one of the default Data Hub cluster templates and register it as a new cluster template
- Export a cluster template from an existing on-prem HDP cluster and register it in CDP in order to use it for creating Data Hub clusters
- Export a cluster template from an existing on-prem CDH cluster and register it in CDP in order to use it for creating Data Hub clusters