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.

How get client external ip to extrapolate geolocation #385

@azr

Description

@azr

Is this a BUG or FEATURE REQUEST?:
FEATURE REQUEST ?

What Version of Istio and Kubernetes are you using, where did you get Istio from, Installation details
istio 0.8.0

Description

I have a service that requires to guess a request's country, from ip.

Solution 1 :
I changed service/istio-ingress and set externalTrafficPolicy: "Local"
So that a request won't hop across the cluster nodes & we can see the actual client's ip.
This kinda sucks for performances because we risks potentially imbalanced traffic spreading & yadi yada.

Non Solution 2 that didn't work - gcp only :
Use GCP's User-defined request headers

But I could not find the backend of the istio service as kubectl describe ingress | grep backends gave no result. source
Is istio's ingress actually creating a backend ? No, right ?

Anyways; I'm creating this for the record !

Related:
istio/istio#3059
#51

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions