Haproxy-ingress with AWS NLB

276 views
Skip to first unread message

Rajendra Sharma

unread,
Dec 29, 2020, 5:21:06 AM12/29/20
to haproxy-ingress
Hi,
I am trying to configure haproxy-ingress with AWS NLB followed many documents but unable to get any luck. All documents showing NodePort as a type and we want to use LoadBalancer. 

Joao Morais

unread,
Dec 29, 2020, 4:14:24 PM12/29/20
to haproxy...@googlegroups.com
Hi, I didn't use aws myself to give you proper guidance and also to
write a proper doc. This comment [1] is from a coworker which
successfully configured HAProxy Ingress, let me know if it's of any
help.

[1] https://github.com/jcmoraisjr/haproxy-ingress/issues/594#issuecomment-648550729

Maybe you want to be notified when we deploy some aws related doc, if
so you can subscribe to this issue:
https://github.com/jcmoraisjr/haproxy-ingress/issues/679

~jm

Rajendra Sharma

unread,
Dec 30, 2020, 2:52:21 AM12/30/20
to haproxy-ingress
Hi
Sorry for the document. Please see the attached files which are I used.
nlb-service.yaml
deploy.yaml
ingress-rules.yaml

Joao Morais

unread,
Jan 9, 2021, 3:11:25 PM1/9/21
to haproxy...@googlegroups.com
On Wed, Dec 30, 2020 at 4:52 AM Rajendra Sharma
<rajendr...@mykaarma.com> wrote:
>
> Please see the attached files which are I used.

It seems you need, at least:

- match service's selector with deploy->template->labels, they don't
match so the service cannot find the controller pods
- use --publish-service, doc here:
https://haproxy-ingress.github.io/docs/configuration/command-line/#publish-service
- revise the tips written by mrrandrade, link here:
https://github.com/jcmoraisjr/haproxy-ingress/issues/594#issuecomment-648550729

~jm
Reply all
Reply to author
Forward
0 new messages