Repository navigation
Description
Split from #4975.
devops k8s deploy-stack deploys the manifests that MANIFESTS_BY_STACK lists for a stack (src/devops_cli/commands/k8s/stack_lifecycle.py:293). The TEI embed Deployment is a new manifest file in the environment tree of dan-petty/homelab. The llm entry of MANIFESTS_BY_STACK does not list it yet. This part waits on dan-petty/homelab#286, which creates the manifest file. A line that names a missing file would make deploy-stack fail for the llm stack. The line lands after that issue. Acceptance criteria: the llm entry of MANIFESTS_BY_STACK names the TEI embed manifest path. A test asserts that the llm entry holds the TEI embed manifest path. uv run devops ci --check --only k8s exits 0.
Proposed design
Problem statement
devops k8s deploy-stack deploys the manifests that MANIFESTS_BY_STACK lists for a stack. The llm entry does not list the TEI embed Deployment of the environment tree of dan-petty/homelab. A line that names a file the environment tree does not hold makes deploy-stack fail for the llm stack. So the line waits on dan-petty/homelab#286, which creates the manifest file. This item adds the path to the llm entry and one assertion to a test.
Acceptance criteria
Requirement: TEI embed manifest in the llm stack
The llm entry of MANIFESTS_BY_STACK SHALL hold the path of the TEI embed manifest of the environment tree.
Scenario: The llm entry holds the TEI embed path
- WHEN A unit test in
tests/commands/k8s/readsMANIFESTS_BY_STACK["llm"] - THEN The test finds the path of the TEI embed manifest in the entry.
Requirement: The TEI embed path uses the form of the llm list
The new path SHALL use the same form as the other paths of the llm list, a relative path from the root of the environment tree.
Scenario: The new path is relative
- WHEN A unit test reads each path of
MANIFESTS_BY_STACK["llm"] - THEN No path of the entry is absolute and no path starts with
...
Requirement: The k8s check passes
The change MUST pass the k8s check with no error.
Scenario: The k8s check runs
- WHEN A person runs
uv run devops ci --check --only k8s - THEN The command exits 0 and reports no failed check.
Existing Tool Considered
No alternatives check has run. No open, maintained tool or library covers the need: the change adds one path to the llm list of MANIFESTS_BY_STACK in src/devops_cli/commands/k8s/stack_lifecycle.py and one assertion to a test. The project already owns the list and its test. The written cost is about 300 tokens to build, keep and fix, and under 30 minutes of elapsed time.
Key questions
- Does a
MANIFESTS_BY_STACKline that names a file the environment tree does not hold makedeploy-stackfail for thellmstack?: Yes.deploy-stackapplies each listed path of the stack withkubectl apply -f. A path with no file fails the command for thellmstack. The line therefore lands afterdan-petty/homelab#286. [sources: k8s/README.md:22, src/devops_cli/commands/k8s/stack_lifecycle.py:293] - Which form does the
llmentry take for the TEI embed manifest path?: The same form as the other paths of thellmlist: aPathrelative to the root of the environment tree. The exact folder and file name come from the manifest thatdan-petty/homelab#286creates, so the entry names them after that merge. [sources: src/devops_cli/commands/k8s/stack_lifecycle.py:293, k8s/README.md:22] - Where does the test that asserts the
llmentry live?: Extend an existing stack test undertests/commands/k8s/that asserts the stack tables withPathvalues, astests/commands/k8s/test_k8s_devops_stack.pydoes. Use the helpers oftests/support/k8s_commands.py. Add no new test module. (best practice) [sources: tests/commands/k8s/test_k8s_devops_stack.py, tests/support/k8s_commands.py]- Chosen: Extend an existing stack test under tests/commands/k8s/. The repository already asserts the stack tables with
Pathvalues in these modules, and the helpers oftests/support/k8s_commands.pywrite the paths that a stack names. - Rejected: Add a new test module. A new module duplicates the helpers and adds no coverage.
- Chosen: Extend an existing stack test under tests/commands/k8s/. The repository already asserts the stack tables with
Fit
Fits in one pull request.
Suspected block
dan-petty/homelab#286 creates the TEI embed manifest in the environment tree of dan-petty/homelab; the llm line waits for that merge, because deploy-stack fails on a listed path that the environment tree does not hold.
Dependencies
None.
Activity
devops-cli-service commentedon Nov 27, 2026
Both items edit MANIFESTS_BY_STACK for deploy-stack, but this candidate adds one manifest path to the llm entry while #6681 rebuilds manifests from infra components.devops-cli-service commentedon Nov 28, 2026
Owner question: See Suspected block and Watched files in the section Proposed design of the body.
Options
Recommendation: Decide the question: only a person can answer it.
Evidence
devops-cli-service commentedon Nov 28, 2026
Owner question: See Suspected block in the section Proposed design of the body.
Options
Recommendation: Decide the question: only a person can answer it.
Evidence