flatcar / sysext-bakery

Recipes for baking systemd-sysext images
Apache License 2.0
73 stars 39 forks source link

add haproxy sysext creation script #79

Open justdan96 opened 4 months ago

justdan96 commented 4 months ago

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.

tormath1 commented 4 months ago

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 ?

justdan96 commented 4 months ago

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.