sysext-bakery icon indicating copy to clipboard operation
sysext-bakery copied to clipboard

add haproxy sysext creation script

Open justdan96 opened this issue 1 year ago • 3 comments

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: /boot and /usr size, packages, list files for any missing binaries, kernel modules, config files, kernel modules, etc.

justdan96 avatar Jul 01 '24 15:07 justdan96

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 ?

tormath1 avatar Jul 01 '24 16:07 tormath1

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.

justdan96 avatar Jul 02 '24 09:07 justdan96

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.

t-lo avatar Mar 24 '25 10:03 t-lo