google-cloud-platform - 如何编辑实例组中的实例后缀?

标签 google-cloud-platform cloud google-compute-engine google-cloud-sdk gce-instance-group

我的实例组会自动向我的实例添加随机后缀。

我想更改 GCP 实例组中的实例名称或后缀。我更喜欢一个编号后缀。

可以这样做吗?

Screenshot of my Google Cloud in the Instances Group section

最佳答案

无法控制属于实例组的实例的后缀。正如您可以在 documentation 中读到的那样即使使用带有可选标志的 SDK,您也可以更改实例的base-name,但没有有关后缀的提示。

--base-instance-name=BASE_INSTANCE_NAME

The base name to use for the Compute Engine
instances that will be created with the managed instance group. 
If not provided base instance name will be the prefix of instance group name.

此外,一旦创建了 Compute Engine 实例,就无法对其进行重命名。 在这里您可以找到UserVoice关于此功能的主题。

关于google-cloud-platform - 如何编辑实例组中的实例后缀?,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/49158758/

相关文章:

kubernetes - 意外删除的Kubernetes命名空间

kubernetes - 为GKE部署,服务等启用REST API

mysql - 这是适合存储大量图像的数据库(用于在线购物车)

c# - 找不到 Windows Azure 运行时 2.5

kubernetes - 从 GCP 快照创建的磁盘不会在 kubernetes 中调整大小

google-cloud-platform - 在谷歌数据流工作器上暂存文件

ide - 用于本地服务器的云IDE

python - 从 Compute Engine 与 App Engine 通信的安全方式

kubernetes - 如何在 GKE 中使用 ReadWriteMany 创建持久卷声明?

google-compute-engine - Google Compute 实例是否有稳定的公共(public) DNS 名称?