版本 1.15。此版本已不再受支持。如需了解详情,请参阅 版本支持政策。
更新管理员节点映像类型
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
本页面介绍了如何更新管理员节点映像类型。这会影响 GKE on VMware 的管理员集群配置文件中的 osImageType
字段。
您可以使用以下所述的 gkectl update admin
命令更新管理员节点映像类型。
将管理员节点映像类型更新为 COS
在管理员集群配置文件中,将 osImageType
设置为 cos
针对每个管理员集群,运行 gkectl update 命令:
gkectl update admin --config ADMIN_CLUSTER_CONFIG --kubeconfig ADMIN_CLUSTER_KUBECONFIG
您需要将其中的:
- ADMIN_CLUSTER_CONFIG,替换为管理员集群配置文件的路径。
将管理员节点映像类型更新为 Ubuntu
在管理员集群配置文件中,将 osImageType
设置为 ubuntu_containerd
针对每个管理员集群,运行 gkectl update 命令:
gkectl update admin --config ADMIN_CLUSTER_CONFIG --kubeconfig ADMIN_CLUSTER_KUBECONFIG
您需要将其中的:
- ADMIN_CLUSTER_CONFIG,替换为管理员集群配置文件的路径。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2023-12-12。
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"Hard to understand"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"Incorrect information or sample code"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"Missing the information/samples I need"
},{
"type": "thumb-down",
"id": "translationIssue",
"label":"翻译问题"
},{
"type": "thumb-down",
"id": "otherDown",
"label":"其他"
}]
[{
"type": "thumb-up",
"id": "easyToUnderstand",
"label":"易于理解"
},{
"type": "thumb-up",
"id": "solvedMyProblem",
"label":"解决了我的问题"
},{
"type": "thumb-up",
"id": "otherUp",
"label":"其他"
}]