Kubernetes Bouncer Options
Which ingress controller work with Crowdsec? I see bouncers for ingress-nginx and Trafeik, but I'm hoping to run HAProxy. I see the bouncer instructions for it but not for running it with a HAProxy ingress controller. If anyone knows where instructions on how to get it set up it would be appreciated!
3 Replies
Important Information
Thank you for getting in touch with your support request. To expedite a swift resolution, could you kindly provide the following information? Rest assured, we will respond promptly, and we greatly appreciate your patience. While you wait, please check the links below to see if this issue has been previously addressed. If you have managed to resolve it, please use run the command
/resolve or press the green resolve button below.Log Files
If you possess any log files that you believe could be beneficial, please include them at this time. By default, CrowdSec logs to /var/log/, where you will discover a corresponding log file for each component.
Guide Followed (CrowdSec Official)
If you have diligently followed one of our guides and hit a roadblock, please share the guide with us. This will help us assess if any adjustments are necessary to assist you further.
Screenshots
Please forward any screenshots depicting errors you encounter. Your visuals will provide us with a clear view of the issues you are facing.
© Created By WhyAydan for CrowdSec ❤️
We are working on a new version of the haproxy bouncer based on the SPOE protocol (https://github.com/crowdsecurity/cs-haproxy-spoa-bouncer), but we haven't looked into this type of deployment yet, so there might be some issue, and we definitely don't have any documentation specific to this, but it shouldn't be too hard (without thinking too much, i'd say it's just a matter of deploying the bouncer, creating a service and pointing the ingress to it. You will also need to load a bit of LUA in the haproxy ingress for the block to actually happen, that's probably the hardest part).
Also note that we don't publish a docker image yet, but there's a dockerfile in the repo.
There's a haproxy ingress controller that is not run by the haproxy team and may be more popular then the officialy supported version. I just looked at their github and it seems to load lua so maybe it's not a problem if using that version instead?
https://github.com/jcmoraisjr/haproxy-ingress
https://github.com/haproxytech/kubernetes-ingress/