Abstraction layer that enables container native load balancing
- Load Balancers can not identify pods in a node (VM) it only identifies instance group or nodes. So this is where NEGs comes in. NEGs are integrated with the Kubernetes
ingress controller
running on GCP - A network endpoint group (NEG) is a configuration object that specifies a group of backend endpoints or services. A common use case for this configuration is deploying services in containers. You can also distribute traffic in a granular fashion to applications running on your backend instances.
Zonal NEG
- One or more internal IP address endpoints that resolve to either VM or Pods.Internet NEG
- A single internet-routable endpoint that is hosted outside of Google Cloud.Serverless NEG
- A single endpoint within Google's network that resolves to an App Engine, Cloud Functions, API Gateway, or Cloud Run service.Hybrid connectivity NEG
- One or more endpoints