solo-io / gloo

The Cloud-Native API Gateway and AI Gateway
https://docs.solo.io/
Apache License 2.0
6 stars 0 forks source link

k8s gateway cluster names #10357

Closed jenshu closed 2 days ago

jenshu commented 1 week ago

Description

(reopening the PR that was migrated to https://github.com/k8sgateway/k8sgateway/pull/10286, which was originally copied from https://github.com/solo-io/gloo/pull/10255)

This will make cluster names for kube services look like kube-svc_name_namespace_port or kube-svc_reviews_bookinfo_8080. If we add other resources besides a kube service, this also lets us get things like istio-se_helloworld_backend-ns_5000.

This will only happen for Gateway v2 translation. We can disable it using the env var GG_K8S_GW_LEGACY_CLUSTER_NAMES.

API changes

We can disable it using the env var GG_K8S_GW_LEGACY_CLUSTER_NAMES.

Code changes

Docs changes

We should document this as a breaking change; users who rely on the old format should use the env var or update their EnvoyFilters or whatever config relies on XDS names...

Context

https://github.com/solo-io/solo-projects/issues/7105

Interesting decisions

Testing steps

TODO!

API changes

Code changes

CI changes

Docs changes

Context

Interesting decisions

Testing steps

Notes for reviewers

Checklist:

solo-changelog-bot[bot] commented 1 week ago

Issues linked to changelog: https://github.com/solo-io/solo-projects/issues/7105