feat(satellite): enable headless standalone mode - #620
Conversation
|
No actionable comments were generated in the recent review. 🎉 ℹ️ Recent review info⚙️ Run configurationConfiguration used: Repository UI Review profile: CHILL Plan: Pro Plus Run ID: 📒 Files selected for processing (5)
📝 WalkthroughWalkthroughThe satellite now supports headless mode through the ChangesHeadless satellite mode
Estimated code review effort: 3 (Moderate) | ~20 minutes Possibly related issues
Possibly related PRs
Suggested labels: Suggested reviewers: 🚥 Pre-merge checks | ✅ 5✅ Passed checks (5 passed)
✨ 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 |
Up to standards ✅🟢 Issues
|
| Metric | Results |
|---|---|
| Complexity | 0 |
| Duplication | 0 |
NEW Get contextual insights on your PRs based on Codacy's metrics, along with PR and Jira context, without leaving GitHub. Enable AI reviewer
TIP This summary will be updated as you push new changes.
Allows the satellite to operate without connection to Ground Control. Skips registration, heartbeats, and state replication schedulers, relying exclusively on local configuration. Signed-off-by: SuryaPratap <suryapratap592006@gmail.com>
1f54aa9 to
4b63c55
Compare
|
Thank you for your interest in Harbor Satellite, but I encourage you to look into the project and discuss with the maintainers and commuinty, before proceeding with the PRs directly. Architecturally, Harbor Satellite is dependent on Ground Control(GC) and it must. There has never been an discussion/proposal to decouples Satellite from GC and making it completely independent. Satellite may bootstrap with the local configs, but that doesn't mean it neither require GC nor to report GC. Hence this PR may get closed anytime. Thank you. |
|
@vg006 Hyy Vijay , that's my fault I haven't discussed about the context to the maintainers and jumped directly to PR. Thank You . |
Allows the satellite to operate without connection to Ground Control. Skips registration, heartbeats, and state replication schedulers, relying exclusively on local configuration.
--headlessCLI flag andHEADLESSenvironment variable support.--token,--ground-control-url,--harbor-registry-url) on startup if running in headless mode.ztrScheduler), status reporting/heartbeats (statusScheduler), and remote state replication (stateScheduler) from launching during startup when headless mode is active.ConfigManagerto track headless mode and bypass GC URL validation.Verification
go test ./...--headlessflag.Summary by CodeRabbit
--headlessCLI flag orHEADLESSenvironment setting.