add haproxy sysext creation script
Add HAProxy Sysext Creation Script
This PR adds an HAProxy creation script to the repo. The creation has been tested and the running of the system extension tested on a VM. The script is heavily based on the keepalived script. Options and sample configurations have been pulled from AlmaLinux sources.
How to use
Just run ./create_haproxy_sysext.sh on a Linux system with Docker installed.
Testing done
Script run and system extension installed on Ubuntu system.
- [ ] Changelog entries added in the respective
changelog/directory (user-facing change, bug fix, security fix, update) - [ ] Inspected CI output for image differences:
/bootand/usrsize, packages, list files for any missing binaries, kernel modules, config files, kernel modules, etc.
Thanks for the PR - I'm curious, what would be the benefit here comparing to the official HAProxy Docker image: https://hub.docker.com/_/haproxy ?
There aren't really benefits, it's just an alternative method for deployment. If migrating from a traditional HAProxy-on-VMs deployment this method might be easier for people to use.
Hi @justdan96, sorry for the long silence. We have switched to a more integrated way of building sysexts with significant improvements. Could you please have a look at https://github.com/flatcar/sysext-bakery?tab=readme-ov-file#adding-new-extensions and convert your PR to the new system? Should be an easy merge after that.