GCE instance name


#1

Hi,
While creating a server group the instances in the group get names with the following format: app-name-v000-random-string, E.g. gcetesting-v001-lt8p
I tried using customUserData when creating the instance group but that shows up only in the spinnaker UI and is not reflected in GCP. Is there a way to set the name for the instance as you would in terraform?
Thanks!


#2

Spinnaker overall is opinionated about the naming of resources it manages. This causes friction for users who also have a specific/opinionated naming scheme for resources. There is a stream of work in flight to make naming within spinnaker more flexible via Moniker. Not all providers have full support for Moniker naming schemes yet (GCE doesn’t) so YMMV depending on provider currently.


#3

Thanks, will need to find a workaround for now.