Skip to content

docs(k8s): k8s/README.md describes the k3s homelab, its alloy log pipeline and its homelab-provided storage as they run #1648

Closed

Description

@dan-petty

Friction

k8s/README.md describes components and paths that do not match the running homelab. It names Fluent Bit as the log shipper (removed in #548; Alloy ships the logs), presents minikube as the only cluster although the cluster Argo CD keeps in line with main is the k3s homelab, tells people to apply valkey-runs by hand although Argo CD's llm Application deploys it, and its Prerequisites never say that the storage layer (local-path provisioner and StorageClasses) comes from the homelab repository. Several values-file comments repeat the minikube framing, and one describes a floating main tag on an image that is pinned.

Evidence

Live, read-only, 2026-10-17 (main = 3dd7fa6):

  • All three nodes run kubelet v1.31.4+k3s1. No pod in the cluster matches "fluent". Pod logs reach logging/loki through DaemonSet monitoring/k8s-monitoring-alloy-logs (3/3).
  • Deployment llm/valkey-runs carries tracking id llm:apps/Deployment:llm/valkey-runs; Application llm (path k8s/llm) is Synced.
  • Namespace local-path-storage, Deployment local-path-provisioner and StorageClasses local-path (default) and fast-nvme come from dan-petty/homelab k8s/manifests/local-path-storage.yaml, applied by its make storage; k3s runs with --disable local-storage.

Repo:

  • k8s/README.md:3 ("... to the devcontainer's minikube cluster"), :11 ("Loki, Fluent Bit (pod logs shipped from infra stack's Alloy)", stale since the v0.2.28 rewrite 910b823), :16, :41, :49, :61, :64, :76 (minikube service commands), :69 (valkey-runs "not deployed by deploy-stack; apply k8s/llm/valkey-runs.yaml yourself"), :213 (local-path keeps a volume on its node's root filesystem). Only the GitOps section (:393-397) describes the homelab.
  • Minikube is still a supported target: src/devops_cli/commands/devcontainer.py:1067-1092 starts it and runs deploy-stack.
  • Values comments: k8s/argocd/values.yaml:1,28,31; k8s/llm/values-open-webui.yaml:1,75 and :7 ("floating main tag", while :9 pins v0.11.4); k8s/llm/values-qdrant.yaml:1,30; k8s/logging/loki-values.yaml:1.
  • grep -rni fluent k8s/ finds only k8s/README.md:11.

Remedy

  1. k8s/README.md:11: "Loki (pod and journal logs shipped by the infra stack's Alloy alloy-logs DaemonSet)".
  2. k8s/README.md:3 and :16: name both targets, the k3s homelab that Argo CD reconciles from main, and the devcontainer's minikube that devops devcontainer starts. Mark the minikube service commands at :41,49,61,64,76 minikube-only and give the homelab equivalent next to each (the ingress host, or kubectl -n <ns> get svc for a NodePort).
  3. k8s/README.md:69: Argo CD's llm Application deploys valkey-runs; deploy-stack does too once the deploy-stack/Argo CD parity item lands (drop the hand-apply instruction in that PR if it lands first).
  4. Prerequisites: the homelab's storage layer (the local-path provisioner, local-path and fast-nvme StorageClasses) comes from dan-petty/homelab's make storage; on minikube the bundled provisioner serves local-path.
  5. Correct the values comments listed above, including the false floating-tag note in values-open-webui.yaml:7.
  6. devops docs check stays green.

Priority: P3. Documentation only.

Proposed design

Problem statement

k8s/README.md names Fluent Bit as the log shipper, presents minikube as the only cluster target, tells readers to apply valkey-runs by hand, and omits the homelab storage layer from Prerequisites. Several values-file comments repeat the minikube framing, and one describes a floating main tag on an image that is pinned. The documentation does not match the running k3s homelab or the Alloy log pipeline.

Acceptance criteria

  • Criterion 1: k8s/README.md line 11 names the Alloy alloy-logs DaemonSet as the log shipper, not Fluent Bit.
    Verification: Run grep -i fluent k8s/README.md. It returns no match.
  • Criterion 2: k8s/README.md lines 3 and 16 name both the k3s homelab (Argo CD reconciles from main) and the devcontainer minikube cluster.
    Verification: Read lines 3 and 16. Both targets are named.
  • Criterion 3: Each minikube service command at lines 41, 49, 61, 64, and 76 is marked minikube-only and has a homelab equivalent (ingress host or kubectl -n get svc for a NodePort).
    Verification: Read those five lines. Each carries a minikube-only marker and a homelab alternative.
  • Criterion 4: k8s/README.md line 69 states that Argo CD's llm Application deploys valkey-runs. The hand-apply instruction is removed or qualified.
    Verification: Read line 69. It references Argo CD, not a manual kubectl apply.
  • Criterion 5: The Prerequisites section states that the local-path provisioner and the local-path and fast-nvme StorageClasses come from dan-petty/homelab make storage, and that on minikube the bundled provisioner serves local-path.
    Verification: Read the Prerequisites section. Both the homelab source and the minikube bundled provisioner are named.
  • Criterion 6: Values-file comments at k8s/argocd/values.yaml lines 1, 28, 31; k8s/llm/values-open-webui.yaml lines 1, 7, 75; k8s/llm/values-qdrant.yaml lines 1, 30; and k8s/logging/loki-values.yaml line 1 no longer repeat the minikube-only framing or the false floating-tag note.
    Verification: Read each cited line. No minikube-only framing remains. The floating main tag note in values-open-webui.yaml line 7 is removed or corrected to match the pinned tag at line 9.
  • Criterion 7: devops docs check passes with no errors.
    Verification: Run devops docs check. Exit code is 0.

Key questions

  • What exact text replaces the Fluent Bit mention on line 11?: Loki (pod and journal logs shipped by the infra stack's Alloy alloy-logs DaemonSet). (proposed) [sources: k8s/README.md:11]
  • What is the homelab equivalent of each minikube service command?: The ingress host for services behind Traefik, or kubectl -n get svc for a NodePort service. (proposed) [sources: k8s/README.md:41]
  • Does the valkey-runs hand-apply instruction stay or go in this change?: Replace it with a statement that Argo CD's llm Application deploys valkey-runs. Drop the hand-apply instruction in the deploy-stack/Argo CD parity PR if that PR lands first. (proposed) [sources: k8s/README.md:69]
  • Is the image tag in k8s/llm/values-open-webui.yaml floating or pinned?: It is pinned to v0.11.4 at line 9. The comment at line 7 that calls it a floating main tag is false. [sources: k8s/llm/values-open-webui.yaml:9]

Fit

Fits in one pull request.

Suspected block

None.

Dependencies

None.

Activity

  1. added
    source/agent
    type/docs
    on Oct 18, 2026
  2. dan-petty commented on Oct 18, 2026

    @dan-petty
    OwnerAuthor

    Intake placed this item to the backlog: at intake only a critical fix goes into a release; a release start pulls Ready items in, P0 features first.

    • Type: type/docs. The candidate focuses on updating documentation to reflect the current k3s homelab setup and correct outdated information.
    • Priority: P3-Low. Documentation only, no functional changes or bugs fixed.
    • Value: Low. Improves clarity but doesn't affect core functionality or user experience.
    • Effort: Medium. Requires updating multiple sections of the README and correcting outdated comments in values files.
  3. dan-petty commented on Oct 28, 2026

    @dan-petty
    OwnerAuthor

    Status set to Ready at bb46660 (see proposed design in issue body).

  4. added
    priority/p3-low
    status/ready
    value/low
    effort/medium
    on Oct 28, 2026
  5. removed
    status/ready
    on Oct 30, 2026
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/mediumpriority/p3-lowsource/agenttype/docsvalue/low

    Type

    No type

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions