solo-io / gloo

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

Feat/stevenctl/cls name #10286

Open nfuden opened 6 days ago

nfuden commented 6 days ago

this is the PR to use

Originally https://github.com/solo-io/gloo/pull/10255

Description

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

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!

solo-changelog-bot[bot] commented 6 days ago

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

github-actions[bot] commented 6 days ago

Visit the preview URL for this PR (updated for commit b7d259c):

https://gloo-edge--pr10286-feat-stevenctl-cls-n-4b40vjt4.web.app

(expires Wed, 20 Nov 2024 00:46:21 GMT)

🔥 via Firebase Hosting GitHub Action 🌎

Sign: 77c2b86e287749579b7ff9cadb81e099042ef677