本页面介绍了如何为 Google Distributed Cloud (GDC) 空气隔离环境中的受管服务创建项目网络政策。GDC 代管式服务是由 Google 构建和维护的服务。所有用户都可以默认使用该工具,并且可以通过 GDC Web 控制台或使用命令行访问该工具。托管式服务可以是 Google 开发的软件,也可以是 Google 已与 GDC 集成的开源软件。
[[["易于理解","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-07-16。"],[[["This page outlines how to create project network policies for managed services within Google Distributed Cloud (GDC) air-gapped environments."],["Managed services, built and maintained by Google, are accessible by default to all users in GDC and can be managed via the web console or command line."],["By default, a managed service only allows connections from the project that created it, but a project network policy can expose it to other projects."],["Global project network policies can be created to apply to all zones in an organization, enabling broader access to managed services."],["The provided example demonstrates how to use `kubectl` to create a `ProjectNetworkPolicy` that allows a specific project to access the Database Service (DBS) managed service."]]],[]]