首先,您需要创建或选择一个项目。您可以在部署容器的 Google Cloud 项目中启用 Binary Authorization。该项目就是您在其中运行支持的平台(例如 Google Kubernetes Engine [GKE]、Cloud Run 或 Google Distributed Cloud)的项目。
如需启用 Binary Authorization,请按以下步骤操作:
Sign in to your Google Cloud account. If you're new to
Google Cloud,
create an account to evaluate how our products perform in
real-world scenarios. New customers also get $300 in free credits to
run, test, and deploy workloads.
In the Google Cloud console, on the project selector page,
select or create a Google Cloud project.
[[["易于理解","easyToUnderstand","thumb-up"],["解决了我的问题","solvedMyProblem","thumb-up"],["其他","otherUp","thumb-up"]],[["很难理解","hardToUnderstand","thumb-down"],["信息或示例代码不正确","incorrectInformationOrSampleCode","thumb-down"],["没有我需要的信息/示例","missingTheInformationSamplesINeed","thumb-down"],["翻译问题","translationIssue","thumb-down"],["其他","otherDown","thumb-down"]],["最后更新时间 (UTC):2025-03-10。"],[[["This guide details how to enable Binary Authorization within your Google Cloud deployer project."],["Binary Authorization is enabled in the same Google Cloud project where you run supported container platforms like GKE, Cloud Run, or Google Distributed Cloud."],["Enabling Binary Authorization involves following a set of steps, after which it is ready to be set up with your container management platform."],["Removing or altering the Binary Authorization Service Agent's roles can result in authorization failures due to permission issues."]]],[]]