Skip to content

EPP: Destination Endpoint Keys Should Not Be FlagsΒ #1267

@danehans

Description

@danehans

Here are the flags in question:

	destinationEndpointHintKey = flag.String(
		"destinationEndpointHintKey",
		runserver.DefaultDestinationEndpointHintKey,
		"Header and response metadata key used by Envoy to route to the appropriate pod. This must match Envoy configuration.")
	destinationEndpointHintMetadataNamespace = flag.String(
		"DestinationEndpointHintMetadataNamespace",
		runserver.DefaultDestinationEndpointHintMetadataNamespace,
		"The key for the outer namespace struct in the metadata field of the extproc response that is used to wrap the"+
			"target endpoint. If not set, then an outer namespace struct should not be created.")

These values must match on the Gateway. Therefore, they should not be configurable or the config should be exposed by InferencePool ExtensionConnection.

+1 on simply removing the flags until enough users demand to make them configurable.

Thoughts @ahg-g @kfswain @nirrozenbaum @robscott

Metadata

Metadata

Assignees

Labels

triage/acceptedIndicates an issue or PR is ready to be actively worked on.

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions