Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add consul.hashicorp.com/proxy-config-map annotation. #3347

Merged
merged 1 commit into from
Dec 11, 2023

Conversation

hashi-derek
Copy link
Member

@hashi-derek hashi-derek commented Dec 11, 2023

This introduces an annotation consul.hashicorp.com/proxy-config-map that allows for generically setting data in the opaque config map for proxy service registrations. Use of this annotation is not encouraged in most situations, but it is necessary for certain circumstances.

Notably, this new annotation allows users to specify the xds_fetch_timeout_ms configuration during service registration, which is sometimes needed by proxies with a large number of upstreams.

This introduces an annotation that allows for generically setting data in the
opaque config map for proxy service registrations. Use of this annotation is
not encouraged in most situations, but it is necessary for certain
circumstances.

Notably, this new annotation allows users to specify the `xds_fetch_timeout_ms`
configuration during service registration, which is sometimes needed by proxies
with a large number of upstreams.
@hashi-derek hashi-derek force-pushed the derekm/NET-6565/proxy-config-map branch from 2049caa to 015b994 Compare December 11, 2023 16:54
@hashi-derek hashi-derek added backport/1.1.x Backport to release/1.1.x branch backport/1.2.x This release branch is no longer active. backport/1.3.x labels Dec 11, 2023
@hashi-derek hashi-derek marked this pull request as ready for review December 11, 2023 18:24
@david-yu
Copy link
Contributor

@hashi-derek Could you also add a PR for docs for this new annotation here: https://developer.hashicorp.com/consul/docs/k8s/annotations-and-labels#consul-service-mesh

Copy link
Contributor

@thisisnotashwin thisisnotashwin left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nicely done!! LGTM!!

@hashi-derek hashi-derek merged commit 653a4c0 into main Dec 11, 2023
56 of 57 checks passed
@hashi-derek hashi-derek deleted the derekm/NET-6565/proxy-config-map branch December 11, 2023 19:31
sarahalsmiller pushed a commit that referenced this pull request Jan 5, 2024
This introduces an annotation that allows for generically setting data in the
opaque config map for proxy service registrations. Use of this annotation is
not encouraged in most situations, but it is necessary for certain
circumstances.

Notably, this new annotation allows users to specify the `xds_fetch_timeout_ms`
configuration during service registration, which is sometimes needed by proxies
with a large number of upstreams.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport/1.1.x Backport to release/1.1.x branch backport/1.2.x This release branch is no longer active. backport/1.3.x
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants