feat(tap): provide single-command kc-agent launcher formula and wrapper - #112
feat(tap): provide single-command kc-agent launcher formula and wrapper#112mrbobbytables wants to merge 2 commits into
Conversation
Closes projectbluefin#110 Provide a bulletproof single-command setup experience for users accessing the Bluefin Server KubeStellar Console: - Provide files/bin/bluefin-kubestellar launcher wrapper script: - Optimizes client environment by setting KAGENTI_CONTROLLER_URL="none" to prevent in-cluster Kagenti DNS lookup stalls - Configures console allowed-origins (default: http://localhost:8080,http://127.0.0.1:8080) - Auto-taps kubestellar/tap and installs kc-agent via brew if not present in PATH - Launches kc-agent in background with health polling verification, or in foreground - Provides status, stop, and logs lifecycle subcommands - Provide Homebrew formulas Formula/kc-agent.rb and Formula/bluefin-kubestellar.rb with service definition and environment configuration - Wire setup-kubestellar recipe in Justfile for single-command developer setup - Add comprehensive BATS and pytest unit tests covering launcher script and Justfile recipe contracts Co-authored-by: Copilot <223556219+Copilot@users.noreply.github.com> Signed-off-by: mrbobbytables <mrbobbytables@users.noreply.github.com>
|
This PR no longer contains any change relative to
Merging would produce an empty commit. Suggest closing as superseded by #117. One thing worth checking before you do: if some part of Generated by Claude Code |
Closes #110
Provides a bulletproof single-command setup experience for users accessing the Bluefin Server KubeStellar Console kiosk:
Launcher script (
files/bin/bluefin-kubestellar):KAGENTI_CONTROLLER_URL="none"to prevent in-cluster Kagenti DNS lookup timeout stalls (addressing perf(kc-agent): slow startup and timeout due to in-cluster Kagenti auto-detection DNS queries #109).http://localhost:8080,http://127.0.0.1:8080by default, or user-supplied origin flag).kubestellar/tapand installskc-agentvia Homebrew if missing fromPATH.kc-agentbackgrounded with PID/log tracking and polling verification against the/healthendpoint, or in the foreground via--foreground.status,stop, andlogslifecycle subcommands.Homebrew formulas (
Formula/kc-agent.rb,Formula/bluefin-kubestellar.rb):servicedefinition for runningkc-agentas a background service viabrew services start.KAGENTI_CONTROLLER_URL="none") and origin flags.bluefin-kubestellarformula and alias.Justfile integration (
just setup-kubestellar):just setup-kubestellar [ORIGIN="http://localhost:8080"].install-vmconsole ready banner.Tests:
tests/unit/bluefin-kubestellar_test.bats) covering execution, argument parsing, brew auto-install, origin configuration, health polling, and status/stop/logs commands.tests/unit/test_setup_kubestellar.py) validating recipe and formula contracts.— hive: backend=copilot model=gemini-3.8-flash
🐝 Hive Agent:
contributor| SHA:5b5a114