feat(cli): add the describe command - #327
Draft
rogirun wants to merge 1 commit into
Draft
Conversation
rogirun
force-pushed
the
feat/cli-describe-command
branch
from
September 6, 2026 12:59
be80669 to
1ec50de
Compare
rogirun
force-pushed
the
feat/cli-describe-renderer
branch
2 times, most recently
from
September 7, 2026 10:43
061c0fc to
4203a4c
Compare
rogirun
force-pushed
the
feat/cli-describe-command
branch
from
September 7, 2026 10:43
1ec50de to
8209d30
Compare
kli describe TYPE/NAME reads one workload in full: the component tree with its live pods, the normalized phase, and the requested resources per component. It is the describe half of the kubectl-style get/describe split, and the entry point an agent uses when it needs the whole picture of one workload. Argument parsing is shared with get, so both commands accept TYPE/NAME and the two-token TYPE NAME form and reject the same mistakes; describe additionally requires the NAME, and says so naming both forms rather than only the one the caller did not use. Phase 1 keeps the kind mandatory, and the parsing leaves the bare-NAME slot open for the cross-kind search that follows. Pods are listed once from the object's own namespace and scoped by ownership before the definition's selectors place them, so a neighbouring workload of the same type never appears in the tree. -o wide is rejected at parse time: one workload has no extra columns to widen into. Refs #206 Signed-off-by: Roee Gil <roee.gil@run.ai>
rogirun
force-pushed
the
feat/cli-describe-renderer
branch
from
September 7, 2026 12:20
4203a4c to
bb6fd11
Compare
rogirun
force-pushed
the
feat/cli-describe-command
branch
from
September 7, 2026 12:20
8209d30 to
3daa6b6
Compare
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What does this PR do?
Wires up kli describe TYPE/NAME. Argument parsing is shared with get, so both accept the same forms; describe additionally requires the NAME. Pods are listed once from the object's own namespace and scoped by ownership before the definition's selectors place them.
Part of a seven-PR stack implementing
kli describe(#206). Targetsfeat/cli-describe-renderer, which must merge first.Related issue(s)
Refs #206
Checklist
git commit -s)make check)🤖 Generated with Claude Code