feat: systemd support#295
Open
jason-lynch wants to merge 3 commits intofeat/PLAT-417/rename-binaryfrom
Open
Conversation
|
Important Review skippedAuto reviews are disabled on base/target branches other than the default branch. Please check the settings in the CodeRabbit UI or the ⚙️ Run configurationConfiguration used: Organization UI Review profile: CHILL Plan: Pro Run ID: You can disable this status message by setting the Use the checkbox below for a quick retry:
✨ Finishing Touches🧪 Generate unit tests (beta)
Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out. Comment |
5b65dd1 to
7512d78
Compare
0292169 to
fecca31
Compare
3b2cb2d to
1811d33
Compare
8cb89f9 to
c752911
Compare
32a39ff to
1ef89d0
Compare
c752911 to
9c4262c
Compare
32ef891 to
5c8c403
Compare
9c4262c to
e179f4c
Compare
5c8c403 to
79fbfc1
Compare
e179f4c to
40f2797
Compare
79fbfc1 to
b1b5cae
Compare
40f2797 to
0e319c3
Compare
This was referenced Mar 11, 2026
Adds an orchestrator implementation for SystemD. As of this commit, you'll need to install Postgres on the host before starting the Control Plane: ``` dnf install -y epel-release dnf dnf config-manager --set-enabled crb dnf update -y --allowerasing dnf install -y https://dnf.pgedge.com/reporpm/pgedge-release-latest.noarch.rpm dnf install -y \ pgedge-postgresql18 \ pgedge-spock50_18 \ pgedge-snowflake_18 \ pgedge-lolor_18 \ pgedge-postgresql18-contrib \ pgedge-pgbackrest \ pgedge-python3-psycopg2 pip install 'patroni[etcd,jsonlogger]==4.1.0' ``` You'll also need to temporarily disable SELinux: ``` setenforce 0 ``` This will need to be repeated after each restart. We're going to avoid disabling it completely and instead include an SELinux policy in our packages. PLAT-417
Adds a development environment for the SystemD orchestrator, called `dev-lima`. Just like the `compose` environment, this environment exposes all services and databases on your host machine.
Adds support for running E2Es against the `dev-lima` environment. PLAT-417
b1b5cae to
3b749f2
Compare
0e319c3 to
900598e
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Summary
Adds preliminary support for orchestrating pgEdge Enterprise Postgres databases using SystemD instead of Docker Swarm.
Testing
This PR includes a lima-based development environment. See the changes in
running-locally.mdfor complete instructions. If you're already set up to run the lima-based E2E fixtures, you can do:Notes for Reviewers
As of this PR, the control-plane server does not respond to upgrades or other package changes that happen after the server starts. If you install a minor version update, you will be blocked from updating existing databases until you:
postgres_versionin your database specThis will change in a subsequent PR.
PLAT-417