Get hands-on experience with 20+ free Google Cloud products and $300 in free credit for new customers.

Using golang to build anthos cluster

Hi,

I am trying to build a Anthos hybrid cluster programmatically using golang. Is there any go sdk or apis available to create Anthis hybrid cluster programmatically? Or is using bmctl commands the only option? I tried to search in google but I could not find any.

0 1 213
1 REPLY 1

Hi @radhar4,

Welcome to Google Cloud Community!

A potential relevant thread on Stack Overflow might be similar to your concerns. As per @Yusuf, he was able to create a GKE cluster using Golang SDK

In Go lang libraries, GKE multi-cloud API is available. In addition, you can also check this package's Anthos Multi-Cloud API.

For additional references you can check these documentations:

I hope the above information is helpful.

Top Labels in this Space