Skip to content

xdsclient: support environment variable protection for fallback #7479

@easwars

Description

@easwars

According to the xDS fallback design A71, support for the GRPC_EXPERIMENTAL_XDS_FALLBACK environment variable needs to be added:

If this variable is unset or is false, only one xDS server will be read from the bootstrap file.

It might be tricky for us to read a single server from the bootstrap file since we currently unmarshal that field into an array of JSON objects, but we could change the implementation to ignore everything but the first server if this env var is unset of false. In fact, this was the behavior before a bunch of bootstrap related changes were made to support xDS fallback.

Metadata

Metadata

Assignees

Labels

Type: FeatureNew features or improvements in behavior

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions