DOC: use ProxyProtocol for Linode LB
This commit is contained in:
parent
c05abc032e
commit
dd730bd1d2
1 changed files with 18 additions and 0 deletions
18
README.md
18
README.md
|
@ -5,3 +5,21 @@
|
||||||
* [metrics-server](https://github.com/bitnami/charts/tree/master/bitnami/metrics-server)
|
* [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)
|
* [prometheus and grafana](https://github.com/prometheus-community/helm-charts/tree/main/charts/kube-prometheus-stack)
|
||||||
* [keel](https://keel.sh)
|
* [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"
|
||||||
|
```
|
||||||
|
|
Loading…
Reference in a new issue