-
Notifications
You must be signed in to change notification settings - Fork 1.3k
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
inject: Configure proxy stream lifetime limits #11837
Conversation
linkerd/linkerd2-proxy#2587 adds configuration parameters that bound the lifetime and idle times of control plane streams. This change helps to mitigate imbalanced control plane replica usage and to generally prevent scenarios where a stream becomes "stuck," as has been observed when a control plane replica is unhealthy. This change adds helm values to control this behavior. Default values are provided.
d0ebecd
to
e1b6b26
Compare
@@ -44,6 +44,12 @@ env: | |||
value: {{.Values.proxy.defaultInboundPolicy}} | |||
- name: LINKERD2_PROXY_POLICY_CLUSTER_NETWORKS | |||
value: {{.Values.clusterNetworks | quote}} | |||
- name: LINKERD2_PROXY_CONTROL_STREAM_INITIAL_TIMEOUT | |||
value: {{((.Values.proxy.control).streams).initialTimeout | default "" | quote}} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Are the extra parentheses a protection against empty objects?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Yeah this will prevent erroring. https://stackoverflow.com/questions/59795596/how-to-make-nested-variables-optional-in-helm/68807258#68807258
This edge release includes fixes and improvements to the destination controller's endpoint resolution API. * Fixed an issue in the control plane where discovery for pod IP addresses could hang indefinitely ([#11815]) * Updated the proxy to enforce time limits on control plane response streams so that proxies more naturally distribute load over control plane replicas ([#11837]) * Fixed the policy's controller service metadata responses so that proxy logs and metrics have informative values ([#11842])
This edge release includes fixes and improvements to the destination controller's endpoint resolution API. * Fixed an issue in the control plane where discovery for pod IP addresses could hang indefinitely ([#11815]) * Updated the proxy to enforce time limits on control plane response streams so that proxies more naturally distribute load over control plane replicas ([#11837]) * Fixed the policy's controller service metadata responses so that proxy logs and metrics have informative values ([#11842])
linkerd/linkerd2-proxy#2587 adds configuration parameters that bound the lifetime and idle times of control plane streams. This change helps to mitigate imbalanced control plane replica usage and to generally prevent scenarios where a stream becomes "stuck," as has been observed when a control plane replica is unhealthy.
This change adds helm values to control this behavior. Default values are provided.