docs: document preview support for systemd#321
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:
📝 WalkthroughWalkthroughThese changes introduce documentation for installing pgEdge Control Plane via RPM packages on Linux systems without Docker. A new installation guide was added along with index and navigation updates to reflect this preview feature. Changes
Poem
🚥 Pre-merge checks | ✅ 2 | ❌ 1❌ Failed checks (1 inconclusive)
✅ Passed checks (2 passed)
✏️ Tip: You can configure your own custom pre-merge checks in the settings. ✨ 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 |
1e4673e to
9b54d96
Compare
a876501 to
2f71477
Compare
Up to standards ✅🟢 Issues
|
9b54d96 to
43254b8
Compare
2f71477 to
2f03fb0
Compare
43254b8 to
3426d14
Compare
2f03fb0 to
5067048
Compare
3426d14 to
12cb3b8
Compare
5067048 to
959fe6a
Compare
12cb3b8 to
9095732
Compare
959fe6a to
7b0ae3d
Compare
9095732 to
e81f943
Compare
7b0ae3d to
41034d1
Compare
|
@coderabbitai review |
✅ Actions performedReview triggered.
|
There was a problem hiding this comment.
Actionable comments posted: 2
🧹 Nitpick comments (1)
docs/installation/index.md (1)
11-11: Polish wording for clarity.Line 11 reads a bit awkwardly (“Currently only supports…”). A small wording tweak improves readability.
✏️ Suggested edit
-* [Installing via System Packages](systemd.md) covers installing the Control Plane via system packages, without Docker. This is a **preview feature** and is not recommended for production use. Currently only supports installation through RPMs. +* [Installing via System Packages](systemd.md) covers installing the Control Plane via system packages, without Docker. This is a **preview feature** and is not recommended for production use. Currently, it supports installation through RPMs only.🤖 Prompt for AI Agents
Verify each finding against the current code and only fix it if needed. In `@docs/installation/index.md` at line 11, Reword the awkward sentence in the list item that begins "* [Installing via System Packages](systemd.md)..." to improve clarity; replace "Currently only supports installation through RPMs." with a clearer variant such as "Currently supports RPM-based installations only." so the phrasing flows naturally and reads consistently with the preceding clause about preview status.
🤖 Prompt for all review comments with AI agents
Verify each finding against the current code and only fix it if needed.
Inline comments:
In `@docs/installation/installation.md`:
- Line 5: Replace the non-descriptive anchor text "[here](../using-ha/index.md)"
with a meaningful, accessible label that describes the target, e.g.,
"High-Availability Deployment Best Practices" (keep the existing URL
../using-ha/index.md); update the markdown link in the installation.md sentence
so the link text clearly conveys what the reader will find.
In `@docs/installation/systemd.md`:
- Around line 130-147: Update the example JSON block and curl payload to use the
API's expected field name server_urls (an array) instead of server_url, and
adjust the surrounding text to indicate an array of server URLs is required;
specifically change the JSON token payload and the --data body for the POST to
/v1/cluster/join to include "server_urls": ["http://198.19.249.2:3000"] so the
init/join API receives an array as documented.
---
Nitpick comments:
In `@docs/installation/index.md`:
- Line 11: Reword the awkward sentence in the list item that begins "*
[Installing via System Packages](systemd.md)..." to improve clarity; replace
"Currently only supports installation through RPMs." with a clearer variant such
as "Currently supports RPM-based installations only." so the phrasing flows
naturally and reads consistently with the preceding clause about preview status.
🪄 Autofix (Beta)
Fix all unresolved CodeRabbit comments on this PR:
- Push a commit to this branch (recommended)
- Create a new PR with the fixes
ℹ️ Review info
⚙️ Run configuration
Configuration used: Organization UI
Review profile: CHILL
Plan: Pro
Run ID: 86e9a8b2-76b8-42f0-8a73-3304293f6fd2
📒 Files selected for processing (4)
docs/installation/index.mddocs/installation/installation.mddocs/installation/systemd.mdmkdocs.yml
e81f943 to
e8b57e4
Compare
41034d1 to
7f41594
Compare
e8b57e4 to
7512dc8
Compare
7f41594 to
7d7c6be
Compare
|
|
||
| ```sh | ||
| rpm -i pgedge-control-plane-<version>.<arch>.rpm | ||
| ``` |
There was a problem hiding this comment.
Can we update this section like below?
# Detect architecture
ARCH=$(uname -m | sed 's/x86_64/amd64/;s/aarch64/arm64/')
# Set the version to install (replace with the latest release version)
VERSION="0.7.0"
# Download the RPM
curl -LO "https://github.com/pgedge/control-plane/releases/download/v${VERSION}/pgedge-control-plane_${VERSION}_linux_${ARCH}.rpm"
# Install the RPM
rpm -i pgedge-control-plane_${VERSION}_linux_${ARCH}.rpmThere was a problem hiding this comment.
I've made this change. I formatted the version a little differently with the v prefix (VERSION="v0.7.0") so it gets picked up by our release automation, which updates the version numbers in our docs.
Adds a page to our docs that describes the preview support for systemd using the RPM files attached to our releases. PLAT-511
7512dc8 to
03b91fc
Compare
7d7c6be to
e67c737
Compare
Summary
Adds a page to our docs that describes the preview support for systemd using the RPM files attached to our releases.
Testing
Create a test release with:
Then, start one or more VMs using the template in the
limadirectory, e.g.:Now, when you connect to the new machine, you'll find that your home directory is mounted inside the VM. The path will change depending on where the control plane repo is on your host machine, the VM architecture, and the specific git commit that you've built, but in general the installation should look like:
From there, you can follow the other instructions in the doc to install prerequisites, configure, and start the control plane.
PLAT-511