简体   繁体   English

GKE 上使用共享 VPC 的网络端点组

[英]Network Endpoint Groups on GKE using shared VPC

Is it possible to use Network Endpoint Groups (NEGs) on GKE with shared VPC?是否可以在具有共享 VPC 的 GKE 上使用网络端点组 (NEG)?

hkanjih,汉字,

For your case, you can to use the Zonal.network endpoint groups.对于您的情况,您可以使用 Zonal.network 端点组。 Accordingly to Google documentation the primary use case for this configuration is deploying containers on your VMs so that you can run services in the containers.根据 Google 文档,此配置的主要用例是在您的 VM 上部署容器,以便您可以在容器中运行服务。 You can also distribute traffic in a granular fashion to applications running on the VMs.您还可以将流量以细粒度的方式分发到 VM 上运行的应用程序。 More information is available here . 此处提供更多信息。

The gce ingress controller is the ideal way to manage the NEGs. gce ingress controller 是管理 NEG 的理想方式。 If you annotate the service with " cloud.google.com/neg: '{"ingress": true}' ", the controller will automatically generate the NEGs when an ingress is generated and connected to the service.如果您使用“cloud.google.com/neg: '{"ingress": true}'”注释服务,则 controller 将在生成入口并连接到服务时自动生成 NEG。 Details about how to implement it, can be found here .有关如何实施它的详细信息,请参见此处

For specific use cases, you can also use Stand Alone NEGs.对于特定用例,您还可以使用独立 NEG。 Check for more information here . 在此处查看更多信息。

声明:本站的技术帖子网页,遵循CC BY-SA 4.0协议,如果您需要转载,请注明本站网址或者原文地址。任何问题请咨询:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM