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

Tuning Envoys: Adjust Istio Idle Timeout in UDS Core #847

Closed
4 tasks done
cmwylie19 opened this issue Jun 3, 2024 · 1 comment
Closed
4 tasks done

Tuning Envoys: Adjust Istio Idle Timeout in UDS Core #847

cmwylie19 opened this issue Jun 3, 2024 · 1 comment
Assignees

Comments

@cmwylie19
Copy link
Contributor

cmwylie19 commented Jun 3, 2024

Related to #745

With regard to the Kubernetes Watch flakiness it was suggested to try adjusting the idleTimeout in Istio to see if that plays any role keeping the connections alive.

Background: The idleTime determines the duration a connection can be idle before being terminated by the proxy.

apiVersion: networking.istio.io/v1alpha3
kind: EnvoyFilter
metadata:
  name: timeout-test
  namespace: istio-system
spec:
  configPatches:
  - applyTo: NETWORK_FILTER
    match:
      context: ANY # EVERYWHERE!
      listener:
        filterChain:
          filter:
            name: "envoy.filters.network.http_connection_manager"
    patch:
      operation: MERGE
      value:
        typed_config:
          "@type": type.googleapis.com/envoy.extensions.filters.network.http_connection_manager.v3.HttpConnectionManager
          common_http_protocol_options:
            idle_timeout: "3h" # Increased from 1 hour

Definition of done:

  • Deploy UDS Core with Pepr <= 0.31.0 (Pre-Informer to make sure results are not skewed)
  • Crank up neuvector the CronJob to run every minute
  • Deploy this EnvoyFilter for the whole mesh
  • Document and present results

CC: @blancharda

Related External Issue: istio/istio#50089

@cmwylie19 cmwylie19 moved this to 🆕 New in Pepr Project Board Jun 3, 2024
@cmwylie19 cmwylie19 moved this from 🆕 New to 📋 Backlog in Pepr Project Board Jun 3, 2024
@cmwylie19 cmwylie19 moved this from 📋 Backlog to 🏗 In progress in Pepr Project Board Jun 3, 2024
@cmwylie19 cmwylie19 self-assigned this Jun 3, 2024
@cmwylie19
Copy link
Contributor Author

image

Unfortunately tuning the Envoy's idleTimeout has not played a factor.

@github-project-automation github-project-automation bot moved this from 🏗 In progress to ✅ Done in Pepr Project Board Jun 3, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
Archived in project
Development

No branches or pull requests

1 participant