Update clusterLocal docs to allow for exceptions when using wide clusterLocal configs (#15828)

* Update clusterLocal docs for exclusions

Signed-off-by: clarkjohnd <clark.john.d@outlook.com>

* Update content/en/docs/ops/configuration/traffic-management/multicluster/index.md

---------

Signed-off-by: clarkjohnd <clark.john.d@outlook.com>
Co-authored-by: Craig Box <craig.box@gmail.com>
This commit is contained in:
John Clark 2025-04-04 00:31:47 +01:00 committed by GitHub
parent e258c868b1
commit 9539410578
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 14 additions and 0 deletions

View File

@ -61,6 +61,20 @@ serviceSettings:
{{< /tabset >}}
You can also refine service access down by setting a global cluster-local rule and adding explicit exceptions, which can be specific or wildcard. In the following example, all services in the cluster will be kept cluster-local, except any service in the `myns` namespace:
{{< text yaml >}}
serviceSettings:
- settings:
clusterLocal: true
hosts:
- "*"
- settings:
clusterLocal: false
hosts:
- "*.myns.svc.cluster.local"
{{< /text >}}
## Partitioning Services {#partitioning-services}
[`DestinationRule.subsets`](/docs/reference/config/networking/destination-rule/#Subset) allows partitioning a service