为 GKE 设置
使用集合让一切井井有条
根据您的偏好保存内容并对其进行分类。
本页面简要介绍了如何在您的环境中设置 Binary Authorization 以与 Google Kubernetes Engine (GKE) 搭配使用。您可以使用 Google Cloud Console 或 Google Cloud CLI 设置 Binary Authorization。您还可以使用 Binary Authorization REST API 执行一些设置步骤。
如需查看包含以下设置步骤的端到端教程,请参阅 Google Cloud CLI 使用入门或 Google Cloud 控制台使用入门。
如需设置 Binary Authorization,请执行以下步骤:
- 启用 Binary Authorization。
创建集群并启用 Binary Authorization,或在现有集群上启用 Binary Authorization。
配置 Binary Authorization 政策。
您可以在政策中配置以下功能:
可选:使用 built-by-cloud-build
证明者仅部署由 Cloud Build 构建的映像(预览版)。
可选:使用证明。
部署容器映像。
在 Cloud Audit Logs 中查看事件。
如未另行说明,那么本页面中的内容已根据知识共享署名 4.0 许可获得了许可,并且代码示例已根据 Apache 2.0 许可获得了许可。有关详情,请参阅 Google 开发者网站政策。Java 是 Oracle 和/或其关联公司的注册商标。
最后更新时间 (UTC):2022-09-15。
[{
"type": "thumb-down",
"id": "hardToUnderstand",
"label":"很难理解"
},{
"type": "thumb-down",
"id": "incorrectInformationOrSampleCode",
"label":"信息或示例代码不正确"
},{
"type": "thumb-down",
"id": "missingTheInformationSamplesINeed",
"label":"没有我需要的信息/示例"
},{
"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":"其他"
}]