Commit Graph

44 Commits

Author SHA1 Message Date
Easwar Swaminathan a0a739f794
xds: ensure node ID is populated in errors from the server (#8140)
* xds: ensure node ID is populated in errors from the server

* xds: cleanup server e2e tests

* don't wrap status errors
2025-03-10 15:05:05 -07:00
Zach Reyes 267a09bb5d
xds/internal/xdsclient: Add counter metrics for valid and invalid resource updates (#8038) 2025-02-06 16:04:45 -08:00
Purnesh Dixit 79b6830e4b
xds: resubmit xds client pool changes from #7898 along with fix to set fallback bootstrap config from googledirectpath to xdsclient pool (#8050) 2025-02-04 23:59:01 +05:30
Purnesh Dixit 13181040b3
Revert "xdsclient: introduce pool to manage multiple xDS clients with same bootstrap content (#7898)" (#8058) 2025-01-30 23:44:47 +05:30
Purnesh Dixit 2517a4632b
xdsclient: introduce pool to manage multiple xDS clients with same bootstrap content (#7898) 2025-01-24 00:31:40 +05:30
Easwar Swaminathan 4e9b5968af
xds: add support for multiple xDS clients, for fallback (#7347) 2024-07-02 15:27:03 -07:00
Easwar Swaminathan dfcabe08c6
xds: cleanup bootstrap processing functionality (#7299) 2024-06-06 15:09:39 -07:00
Easwar Swaminathan 7e5898e7c5
xds: unify xDS client creation APIs meant for testing (#7268) 2024-06-03 15:32:58 -07:00
Zach Reyes 9199290ff8
xds: Move bootstrap config to internal/xds (#7182) 2024-05-03 16:51:11 -04:00
Zach Reyes ddd377f198
xds/server: fix RDS handling for non-inline route configs (#6915) 2024-01-16 19:03:18 -05:00
Easwar Swaminathan bb0d32f078
xds: don't fail channel/server startup when xds creds is specified, but bootstrap is missing certificate providers (#6848) 2023-12-19 16:30:43 -08:00
Doug Fawley 8190d883e0
envconfig: remove env vars for on-by-default features (#6749) 2023-10-26 13:08:20 -07:00
Doug Fawley fbff2abb0f
*: update `interface{}` to `any` and `go.mod` version to `go 1.19` (#6544) 2023-08-14 09:04:46 -07:00
Easwar Swaminathan d7f45cdf9a
xds/server: create the xDS client when the xDS enabled gRPC server is created (#6446) 2023-07-20 17:29:12 -07:00
Zach Reyes 575a9365fa
xds: Fail xDS Server Serve() if called after Stop() or GracefulStop() (#6410) 2023-06-27 17:11:30 -04:00
Ernest Nguyen Hung 7dfd71831d
internal/buffer: add Close method to the Unbounded buffer type (#6161) 2023-04-18 16:53:59 -07:00
Easwar Swaminathan d6dabba01f
xds/server: reduce chattiness of logs (#5995) 2023-01-31 14:57:29 -08:00
Easwar Swaminathan ace808232f
xdsclient: close func refactor (#5926)
Fixes https://github.com/grpc/grpc-go/issues/5895
2023-01-18 11:32:40 -08:00
Easwar Swaminathan f95b001a48
xds: avoid log spam during server mode switches (better A36 compliance) (#5215) 2022-03-17 14:35:42 -07:00
Easwar Swaminathan ec717cad73
xds: minor cleanup in xdsclient bootstrap code (#5195) 2022-02-15 15:41:49 -08:00
Zach Reyes 6e79bc8afe
xdsclient: add Cluster Specifier Name to Route (#4972)
* xdsclient: add Cluster Specifier Name to Route
2021-11-12 15:50:27 -05:00
Doug Fawley d61c7ae86d
internal: merge xds/envconfig into env package (#4923) 2021-11-10 17:05:08 -08:00
Menghan Li c53203c581
xds/federation: support populating resource template in xds-resolver (#4900) 2021-11-08 14:17:48 -08:00
Menghan Li 79e9c9571a
xds/client: move unmarshal functions and types to a separate package (#4904) 2021-11-08 11:11:24 -08:00
Zach Reyes e469f0d5f5
xds: Add env var protection for RBAC HTTP Filter (#4765)
* xds: Add env var protection for RBAC HTTP Filter
2021-09-17 01:01:07 -04:00
Easwar Swaminathan 4c5f7fb0ee
xds: de-experimentalize xDS apis required for psm security (#4753) 2021-09-15 14:05:59 -07:00
Zach Reyes 2608e38e63
xds: Added server side routing (#4726)
* Added server side routing
2021-09-09 13:35:41 -04:00
Zach Reyes ad87ad0098
xds: Add support for Dynamic RDS in listener wrapper (#4655)
* Add support for Dynamic RDS in listener wrapper
2021-08-11 18:48:24 -04:00
Aliaksandr Mianzhynski 95e48a892d
Add GetServiceInfo to xds.GRPCServer (#4507) 2021-06-09 11:05:17 -07:00
Menghan Li b1418a6e74
xds: export XDSClient interface and use it in balancer tests (#4510)
- xdsclient.New returns the interface now
- xdsclient.SetClient and xdsclient.FromResolverState take and return the interface now
- cleanup xds balancer tests to pass xds_client in resolver state
2021-06-08 16:05:50 -07:00
Doug Fawley 7beddeea91
cleanup: remove "Interface" as suffix of (almost all) interface names (#4512) 2021-06-04 08:58:26 -07:00
Doug Fawley 5c164e2b8f
xds: rename xds/internal/client package to xdsclient (#4511) 2021-06-03 16:10:21 -07:00
Doug Fawley 3508452162
xds: add test-only injection of xds config to client and server (#4476) 2021-06-02 10:48:18 -07:00
Easwar Swaminathan 52a707c0da
xds: serving mode changes outlined in gRFC A36 (#4328) 2021-04-26 14:29:06 -07:00
Menghan Li bce1cded4b
internal: use strings.Replace instead strings.ReplaceAll (#4279)
strings.ReplaceAll is only available after go 1.12. We still support go 1.11.
2021-03-18 16:01:39 -07:00
Easwar Swaminathan e8930beb0e
xds: Prepare to support filter chains on the server (#4222) 2021-03-10 21:12:44 -08:00
Easwar Swaminathan a45f13b160
xds: Support server_listener_resource_name_template (#4233) 2021-03-10 09:26:23 -08:00
Easwar Swaminathan d79063fdde
credentials/xds: Move non-user facing functionality to an internal package (#4117) 2020-12-16 15:46:56 -08:00
Easwar Swaminathan 2fad6bf4da
xds: Implement server-side security (#4092) 2020-12-16 10:27:18 -08:00
Easwar Swaminathan 21570d76d6
xds: Read server_resource_name_id from bootstrap config (#4049) 2020-11-23 16:40:36 -08:00
Easwar Swaminathan 8736dcd05b
xds: Accept a net.Listener in Serve(). (#4052) 2020-11-20 12:42:06 -08:00
Menghan Li 6caf9d8621
xds: make xds client a singleton (#4015)
- xdsclient.New() no longer takes any input, all configs are from bootstrap file
  - added a NewForTesting()
- The returned *Client is a wrapper of the underlying client implementation, for ref-couting
- xds-resolver and xds-server no longer calls bootstrap.NewConfig. It only calls xdsclient.New()
2020-11-12 11:08:36 -08:00
Easwar Swaminathan 28c130fe3d
xds: Minor improvements to xDS server API and test. (#4026) 2020-11-11 10:12:52 -08:00
Easwar Swaminathan 9c2f82d9a7
xds: Server implementation (#3999)
* xds: Server implementation.

* Remove security related code.

* Add a blocking newListenerWrapper() method.

* Fix some comments.

* Use non-blocking dial.

* Use WaitForReady().

* Use localhost instead of 127.0.0.1

* Another attempt to make the tests happy on GA.

* Make vet happy.

* Add a missing return.
2020-11-06 11:25:19 -08:00