Skip to content

feat(k8s): list the TEI embed manifest in MANIFESTS_BY_STACK #7365

Backlog

Description

@devops-cli-service

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/ reads MANIFESTS_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_STACK line that names a file the environment tree does not hold make deploy-stack fail for the llm stack?: Yes. deploy-stack applies each listed path of the stack with kubectl apply -f. A path with no file fails the command for the llm stack. The line therefore lands after dan-petty/homelab#286. [sources: k8s/README.md:22, src/devops_cli/commands/k8s/stack_lifecycle.py:293]
  • Which form does the llm entry take for the TEI embed manifest path?: The same form as the other paths of the llm list: a Path relative to the root of the environment tree. The exact folder and file name come from the manifest that dan-petty/homelab#286 creates, 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 llm entry live?: Extend an existing stack test under tests/commands/k8s/ that asserts the stack tables with Path values, as tests/commands/k8s/test_k8s_devops_stack.py does. Use the helpers of tests/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 Path values in these modules, and the helpers of tests/support/k8s_commands.py write the paths that a stack names.
    • Rejected: Add a new test module. A new module duplicates the helpers and adds no coverage.

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

  1. added
    type/feature
    scope/k8s
    source/agent
    status/new
    value/medium
    effort/low
    on Nov 27, 2026
  2. devops-cli-service commented on Nov 27, 2026

    @devops-cli-service
    ContributorAuthor
  3. devops-cli-service commented on Nov 28, 2026

    @devops-cli-service
    ContributorAuthor

    Owner question: See Suspected block and Watched files in the section Proposed design of the body.

    Options

    1. Decide the question: The job refines the item with your answer.
    2. Leave it to the job: The job records the best-practice answer and goes on.

    Recommendation: Decide the question: only a person can answer it.

    Evidence

  4. devops-cli-service commented on Nov 28, 2026

    @devops-cli-service
    ContributorAuthor

    Owner question: See Suspected block in the section Proposed design of the body.

    Options

    1. Decide the question: The job refines the item with your answer.
    2. Leave it to the job: The job records the best-practice answer and goes on.

    Recommendation: Decide the question: only a person can answer it.

    Evidence

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    effort/lowpriority/p2-mediumscope/k8ssource/agentstatus/newtype/featurevalue/medium

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions