Support Questions
Find answers, ask questions, and share your expertise
Announcements
Alert: Welcome to the Unified Cloudera Community. Former HCC members be sure to read and learn how to activate your account here.

Create stack and cluster in separate requests with Cloudbreak 2

Create stack and cluster in separate requests with Cloudbreak 2

New Contributor

Hi,

I'm using Cloudbreak API for cluster deployment.

In Cloudbreak 1.X there was a possibility to create stack (infrastructure) and cluster with separate requests and this was the way clusters were created from Cloudbreak UI. For example using:

  1. POST /api/v1/stacks/user
  2. POST /api/v1/stacks/{stack_id}/cluster

endpoints.

I see that in Cloudbreak 2.X this is done in a single request:

  • POST /api/v2/stacks/user

My question is: is it possible to achieve the same flow using Cloudbreak 2 APIs? And if so, can you please share some example calls?

Thanks in advance,

Ralitsa

1 REPLY 1
Highlighted

Re: Create stack and cluster in separate requests with Cloudbreak 2

@Ralitsa Todorova Have you seen this article that walks you through an example using the CB 2.x CLI: https://community.hortonworks.com/articles/186572/hdp-deployment-using-cloudbreak-cli.html? The Swagger docs for the API may also be useful: https://app.swaggerhub.com/apis/Cloudbreak/Cloudbreak/2.4.1