Skip to content
This repository was archived by the owner on Feb 16, 2019. It is now read-only.
This repository was archived by the owner on Feb 16, 2019. It is now read-only.

Cookie enable for the second services #46

@TsuyoshiUshio

Description

@TsuyoshiUshio

I'm not sure this is the bug or feature. However, I'd like to share with you guys.

I tried to use the match feature. My services structure is like this.

ingress -> web-front -> web-service I want to route the web-service (2.0.0) for the limited test users using Cookie. However, it didn't work at the first time.

type: route-rule
name: web-service-test-v2
spec:
  destination: web-service.default.svc.cluster.local
  precedence: 2
  match:
    httpHeaders:
      cookie:
        regex: "^(.*?;)?(NAME=v2tester)(;.*)?$"
  route:
  - tags:
      version: 2.0.0

After reading the sample program, I realized that , we need to transfer cookie from the web-front to the web-service. It makes sense. However, we need to do the same thing for our legacy k8s code bases and it is not cool. I recommend to do it by the istio. Or you already have any road map for that?

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions