IP source sur loadbalancer managé
... / IP source sur loadbalance...
BMPCreated with Sketch.BMPZIPCreated with Sketch.ZIPXLSCreated with Sketch.XLSTXTCreated with Sketch.TXTPPTCreated with Sketch.PPTPNGCreated with Sketch.PNGPDFCreated with Sketch.PDFJPGCreated with Sketch.JPGGIFCreated with Sketch.GIFDOCCreated with Sketch.DOC Error Created with Sketch.
question

IP source sur loadbalancer managé

Par
Youri
Créé le 2022-03-22 13:42:17 (edited on 2024-09-04 11:57:19) dans Managed Kubernetes service-old

Bonjour,

Nous utilisons plusieurs loadbalancers ( dont certains avec Ingress ) dont un managé par OVH pour recevoir des logs Graylog via GELF.

Sur les loadbalancer type Ingress l'adresse IP source est bien celle du client mais sur le loadbalancer qui recoit les les messages Graylog au format GELF nous n'arrivons pas récupérer la véritable IP source.

Extrait de la conf:


Type: LoadBalancer
IP Families:
IP: 10.3.XXX.21X
IPs:
LoadBalancer Ingress: XX.210.XXX.3X
Port: gelf 12222/TCP
Session Affinity: None
External Traffic Policy: Cluster

Il semblerai que ce service soit bien de type Ingress mais il est managé directement par OVH. Est-il possible d'ajouter des annotations pour modifier la configuration et garder l'ip source ?

Le fait de changer External Traffic Policy à Local ne permet pas non plus d'obtenir l'IP client source.

Cordialement