From dd730bd1d2a9d2afa4bf4030e20688c749aae459 Mon Sep 17 00:00:00 2001 From: Sebastian Mark Date: Wed, 5 Jan 2022 23:10:37 +0100 Subject: [PATCH] DOC: use ProxyProtocol for Linode LB --- README.md | 18 ++++++++++++++++++ 1 file changed, 18 insertions(+) diff --git a/README.md b/README.md index 16cf7ce..448ff6d 100644 --- a/README.md +++ b/README.md @@ -5,3 +5,21 @@ * [metrics-server](https://github.com/bitnami/charts/tree/master/bitnami/metrics-server) * [prometheus and grafana](https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack) * [keel](https://keel.sh) + +## Notes + +### Linode + +ProxyProtocol needs to be enabled for ingress-nginx to see the clients IP in ingress log. + +Add the ProxyProtocol annotation to the ingress-nginx service: +``` +annotations: + service.beta.kubernetes.io/linode-loadbalancer-proxy-protocol: v2 +``` + +Update the ingress-nginx ConfigMap to make nginx expect ProxyProtocol data: +``` +data: + use-proxy-protocol: "true" +```