Installing Cloudbreak CLI
Also available as:
PDF

Obtain cluster JSON template

The simplest way to obtain a valid JSON template for your cluster is to get it from the Cloudbreak web UI.

You can do this in two ways:

  • From the last page of the create cluster wizard.
  • For a running cluster, from cluster details.

From create cluster

Once you’ve provided all the cluster parameters, on the last page of the create cluster wizard, click Show CLI Command to obtain the JSON template.

Click Copy the JSON to copy the content and then use a text editor to edit and save it.

For detailed steps on how to use this option, refer to the How to generate a cluster template and reuse it with Cloudbreak HCC article.

From cluster details

You can obtain the JSON template for a cluster from the cluster details page by selecting Actions > Show CLI Command. This option is available for all clusters that have been initiated, so the cluster does not need to be in the running state to obtain this information. In fact, this option is useful when troubleshooting cluster failures.

Click Copy the JSON to copy the content and then use a text editor to edit and save it.