Skip to content

Workaround for 503s during scaling down should not involve changing Istio sidecar injector #1370

Closed

Description

@tcnghia

Expected Behavior

When scaling down, we don't see requests hitting downed Pods causing 503s. Workarounds for this issue shouldn't include changing Istio sidecar injector either.

Actual Behavior

Previously we see this behavior. We worked around by adding a PreStop sleep to the sidecar proxy, so that the containers stay around a little bit longer.

However this workaround isn't robust if the users have Istio settings of their own. We need to fix this.

Activity

  1. added
    kind/bug
    kind/cleanup
    kind/doc
    on Jun 27, 2018
  2. modified the milestone: on Jul 17, 2018
  3. added a commit that references this issue on Jul 26, 2018
    20ca8e5
  4. added a commit that references this issue on Jul 27, 2018
    fc79f45
  5. added a commit that references this issue on Aug 2, 2018
    d21d361
  6. self-assigned this
    on Aug 13, 2018
  7. tcnghia commented on Aug 29, 2018

    @tcnghia
    ContributorAuthor

    I just ran an autoscaling load test and no longer observe Envoy proxy 503s even without the PreStop sleep we added in istio-proxy. The only 503s we observe were from throttling of requests.

    This may be from our recently added retries or improvements in Istio 1.0.1, or both.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

area/autoscalearea/networkingkind/bugkind/cleanupkind/doc

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions