Support Questions

Find answers, ask questions, and share your expertise
Announcements
Celebrating as our community reaches 100,000 members! Thank you!

How do i find the blueprint used for a stack from cloudbreak shell?

avatar
Rising Star

I installed cloud controller and created a stack by choosing a Cluster Type from HDC UI. I do see the blueprint name on HDC UI whichever I selected. How can I find the same info via cloudbreak shell?

1 ACCEPTED SOLUTION

avatar
Rising Star

hi @dbalasundaran,

stack list
stack select --id ...
cluster show
# This will give you a blueprintId
blueprint show --id ...

View solution in original post

7 REPLIES 7

avatar

@dbalasundaran

As per the below cloudbreak documentation, you can use below commands in shell to see the blueprint information.

To see the available blueprints and use one of them:

blueprint list

then select one of the created blueprints

blueprint select --id <ID of the blueprint>

or

blueprint select --name <Name of the blueprint>

references:

avatar
Rising Star

Thanks @Ayub Khan. This helps me get the list of all blueprints and choosing a blueprint for deployment. But if a deployment is completed how can I see the blueprint name used to deploy that stack?

avatar

As you have mentioned in your question, that you can see the blueprint name used from the HDC UI. You can check for the blueprint name in the above list command output or use name in the blueprint show command. Hope this helps.

avatar
@dbalasundaran

Does this answer your question?

avatar
Rising Star

i can see it from HDC UI. but i wanted to get the same from cloudbreak shell too. I want to select a stack from shell and see which is the blueprint used by that stack. I will bring up a cluster and try the steps mentioned by @bbihari below and respond.

avatar
Rising Star

hi @dbalasundaran,

stack list
stack select --id ...
cluster show
# This will give you a blueprintId
blueprint show --id ...

avatar
Rising Star

thanks @bbihari. this works!