Skip to content

feat(cli): add sub-command 'arena llm' as proxy to kubectl-rbg#1437

Merged
google-oss-prow[bot] merged 1 commit intokubeflow:masterfrom
diw-zw:llm-sub
Apr 28, 2026
Merged

feat(cli): add sub-command 'arena llm' as proxy to kubectl-rbg#1437
google-oss-prow[bot] merged 1 commit intokubeflow:masterfrom
diw-zw:llm-sub

Conversation

@diw-zw
Copy link
Copy Markdown
Contributor

@diw-zw diw-zw commented Apr 28, 2026

Summary

Adds a new llm subcommand to the arena CLI that proxies all arguments to the kubectl-rbg binary. This allows users to access LLM deployment management capabilities through a single unified entry point (arena llm ...) without merging the two tools' codebases or resolving dependency conflicts.

Motivation

kubectl-rbg provides LLM-related capabilities (service management, model management, benchmarking, etc.) as a separate CLI tool. Requiring users to remember and switch between two binaries degrades the user experience. This change unifies the entry point while keeping both tools independently maintainable.

Changes

  • pkg/commands/llm/llm.go — new file; defines NewLLMCommand() which delegates to kubectl-rbg llm <args...> via os/exec, with stdin/stdout/stderr passthrough and a clear error message if kubectl-rbg is not found in $PATH
  • pkg/commands/root.go — registers the new llm subcommand

Usage

# equivalent to: kubectl-rbg llm svc list
arena llm svc list

# equivalent to: kubectl-rbg llm --help
arena llm --help

… rbg'

Signed-off-by: 照微 <wd528567@alibaba-inc.com>
Copy link
Copy Markdown
Collaborator

@cheyang cheyang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

/lgtm
/approve

@google-oss-prow
Copy link
Copy Markdown

[APPROVALNOTIFIER] This PR is APPROVED

This pull-request has been approved by: cheyang

The full list of commands accepted by this bot can be found here.

The pull request process is described here

Details Needs approval from an approver in each of these files:

Approvers can indicate their approval by writing /approve in a comment
Approvers can cancel approval by writing /approve cancel in a comment

@google-oss-prow google-oss-prow Bot merged commit ae3f3ce into kubeflow:master Apr 28, 2026
6 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants