Skip to content

feat(cli): add gateway backend selection#944

Open
drew wants to merge 1 commit intomainfrom
drew/gateway-backend-start
Open

feat(cli): add gateway backend selection#944
drew wants to merge 1 commit intomainfrom
drew/gateway-backend-start

Conversation

@drew
Copy link
Copy Markdown
Collaborator

@drew drew commented Apr 23, 2026

Summary

Add a --backend selector to openshell gateway start while keeping k3s as the compatibility default.
This adds host-run kubernetes and vm gateway backends, preserves the existing k3s bootstrap path, and makes gateway lifecycle commands backend-aware.

Related Issue

N/A

Changes

  • add --backend k3s|kubernetes|vm|podman to openshell gateway start, defaulting to k3s
  • keep the current Docker bootstrap implementation behind the k3s backend and pin mise run cluster to it explicitly
  • add host-run gateway startup for kubernetes and vm, with XDG-managed PID, log, TLS, and database state
  • store backend metadata and use it to dispatch gateway stop, gateway destroy, doctor logs, and doctor exec
  • enforce localhost-only gateway destroy targets and return a clear unimplemented error for podman
  • prefer OPENSHELL_GATEWAY_HOST for cluster bootstrap host overrides and document it in .env.example

Testing

  • mise run pre-commit passes
  • Unit tests added/updated
  • E2E tests added/updated (if applicable)

Checklist

  • Follows Conventional Commits
  • Commits are signed off (DCO)
  • Architecture docs updated (if applicable)

Signed-off-by: Drew Newberry <anewberry@nvidia.com>
@drew drew requested a review from a team as a code owner April 23, 2026 19:19
@copy-pr-bot
Copy link
Copy Markdown

copy-pr-bot Bot commented Apr 23, 2026

This pull request requires additional validation before any workflows can run on NVIDIA's runners.

Pull request vetters can view their responsibilities here.

Contributors can view more details about this message here.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant