Create a re-usable template to deploy resources using the DuploCloud Stacks feature.
Create a re-usable template to deploy resources (Nodes, Hosts, Services, Secrets, storage, etc.) using the DuploCloud Stacks feature.
Select the Tenant from the Tenant list box that owns the resources that will act as a baseline for the new template.
Navigate to Automation -> Stacks.
Select the Templates tab.
Click Generate. The Generate Deployment Template pane displays.
Enter a name for the template in the Name field.
Select all applicable scopes in the Scopes field. If unsure, you can safely add any scope, as it only affects the resource lists shown on the next page. The following scopes are currently available, with more to be added as new resource types are supported:
Kubernetes
Admin / Reverse Proxy
Admin / System Config
Admin / Tenant Security
Cloud / Host
Cloud / Load Balancer
Cloud / Storage
Docker
Click Next. A page allowing you to edit the template configurations displays.
Edit the template configurations as needed:
The left panel displays resources and their components (e.g., Kubernetes, Service, and filebeat-k8s-duploinfrasvc) organized hierarchically.
Subcomponents can be toggled on or off, controlling their inclusion in the template.
Selecting a parent node (e.g., Kubernetes) includes all its child components, while deselecting it removes them.
The right panel displays JSON that dynamically reflects the selections made on the left.
Adding or removing components on the left modifies the corresponding nodes and payloads in the JSON.
Advanced users can click Edit to fine-tune the JSON manually.
Click Save to save your changes.
Click the Download button to save the template file to your local machine for further use or modifications.