Skip to content

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

Merged
dan-petty merged 2 commits into
mainfrom
docs/1648-k8s-readme-homelab
Oct 29, 2026
Merged

dan-petty merged 2 commits into
mainfrom
docs/1648-k8s-readme-homelab

Conversation

@dan-petty

Copy link
Copy Markdown
Owner

k8s/README.md named Fluent Bit, which #548 removed, and named only the devcontainer's minikube as a target. It now describes the clusters as they run:

  • The intro and Prerequisites name both clusters: the k3s homelab, which Argo CD keeps in line with main, and the devcontainer's minikube. devops k8s deploy-stack deploys to either.
  • The Loki row names the Alloy alloy-logs DaemonSet, which ships the pod and journal logs. docs/DEVCONTAINER_USAGE.md no longer names Fluent Bit.
  • Prerequisites state the storage layer. On the homelab, dan-petty/homelab's make storage applies the local-path provisioner and the StorageClasses local-path (default, Delete) and fast-nvme (Retain), and k3s runs with its bundled local-path storage turned off. On minikube, the class local-path needs the storage-provisioner-rancher addon, which devops devcontainer does not enable (fix(devcontainer): add local-path addon to minikube start #2570).
  • Each minikube service command says that it works only on minikube, and names the homelab Ingress host of its service. The Alloy metrics and Qdrant Services are ClusterIP, so their commands use kubectl port-forward.
  • The valkey-runs comment says that Argo CD's llm Application deploys it on the homelab.
  • Local-Path Volume Placement says where the provisioner keeps a volume: under one of the node's two base directories, at random, because neither StorageClass sets parameters.nodePath (local-path-provisioner v0.0.28, getPathOnNode). So fast-nvme differs from local-path only by its reclaim policy. The section also names the filesystem that LocalPathNodeDiskHigh reads.
  • The comments of the Argo CD, Open WebUI, Qdrant and Loki values files name both clusters and the homelab Ingress, and the Open WebUI tag comment says that the tag is pinned.

Closes #1648

Change: openspec/changes/archive/2026-10-29-1648-k8s-readme-homelab/

…eline and its storage layer as they run

The README named Fluent Bit, which #548 removed, and only the devcontainer's
minikube as a target. It now names both clusters, the Alloy alloy-logs
DaemonSet, the homelab's storage layer from dan-petty/homelab's make storage,
the minikube addon that serves local-path, the homelab Ingress host of each
service, and where the local-path provisioner keeps a volume. The values
comments of Argo CD, Open WebUI, Qdrant and Loki name both clusters, and the
Open WebUI tag comment says that the tag is pinned.
@dan-petty

Copy link
Copy Markdown
Owner Author

Checks on the branch:

  • uv run devops docs check: all documentation files are up to date.
  • uv run pytest tests/invariants/test_k8s_manifests.py: 561 passed.
  • The 18 other test files that read the changed files (test_k8s_*, test_docs_inventory, test_agents_md_claims, test_stack_dashboards, test_gitea_doctor, test_third_party_telemetry): 527 passed.
  • openspec validate --all --strict: 115 passed.

Facts confirmed on the live homelab on 2026-10-28, read-only: four nodes on v1.31.4+k3s1; no fluent pod; DaemonSet monitoring/k8s-monitoring-alloy-logs on all 4 nodes; Application llm tracks Deployment llm/valkey-runs; StorageClasses and provisioner as written; no k3s local-storage addon; Service types and Ingress hosts as written. The proposal's Feasibility lists each source.

The issue proposed "on minikube the bundled provisioner serves local-path". minikube v1.39.0 serves local-path only from its storage-provisioner-rancher addon, and devops devcontainer does not enable it, so the README states that step, and #2570 tracks the fix.

Pending a person: review the diff in tuicr (tuicr -r origin/main..HEAD).

@dan-petty
dan-petty marked this pull request as ready for review October 29, 2026 00:15
@dan-petty
dan-petty merged commit ac78d39 into main Oct 29, 2026
17 checks passed
@dan-petty
dan-petty deleted the docs/1648-k8s-readme-homelab branch October 29, 2026 00:16
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

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

1 participant