Skip to content

Activator: the route rule for each inactive revision should have its own appendHeaders field #882

Closed

Description

@akyyy

/area autoscale

/kind dev
/kind doc

Expected Behavior

The ideal solution is to append different revision name as headers for each inactive revision.

Actual Behavior

I opened a feature request for Istio. istio/old_issues_repo#332.
Since appendHeaders is a field for RouteRule Spec, we don't have that granularity. We will direct traffic for all inactive revisions to activator service; and the activator will send the request to the inactive revision with the largest traffic weight. The consequence of using appendHeaders at Spec is: if there are more than one inactive revisions, the traffic split percentage would be distorted in a short period of time.

Activity

  1. added
    kind/feature
    kind/doc
    on May 11, 2018
  2. added
    tracking
    on May 11, 2018
  3. mattmoor commented on Jun 20, 2018

    @mattmoor
    Contributor

    /assign @tcnghia

    Will v1alpha3 fix this?

  4. removed their assignment
    on Jul 2, 2018
  5. tcnghia commented on Jul 2, 2018

    @tcnghia
    Contributor

    It looks like v1alpha3 won't fix it as is. The appendHeaders is still a route parameter, not a destination parameter.

    We could change this by making the revision-service a virtual host, but it may require extra an extra hop. The main route will need to route through ingress gateway.

  6. mattmoor commented on Nov 28, 2018

    @mattmoor
    Contributor

    I think this is enabled by Istio 1.1, whether that lands for 0.3 is a good question.

  7. added this to the Serving 0.5 milestone on Feb 11, 2019
  8. k4leung4 commented on Feb 20, 2019

    @k4leung4

    /area networking

  9. k4leung4 commented on Feb 20, 2019

    @k4leung4

    /cancel area/autoscale

  10. markusthoemmes commented on Jul 16, 2019

    @markusthoemmes
    Contributor

    @tcnghia is this still valid?

  11. mattmoor commented on Jul 19, 2019

    @mattmoor
    Contributor

    This is done 🎉

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    area/networkingkind/dockind/featuretracking

    Type

    No type

    Projects

    No projects

      Milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions