GoogleCloudPlatform / k8s-config-connector

GCP Config Connector, a Kubernetes add-on for managing GCP resources
https://cloud.google.com/config-connector/docs/overview
Apache License 2.0
877 stars 214 forks source link

Support creating Internet NEG #780

Open tedelwartowski-bestbuy opened 1 year ago

tedelwartowski-bestbuy commented 1 year ago

Checklist

Describe the feature or resource

This was originally requested in #502, though it looks like support for creating an internet NEG was never implemented. I would like to request adding support for the following:

Additional information

No response

Importance

This is a blocker; we would like to see this available Q1.

diviner524 commented 1 year ago

@tedelwartowski-bestbuy Thank you for filing the request!

To understand the requirement better, what is your envisioned usage of the KCC version compute_global_network_endpoint_group?

For example, are you looking to reference the NEG from a ComputeBackendService resource? Or you will probably just use the new global NEG as a standalone KCC resource? It would also be great if you can share some sample YAML you have in mind.

tsawada commented 3 months ago

I'd like to reference a NEG of networkEndpointType: INTERNET_FQDN_PORT and INTERNET_IP_PORT, which I think is not supported by KCC now, according to the documentation. https://cloud.google.com/config-connector/docs/reference/resource-docs/compute/computenetworkendpointgroup

In addition to ComputeNetworkEndpointGroup, this internet NEGs need ComputeNetworkEndpoint resource to configure the actual destination. https://registry.terraform.io/providers/hashicorp/google/latest/docs/resources/compute_global_network_endpoint