Refresh architecture docs and blog for exclusive cluster profiles and native K3s
This commit is contained in:
parent
ee72a7e6a3
commit
fcd5693527
50
README.md
50
README.md
|
|
@ -2,19 +2,43 @@
|
||||||
|
|
||||||
<!-- Generated from README.md.tmpl by scripts/render-docs. Edit README.md.tmpl and homelab.yml, then regenerate. -->
|
<!-- Generated from README.md.tmpl by scripts/render-docs. Edit README.md.tmpl and homelab.yml, then regenerate. -->
|
||||||
|
|
||||||
This repo bootstraps a hybrid kubeadm cluster, moves Kubernetes capacity onto
|
Jeannie manages three mutually exclusive Kubernetes profiles, keeps recovery
|
||||||
Pimox VMs, keeps bootstrap services on the Debian host, and hands app delivery
|
and build services on the Debian laptop, and delivers apps through Argo CD.
|
||||||
to Argo CD.
|
The current migration target is native K3s on the Orange Pi 5 Plus; the hybrid
|
||||||
|
and all-Pimox kubeadm profiles remain available.
|
||||||
|
|
||||||
## Quick Start
|
## Quick Start
|
||||||
|
|
||||||
From the Debian server:
|
From the Debian operations laptop, select the profile and its kubeconfig
|
||||||
|
explicitly. For the enrolled native Orange Pi cluster:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd ~/my-homelab-configs
|
cd ~/my-homelab-configs
|
||||||
./jeannie up
|
export LAB_CLUSTER_PROFILE=k3s
|
||||||
|
export LAB_CLUSTER_RUNTIME=k3s
|
||||||
|
export TF_VAR_cluster_runtime=k3s
|
||||||
|
export KUBECONFIG="$HOME/.kube/opi5-k3s-config"
|
||||||
|
./jeannie cluster-context check
|
||||||
|
./jeannie cluster-runtime check
|
||||||
```
|
```
|
||||||
|
|
||||||
|
On a fresh native installation, run `./jeannie cluster`, review and
|
||||||
|
enroll its identity, then run `./jeannie platform all` followed by
|
||||||
|
`./jeannie apps`. For the accidental laptop K3s installation, use the
|
||||||
|
[resumable transition](docs/deployment.md#move-laptop-k3s-to-the-orange-pi)
|
||||||
|
instead. Do not start a second deployment while that transition is running.
|
||||||
|
|
||||||
|
| Profile | Control plane | Workers | Kubeconfig under `~/.kube/` |
|
||||||
|
| --- | --- | --- | --- |
|
||||||
|
| `debian` | Debian laptop `.73`, kubeadm | Pimox VMs 9010/9011 | `config` |
|
||||||
|
| `pimox` | Pimox VM 9001 at `.65`, kubeadm | Pimox VMs 9010/9011 | `pimox-config` |
|
||||||
|
| `k3s` | Orange Pi host `.80`, native K3s | Same host | `opi5-k3s-config` |
|
||||||
|
|
||||||
|
Native K3s requires all Pimox VMs stopped. The VM profiles require host K3s
|
||||||
|
stopped; `debian` also requires VM 9001 stopped, and `pimox` requires the laptop
|
||||||
|
control plane stopped. Pipelines refuse conflicting or unverifiable runtimes.
|
||||||
|
The inventory still defaults to `pimox`; explicit selection prevents surprises.
|
||||||
|
|
||||||
## Documentation Hub
|
## Documentation Hub
|
||||||
|
|
||||||
The detailed technical specifications have been moved to the `/docs` directory:
|
The detailed technical specifications have been moved to the `/docs` directory:
|
||||||
|
|
@ -23,7 +47,8 @@ The detailed technical specifications have been moved to the `/docs` directory:
|
||||||
- [Deployment Guide](docs/deployment.md) - Prerequisites, bootstrap flow, and validation.
|
- [Deployment Guide](docs/deployment.md) - Prerequisites, bootstrap flow, and validation.
|
||||||
- [AI Operations](docs/ai-ops.md) - Jeannie AI tools, Evals, and Safety cases.
|
- [AI Operations](docs/ai-ops.md) - Jeannie AI tools, Evals, and Safety cases.
|
||||||
- [Application Ops](docs/app-ops.md) - App delivery, Gitea, and Website management.
|
- [Application Ops](docs/app-ops.md) - App delivery, Gitea, and Website management.
|
||||||
- [Service Catalog](docs/service-catalog.md) - Live inventory of all hosts and services.
|
- [Service Catalog](docs/service-catalog.md) - Declared inventory of hosts and services.
|
||||||
|
- [Repository Code Map](docs/code-map.md) - Graphify findings and the code behind deployment guards.
|
||||||
|
|
||||||
## Inventory
|
## Inventory
|
||||||
|
|
||||||
|
|
@ -37,15 +62,20 @@ The canonical non-secret inventory is [homelab.yml](homelab.yml). Keep LAN IPs,
|
||||||
- Debian remains the operations host: Jeannie, Docker builds, external Gitea,
|
- Debian remains the operations host: Jeannie, Docker builds, external Gitea,
|
||||||
GitOps mirror, local registry endpoint, Ollama, OmniRoute, and the AI tool
|
GitOps mirror, local registry endpoint, Ollama, OmniRoute, and the AI tool
|
||||||
wrappers run there outside Kubernetes.
|
wrappers run there outside Kubernetes.
|
||||||
- Kubernetes workloads run on the Pimox VM cluster where practical. The current
|
- The Orange Pi native K3s control plane has bootstrapped and reported `Ready`.
|
||||||
target is three Debian arm64 VMs on the Orange Pi 5 Plus: one control-plane VM
|
Platform installation and application rollout are separate milestones; a
|
||||||
and two worker VMs, each exposing two Kubernetes CPUs.
|
Ready node does not establish that every service or data migration completed.
|
||||||
|
- Pimox remains installed alongside native K3s on the Orange Pi. The two modes
|
||||||
|
use the hardware at different times, preserving VM disks and existing data.
|
||||||
- Pimox VMs are treated as rebuildable capacity. Jeannie owns the golden image,
|
- Pimox VMs are treated as rebuildable capacity. Jeannie owns the golden image,
|
||||||
VM clone lifecycle, KVM CPU pinning for the Orange Pi big cores, qemu guest
|
VM clone lifecycle, KVM CPU pinning for the Orange Pi big cores, qemu guest
|
||||||
readiness waits, containerd registry trust, and stale node cleanup.
|
readiness waits, containerd registry trust, and stale node cleanup.
|
||||||
- The canonical local image endpoint is the Debian LAN IP and registry NodePort
|
- The canonical local image endpoint is the Debian LAN IP and registry NodePort
|
||||||
(`192.168.100.73:30500` by default). Containerd pulls through that endpoint
|
(`192.168.100.73:30500` by default). Containerd pulls through that endpoint
|
||||||
even when the registry pod is running on a Pimox worker.
|
through forwarding to the selected registry node, including the Orange Pi.
|
||||||
|
- Identity checks pin API endpoint, CA fingerprint and `kube-system` UID.
|
||||||
|
Cluster, platform and app state live under separate per-profile directories;
|
||||||
|
scheduling feasibility uses requests, selectors, volumes and host ports.
|
||||||
|
|
||||||
## AI Stack
|
## AI Stack
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -2,19 +2,43 @@
|
||||||
|
|
||||||
<!-- Generated from README.md.tmpl by scripts/render-docs. Edit README.md.tmpl and homelab.yml, then regenerate. -->
|
<!-- Generated from README.md.tmpl by scripts/render-docs. Edit README.md.tmpl and homelab.yml, then regenerate. -->
|
||||||
|
|
||||||
This repo bootstraps a hybrid kubeadm cluster, moves Kubernetes capacity onto
|
Jeannie manages three mutually exclusive Kubernetes profiles, keeps recovery
|
||||||
Pimox VMs, keeps bootstrap services on the Debian host, and hands app delivery
|
and build services on the Debian laptop, and delivers apps through Argo CD.
|
||||||
to Argo CD.
|
The current migration target is native K3s on the Orange Pi 5 Plus; the hybrid
|
||||||
|
and all-Pimox kubeadm profiles remain available.
|
||||||
|
|
||||||
## Quick Start
|
## Quick Start
|
||||||
|
|
||||||
From the Debian server:
|
From the Debian operations laptop, select the profile and its kubeconfig
|
||||||
|
explicitly. For the enrolled native Orange Pi cluster:
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
cd ~/my-homelab-configs
|
cd ~/my-homelab-configs
|
||||||
./{{ main_script }} up
|
export LAB_CLUSTER_PROFILE=k3s
|
||||||
|
export LAB_CLUSTER_RUNTIME=k3s
|
||||||
|
export TF_VAR_cluster_runtime=k3s
|
||||||
|
export KUBECONFIG="$HOME/.kube/opi5-k3s-config"
|
||||||
|
./{{ main_script }} cluster-context check
|
||||||
|
./{{ main_script }} cluster-runtime check
|
||||||
```
|
```
|
||||||
|
|
||||||
|
On a fresh native installation, run `./{{ main_script }} cluster`, review and
|
||||||
|
enroll its identity, then run `./{{ main_script }} platform all` followed by
|
||||||
|
`./{{ main_script }} apps`. For the accidental laptop K3s installation, use the
|
||||||
|
[resumable transition](docs/deployment.md#move-laptop-k3s-to-the-orange-pi)
|
||||||
|
instead. Do not start a second deployment while that transition is running.
|
||||||
|
|
||||||
|
| Profile | Control plane | Workers | Kubeconfig under `~/.kube/` |
|
||||||
|
| --- | --- | --- | --- |
|
||||||
|
| `debian` | Debian laptop `.73`, kubeadm | Pimox VMs 9010/9011 | `config` |
|
||||||
|
| `pimox` | Pimox VM 9001 at `.65`, kubeadm | Pimox VMs 9010/9011 | `pimox-config` |
|
||||||
|
| `k3s` | Orange Pi host `.80`, native K3s | Same host | `opi5-k3s-config` |
|
||||||
|
|
||||||
|
Native K3s requires all Pimox VMs stopped. The VM profiles require host K3s
|
||||||
|
stopped; `debian` also requires VM 9001 stopped, and `pimox` requires the laptop
|
||||||
|
control plane stopped. Pipelines refuse conflicting or unverifiable runtimes.
|
||||||
|
The inventory still defaults to `pimox`; explicit selection prevents surprises.
|
||||||
|
|
||||||
## Documentation Hub
|
## Documentation Hub
|
||||||
|
|
||||||
The detailed technical specifications have been moved to the `/docs` directory:
|
The detailed technical specifications have been moved to the `/docs` directory:
|
||||||
|
|
@ -23,7 +47,8 @@ The detailed technical specifications have been moved to the `/docs` directory:
|
||||||
- [Deployment Guide](docs/deployment.md) - Prerequisites, bootstrap flow, and validation.
|
- [Deployment Guide](docs/deployment.md) - Prerequisites, bootstrap flow, and validation.
|
||||||
- [AI Operations](docs/ai-ops.md) - Jeannie AI tools, Evals, and Safety cases.
|
- [AI Operations](docs/ai-ops.md) - Jeannie AI tools, Evals, and Safety cases.
|
||||||
- [Application Ops](docs/app-ops.md) - App delivery, Gitea, and Website management.
|
- [Application Ops](docs/app-ops.md) - App delivery, Gitea, and Website management.
|
||||||
- [Service Catalog](docs/service-catalog.md) - Live inventory of all hosts and services.
|
- [Service Catalog](docs/service-catalog.md) - Declared inventory of hosts and services.
|
||||||
|
- [Repository Code Map](docs/code-map.md) - Graphify findings and the code behind deployment guards.
|
||||||
|
|
||||||
## Inventory
|
## Inventory
|
||||||
|
|
||||||
|
|
@ -37,15 +62,20 @@ The canonical non-secret inventory is [homelab.yml](homelab.yml). Keep LAN IPs,
|
||||||
- Debian remains the operations host: Jeannie, Docker builds, external Gitea,
|
- Debian remains the operations host: Jeannie, Docker builds, external Gitea,
|
||||||
GitOps mirror, local registry endpoint, Ollama, OmniRoute, and the AI tool
|
GitOps mirror, local registry endpoint, Ollama, OmniRoute, and the AI tool
|
||||||
wrappers run there outside Kubernetes.
|
wrappers run there outside Kubernetes.
|
||||||
- Kubernetes workloads run on the Pimox VM cluster where practical. The current
|
- The Orange Pi native K3s control plane has bootstrapped and reported `Ready`.
|
||||||
target is three Debian arm64 VMs on the Orange Pi 5 Plus: one control-plane VM
|
Platform installation and application rollout are separate milestones; a
|
||||||
and two worker VMs, each exposing two Kubernetes CPUs.
|
Ready node does not establish that every service or data migration completed.
|
||||||
|
- Pimox remains installed alongside native K3s on the Orange Pi. The two modes
|
||||||
|
use the hardware at different times, preserving VM disks and existing data.
|
||||||
- Pimox VMs are treated as rebuildable capacity. Jeannie owns the golden image,
|
- Pimox VMs are treated as rebuildable capacity. Jeannie owns the golden image,
|
||||||
VM clone lifecycle, KVM CPU pinning for the Orange Pi big cores, qemu guest
|
VM clone lifecycle, KVM CPU pinning for the Orange Pi big cores, qemu guest
|
||||||
readiness waits, containerd registry trust, and stale node cleanup.
|
readiness waits, containerd registry trust, and stale node cleanup.
|
||||||
- The canonical local image endpoint is the Debian LAN IP and registry NodePort
|
- The canonical local image endpoint is the Debian LAN IP and registry NodePort
|
||||||
(`192.168.100.73:30500` by default). Containerd pulls through that endpoint
|
(`192.168.100.73:30500` by default). Containerd pulls through that endpoint
|
||||||
even when the registry pod is running on a Pimox worker.
|
through forwarding to the selected registry node, including the Orange Pi.
|
||||||
|
- Identity checks pin API endpoint, CA fingerprint and `kube-system` UID.
|
||||||
|
Cluster, platform and app state live under separate per-profile directories;
|
||||||
|
scheduling feasibility uses requests, selectors, volumes and host ports.
|
||||||
|
|
||||||
## AI Stack
|
## AI Stack
|
||||||
|
|
||||||
|
|
|
||||||
|
|
@ -45,7 +45,7 @@
|
||||||
<span>public-edge</span>
|
<span>public-edge</span>
|
||||||
<h2>oci_edge</h2>
|
<h2>oci_edge</h2>
|
||||||
<p><strong>Address:</strong> 132.145.170.74</p>
|
<p><strong>Address:</strong> 132.145.170.74</p>
|
||||||
<p><strong>Tailscale:</strong> 100.118.255.19</p>
|
<p><strong>Tailscale:</strong> 100.122.188.79</p>
|
||||||
<p><strong>Storage:</strong> n/a</p>
|
<p><strong>Storage:</strong> n/a</p>
|
||||||
</article>
|
</article>
|
||||||
</section>
|
</section>
|
||||||
|
|
|
||||||
|
|
@ -36,6 +36,23 @@ through to PHP so the translation workflow continues to work.
|
||||||
are served by `visitor_ideas.php` and loaded by `visitor-ideas.js`, which keeps
|
are served by `visitor_ideas.php` and loaded by `visitor-ideas.js`, which keeps
|
||||||
the blog page cacheable while preserving the write path through `save_idea.php`.
|
the blog page cacheable while preserving the write path through `save_idea.php`.
|
||||||
|
|
||||||
|
## Blog content and architecture
|
||||||
|
|
||||||
|
Keep `blog.php`, `homelab-tree.php` and `lang/en.php` aligned with
|
||||||
|
`homelab.yml` and [the code map](../../docs/code-map.md). The blog distinguishes
|
||||||
|
the three exclusive cluster profiles and the confirmed native-node readiness
|
||||||
|
milestone from still-unverified platform/app rollout completion.
|
||||||
|
|
||||||
|
`lang_helper.php` merges localized strings over the English dictionary. Revised
|
||||||
|
operational entries currently use that fallback where old Nahuatl translations
|
||||||
|
described a topology that is no longer current. Refresh those translations
|
||||||
|
against the updated English source; do not retain stale infrastructure claims.
|
||||||
|
Adding an activity or stack entry also requires adding its key in `blog.php`.
|
||||||
|
|
||||||
|
Website changes require the normal image build and app delivery path to refresh
|
||||||
|
pre-rendered pages and immutable OPcache. Editing these sources does not update
|
||||||
|
the running site, and a deployment should wait for the current transition to end.
|
||||||
|
|
||||||
## Cache Path
|
## Cache Path
|
||||||
|
|
||||||
The website sets cache headers for pre-rendered HTML:
|
The website sets cache headers for pre-rendered HTML:
|
||||||
|
|
|
||||||
|
|
@ -21,6 +21,10 @@ $activityKeys = [
|
||||||
'blog_activity_17',
|
'blog_activity_17',
|
||||||
'blog_activity_18',
|
'blog_activity_18',
|
||||||
'blog_activity_19',
|
'blog_activity_19',
|
||||||
|
'blog_activity_20',
|
||||||
|
'blog_activity_21',
|
||||||
|
'blog_activity_22',
|
||||||
|
'blog_activity_23',
|
||||||
];
|
];
|
||||||
|
|
||||||
$todoKeys = [
|
$todoKeys = [
|
||||||
|
|
@ -64,6 +68,8 @@ $stackKeys = [
|
||||||
'blog_stack_20',
|
'blog_stack_20',
|
||||||
'blog_stack_21',
|
'blog_stack_21',
|
||||||
'blog_stack_22',
|
'blog_stack_22',
|
||||||
|
'blog_stack_23',
|
||||||
|
'blog_stack_24',
|
||||||
];
|
];
|
||||||
|
|
||||||
$caseStudyCards = [
|
$caseStudyCards = [
|
||||||
|
|
@ -202,6 +208,15 @@ $stackSourceLinks = [
|
||||||
['label' => 'Pimox docs', 'path' => 'bootstrap/provisioning/README.md'],
|
['label' => 'Pimox docs', 'path' => 'bootstrap/provisioning/README.md'],
|
||||||
['label' => 'containerd repair flow', 'path' => 'lib/jeannie/pipeline.sh'],
|
['label' => 'containerd repair flow', 'path' => 'lib/jeannie/pipeline.sh'],
|
||||||
],
|
],
|
||||||
|
'blog_stack_23' => [
|
||||||
|
['label' => 'runtime guard', 'path' => 'scripts/cluster-runtime-guard.py'],
|
||||||
|
['label' => 'cluster identity', 'path' => 'scripts/cluster-context.py'],
|
||||||
|
['label' => 'code map', 'path' => 'docs/code-map.md'],
|
||||||
|
],
|
||||||
|
'blog_stack_24' => [
|
||||||
|
['label' => 'native transition', 'path' => 'scripts/cluster-transition.py'],
|
||||||
|
['label' => 'registry reconciliation', 'path' => 'scripts/registry-storage-reconcile.py'],
|
||||||
|
],
|
||||||
];
|
];
|
||||||
|
|
||||||
function renderStackSourceLinks(string $stackKey, array $sourceLinks, string $sourceBase): void {
|
function renderStackSourceLinks(string $stackKey, array $sourceLinks, string $sourceBase): void {
|
||||||
|
|
@ -338,7 +353,7 @@ function renderStackSourceLinks(string $stackKey, array $sourceLinks, string $so
|
||||||
<div class="diagram-shell" aria-label="Professional homelab architecture diagram">
|
<div class="diagram-shell" aria-label="Professional homelab architecture diagram">
|
||||||
<svg class="homelab-map" viewBox="0 0 1120 960" role="img" aria-labelledby="homelab-map-title homelab-map-desc">
|
<svg class="homelab-map" viewBox="0 0 1120 960" role="img" aria-labelledby="homelab-map-title homelab-map-desc">
|
||||||
<title id="homelab-map-title">Homelab architecture map</title>
|
<title id="homelab-map-title">Homelab architecture map</title>
|
||||||
<desc id="homelab-map-desc">Git push enters Gitea, Gitea Actions validates and builds app images, OpenTofu manages cluster and provisioning layers, Debian keeps the control plane, PXE services, and Ollama translation model, Pimox app workers run Argo CD, Kyverno, Redis-backed website translation, n8n workflow automation, and app workloads on NVMe-backed VMs, OpenWrt can run as an opt-in firewall VM, and the OCI edge routes traffic into Kubernetes services.</desc>
|
<desc id="homelab-map-desc">Debian hosts Gitea, build and recovery tools, and Ollama. Jeannie selects one exclusive Kubernetes profile: laptop kubeadm with Pimox workers, an all-Pimox kubeadm cluster, or native K3s on the Orange Pi. The native Orange Pi node has reported Ready; platform and app rollout completion are separate milestones. Identity, scheduling and retained-storage checks guard deployment. The OCI edge connects through Tailscale, and OpenWrt is available only in VM mode.</desc>
|
||||||
<defs>
|
<defs>
|
||||||
<marker id="map-arrow" markerWidth="12" markerHeight="12" refX="10" refY="6" orient="auto">
|
<marker id="map-arrow" markerWidth="12" markerHeight="12" refX="10" refY="6" orient="auto">
|
||||||
<path d="M2,2 L10,6 L2,10 Z" fill="#2b6cb0"></path>
|
<path d="M2,2 L10,6 L2,10 Z" fill="#2b6cb0"></path>
|
||||||
|
|
@ -349,10 +364,10 @@ function renderStackSourceLinks(string $stackKey, array $sourceLinks, string $so
|
||||||
<text class="diagram-zone-title" x="46" y="74">Source, validation, and images</text>
|
<text class="diagram-zone-title" x="46" y="74">Source, validation, and images</text>
|
||||||
|
|
||||||
<rect class="diagram-zone diagram-zone-platform" x="382" y="40" width="340" height="880" rx="12"></rect>
|
<rect class="diagram-zone diagram-zone-platform" x="382" y="40" width="340" height="880" rx="12"></rect>
|
||||||
<text class="diagram-zone-title" x="404" y="74">Control plane and provisioning</text>
|
<text class="diagram-zone-title" x="404" y="74">Profiles and deployment guards</text>
|
||||||
|
|
||||||
<rect class="diagram-zone diagram-zone-runtime" x="770" y="40" width="326" height="880" rx="12"></rect>
|
<rect class="diagram-zone diagram-zone-runtime" x="770" y="40" width="326" height="880" rx="12"></rect>
|
||||||
<text class="diagram-zone-title" x="792" y="74">Workers, edge, and workloads</text>
|
<text class="diagram-zone-title" x="792" y="74">Hosts, edge, and workloads</text>
|
||||||
|
|
||||||
<g class="diagram-node node-accent-blue" transform="translate(54 100)">
|
<g class="diagram-node node-accent-blue" transform="translate(54 100)">
|
||||||
<rect width="240" height="74" rx="8"></rect>
|
<rect width="240" height="74" rx="8"></rect>
|
||||||
|
|
@ -390,37 +405,37 @@ function renderStackSourceLinks(string $stackKey, array $sourceLinks, string $so
|
||||||
<g class="diagram-node node-accent-purple" transform="translate(412 92)">
|
<g class="diagram-node node-accent-purple" transform="translate(412 92)">
|
||||||
<rect width="280" height="82" rx="8"></rect>
|
<rect width="280" height="82" rx="8"></rect>
|
||||||
<text x="18" y="27">OpenTofu + jeannie</text>
|
<text x="18" y="27">OpenTofu + jeannie</text>
|
||||||
<text class="diagram-small" x="18" y="50">manual infra apply path</text>
|
<text class="diagram-small" x="18" y="50">pinned identity and scoped state</text>
|
||||||
<text class="diagram-small" x="18" y="68">apps command for CI deploys</text>
|
<text class="diagram-small" x="18" y="68">runtime and scheduling checks</text>
|
||||||
</g>
|
</g>
|
||||||
|
|
||||||
<g class="diagram-node node-accent-orange" transform="translate(412 202)">
|
<g class="diagram-node node-accent-orange" transform="translate(412 202)">
|
||||||
<rect width="280" height="96" rx="8"></rect>
|
<rect width="280" height="96" rx="8"></rect>
|
||||||
<text x="18" y="28">PXE + preseed service</text>
|
<text x="18" y="28">VM profile provisioning</text>
|
||||||
<text class="diagram-small" x="18" y="52">dnsmasq TFTP, nginx HTTP</text>
|
<text class="diagram-small" x="18" y="52">dnsmasq TFTP, nginx HTTP</text>
|
||||||
<text class="diagram-small" x="18" y="70">Debian 13 arm64 netboot</text>
|
<text class="diagram-small" x="18" y="70">Debian 13 arm64 netboot</text>
|
||||||
<text class="diagram-small" x="18" y="88">golden-node prep scripts</text>
|
<text class="diagram-small" x="18" y="88">skipped for native K3s</text>
|
||||||
</g>
|
</g>
|
||||||
|
|
||||||
<g class="diagram-node node-accent-blue" transform="translate(412 326)">
|
<g class="diagram-node node-accent-blue" transform="translate(412 326)">
|
||||||
<rect width="280" height="82" rx="8"></rect>
|
<rect width="280" height="82" rx="8"></rect>
|
||||||
<text x="18" y="27">kubeadm control plane</text>
|
<text x="18" y="27">One active cluster profile</text>
|
||||||
<text class="diagram-small" x="18" y="50">API server and control loops</text>
|
<text class="diagram-small" x="18" y="50">debian / pimox / k3s</text>
|
||||||
<text class="diagram-small" x="18" y="68">workloads pushed to app workers</text>
|
<text class="diagram-small" x="18" y="68">native K3s or kubeadm topology</text>
|
||||||
</g>
|
</g>
|
||||||
|
|
||||||
<g class="diagram-node node-accent-teal" transform="translate(412 438)">
|
<g class="diagram-node node-accent-teal" transform="translate(412 438)">
|
||||||
<rect width="280" height="82" rx="8"></rect>
|
<rect width="280" height="82" rx="8"></rect>
|
||||||
<text x="18" y="27">GitOps mirror</text>
|
<text x="18" y="27">Validated Git revision</text>
|
||||||
<text class="diagram-small" x="18" y="50">validated commit copied locally</text>
|
<text class="diagram-small" x="18" y="50">validated commit copied locally</text>
|
||||||
<text class="diagram-small" x="18" y="68">Argo CD reads deploy state</text>
|
<text class="diagram-small" x="18" y="68">Argo reads configured Git repo</text>
|
||||||
</g>
|
</g>
|
||||||
|
|
||||||
<g class="diagram-node node-accent-green" transform="translate(412 550)">
|
<g class="diagram-node node-accent-green" transform="translate(412 550)">
|
||||||
<rect width="280" height="82" rx="8"></rect>
|
<rect width="280" height="82" rx="8"></rect>
|
||||||
<text x="18" y="27">GitOps + policy controllers</text>
|
<text x="18" y="27">GitOps + policy controllers</text>
|
||||||
<text class="diagram-small" x="18" y="50">Argo CD and Kyverno</text>
|
<text class="diagram-small" x="18" y="50">Argo CD and Kyverno</text>
|
||||||
<text class="diagram-small" x="18" y="68">pinned to app workers</text>
|
<text class="diagram-small" x="18" y="68">placement follows live topology</text>
|
||||||
</g>
|
</g>
|
||||||
|
|
||||||
<g class="diagram-node node-accent-purple" transform="translate(412 662)">
|
<g class="diagram-node node-accent-purple" transform="translate(412 662)">
|
||||||
|
|
@ -448,31 +463,31 @@ function renderStackSourceLinks(string $stackKey, array $sourceLinks, string $so
|
||||||
<g class="diagram-node node-accent-purple" transform="translate(800 218)">
|
<g class="diagram-node node-accent-purple" transform="translate(800 218)">
|
||||||
<rect width="258" height="82" rx="8"></rect>
|
<rect width="258" height="82" rx="8"></rect>
|
||||||
<text x="18" y="27">Tailscale + edge routes</text>
|
<text x="18" y="27">Tailscale + edge routes</text>
|
||||||
<text class="diagram-small" x="18" y="50">30080 website, 30081 demos</text>
|
<text class="diagram-small" x="18" y="50">Traefik LAN LoadBalancer</text>
|
||||||
<text class="diagram-small" x="18" y="68">3000 Gitea on Raspberry Pi</text>
|
<text class="diagram-small" x="18" y="68">Gitea and API stay on Debian</text>
|
||||||
</g>
|
</g>
|
||||||
|
|
||||||
<g class="diagram-node node-accent-green" transform="translate(800 330)">
|
<g class="diagram-node node-accent-green" transform="translate(800 330)">
|
||||||
<rect width="258" height="96" rx="8"></rect>
|
<rect width="258" height="96" rx="8"></rect>
|
||||||
<text x="18" y="28">Raspberry Pi 192.168.100.89</text>
|
<text x="18" y="28">Debian laptop .73</text>
|
||||||
<text class="diagram-small" x="18" y="52">external Gitea Docker service</text>
|
<text class="diagram-small" x="18" y="52">external Gitea Docker service</text>
|
||||||
<text class="diagram-small" x="18" y="70">optional edge-app worker</text>
|
<text class="diagram-small" x="18" y="70">Jeannie, builds, AI and backups</text>
|
||||||
<text class="diagram-small" x="18" y="88">repo home and backup source</text>
|
<text class="diagram-small" x="18" y="88">Raspberry Pi: DNS and uptime</text>
|
||||||
</g>
|
</g>
|
||||||
|
|
||||||
<g class="diagram-node node-accent-red" transform="translate(800 466)">
|
<g class="diagram-node node-accent-red" transform="translate(800 466)">
|
||||||
<rect width="258" height="112" rx="8"></rect>
|
<rect width="258" height="112" rx="8"></rect>
|
||||||
<text x="18" y="28">Orange Pi 5 Plus Pimox</text>
|
<text x="18" y="28">Orange Pi 5 Plus .80</text>
|
||||||
<text class="diagram-small" x="18" y="52">pimox-worker app nodes</text>
|
<text class="diagram-small" x="18" y="52">native K3s: opi5plus Ready</text>
|
||||||
<text class="diagram-small" x="18" y="70">template VMs; storage optional</text>
|
<text class="diagram-small" x="18" y="70">or retained Pimox VMs</text>
|
||||||
<text class="diagram-small" x="18" y="88">Argo CD, Kyverno, website, n8n</text>
|
<text class="diagram-small" x="18" y="88">never native K3s plus VMs</text>
|
||||||
<text class="diagram-small" x="18" y="106">Redis cache and app workloads</text>
|
<text class="diagram-small" x="18" y="106">platform then app readiness</text>
|
||||||
</g>
|
</g>
|
||||||
|
|
||||||
<g class="diagram-node node-accent-orange" transform="translate(800 616)">
|
<g class="diagram-node node-accent-orange" transform="translate(800 616)">
|
||||||
<rect width="258" height="112" rx="8"></rect>
|
<rect width="258" height="112" rx="8"></rect>
|
||||||
<text x="18" y="28">OpenWrt firewall VM</text>
|
<text x="18" y="28">OpenWrt firewall VM</text>
|
||||||
<text class="diagram-small" x="18" y="52">VM 9050, opt-in only</text>
|
<text class="diagram-small" x="18" y="52">VM mode only; opt-in</text>
|
||||||
<text class="diagram-small" x="18" y="70">vmbr0 WAN, vmbr1 LAN</text>
|
<text class="diagram-small" x="18" y="70">vmbr0 WAN, vmbr1 LAN</text>
|
||||||
<text class="diagram-small" x="18" y="88">simple firewall path</text>
|
<text class="diagram-small" x="18" y="88">simple firewall path</text>
|
||||||
<text class="diagram-small" x="18" y="106">DHCP optional, VLANs later</text>
|
<text class="diagram-small" x="18" y="106">DHCP optional, VLANs later</text>
|
||||||
|
|
@ -482,7 +497,7 @@ function renderStackSourceLinks(string $stackKey, array $sourceLinks, string $so
|
||||||
<rect width="258" height="82" rx="8"></rect>
|
<rect width="258" height="82" rx="8"></rect>
|
||||||
<text x="18" y="27">Local registry :30500</text>
|
<text x="18" y="27">Local registry :30500</text>
|
||||||
<text class="diagram-small" x="18" y="50">php-website and demos-static</text>
|
<text class="diagram-small" x="18" y="50">php-website and demos-static</text>
|
||||||
<text class="diagram-small" x="18" y="68">pulled by app workers</text>
|
<text class="diagram-small" x="18" y="68">forward to selected registry node</text>
|
||||||
</g>
|
</g>
|
||||||
|
|
||||||
<g class="diagram-node node-accent-purple" transform="translate(800 866)">
|
<g class="diagram-node node-accent-purple" transform="translate(800 866)">
|
||||||
|
|
@ -519,7 +534,7 @@ function renderStackSourceLinks(string $stackKey, array $sourceLinks, string $so
|
||||||
<text class="diagram-link-label" x="320" y="124">manual infra</text>
|
<text class="diagram-link-label" x="320" y="124">manual infra</text>
|
||||||
<text class="diagram-link-label" x="344" y="386">validated Git</text>
|
<text class="diagram-link-label" x="344" y="386">validated Git</text>
|
||||||
<text class="diagram-link-label" x="562" y="195">serve boot</text>
|
<text class="diagram-link-label" x="562" y="195">serve boot</text>
|
||||||
<text class="diagram-link-label" x="566" y="320">join path</text>
|
<text class="diagram-link-label" x="566" y="320">VM profiles</text>
|
||||||
<text class="diagram-link-label" x="710" y="494">Pimox template</text>
|
<text class="diagram-link-label" x="710" y="494">Pimox template</text>
|
||||||
<text class="diagram-link-label" x="710" y="626">firewall VM</text>
|
<text class="diagram-link-label" x="710" y="626">firewall VM</text>
|
||||||
<text class="diagram-link-label" x="710" y="420">policy + GitOps</text>
|
<text class="diagram-link-label" x="710" y="420">policy + GitOps</text>
|
||||||
|
|
|
||||||
|
|
@ -179,9 +179,9 @@ $blogHref = 'blog.php?lang=' . urlencode($lang);
|
||||||
</g>
|
</g>
|
||||||
|
|
||||||
<rect class="tree-trunk" x="468" y="650" width="104" height="142" rx="12"></rect>
|
<rect class="tree-trunk" x="468" y="650" width="104" height="142" rx="12"></rect>
|
||||||
<text class="tree-trunk-text" x="520" y="700">Debian</text>
|
<text class="tree-trunk-text" x="520" y="700">opi5plus</text>
|
||||||
<text class="tree-trunk-text tree-small" x="520" y="722">control plane</text>
|
<text class="tree-trunk-text tree-small" x="520" y="722">native K3s</text>
|
||||||
<text class="tree-trunk-text tree-small" x="520" y="744">192.168.100.73</text>
|
<text class="tree-trunk-text tree-small" x="520" y="744">192.168.100.80</text>
|
||||||
|
|
||||||
<path class="tree-root" d="M520 790 C456 814 390 822 310 822"></path>
|
<path class="tree-root" d="M520 790 C456 814 390 822 310 822"></path>
|
||||||
<path class="tree-root" d="M520 790 C584 816 660 824 740 822"></path>
|
<path class="tree-root" d="M520 790 C584 816 660 824 740 822"></path>
|
||||||
|
|
@ -202,7 +202,7 @@ $blogHref = 'blog.php?lang=' . urlencode($lang);
|
||||||
<rect width="148" height="84" rx="8"></rect>
|
<rect width="148" height="84" rx="8"></rect>
|
||||||
<path d="M74 0 L74 84 M0 30 L148 30"></path>
|
<path d="M74 0 L74 84 M0 30 L148 30"></path>
|
||||||
<text x="74" y="56">Raspberry Pi</text>
|
<text x="74" y="56">Raspberry Pi</text>
|
||||||
<text class="tree-small" x="74" y="74">arm64 worker</text>
|
<text class="tree-small" x="74" y="74">DNS + uptime</text>
|
||||||
</g>
|
</g>
|
||||||
|
|
||||||
<g class="tree-gift gift-green" transform="translate(256 800)">
|
<g class="tree-gift gift-green" transform="translate(256 800)">
|
||||||
|
|
@ -245,9 +245,9 @@ $blogHref = 'blog.php?lang=' . urlencode($lang);
|
||||||
<li><strong>Branches:</strong> Kubernetes namespaces and workloads that carry the visible services.</li>
|
<li><strong>Branches:</strong> Kubernetes namespaces and workloads that carry the visible services.</li>
|
||||||
<li><strong>Ornaments:</strong> external Gitea, Actions, Argo CD, Buildx, Trivy, Gitleaks, Calico, registry, website, and demos.</li>
|
<li><strong>Ornaments:</strong> external Gitea, Actions, Argo CD, Buildx, Trivy, Gitleaks, Calico, registry, website, and demos.</li>
|
||||||
<li><strong>Bells:</strong> probes and health checks that make noise before users do.</li>
|
<li><strong>Bells:</strong> probes and health checks that make noise before users do.</li>
|
||||||
<li><strong>Trunk:</strong> the Debian control-plane node that holds the platform upright.</li>
|
<li><strong>Trunk:</strong> native K3s on the Orange Pi. The Debian and Pimox kubeadm layouts remain alternative profiles; only one runs at a time.</li>
|
||||||
<li><strong>Roots:</strong> OpenEBS retained volumes, external SSD storage, Gitea dumps, and restore discipline.</li>
|
<li><strong>Roots:</strong> OpenEBS retained volumes, external SSD storage, Gitea dumps, and restore discipline.</li>
|
||||||
<li><strong>Gifts:</strong> the OCI edge host, Raspberry Pi worker, monitoring ideas, and the improvement backlog.</li>
|
<li><strong>Gifts:</strong> the OCI edge host, Raspberry Pi support services, monitoring, and the improvement backlog.</li>
|
||||||
</ul>
|
</ul>
|
||||||
</section>
|
</section>
|
||||||
</main>
|
</main>
|
||||||
|
|
|
||||||
|
|
@ -93,7 +93,7 @@ return [
|
||||||
|
|
||||||
'blog_kicker' => 'Homelab field notes',
|
'blog_kicker' => 'Homelab field notes',
|
||||||
'blog_title' => 'I accidentally built a tiny CI/CD platform',
|
'blog_title' => 'I accidentally built a tiny CI/CD platform',
|
||||||
'blog_subtitle' => 'A case-study style walkthrough of how a Debian operations host, all-Pimox Kubernetes VMs, external Gitea, local registry, Kyverno policy, Argo CD, monitoring, static demos, and a Debian-hosted AI stack became a repeatable delivery system.',
|
'blog_subtitle' => 'A homelab delivery platform with three exclusive cluster profiles: hybrid kubeadm, all-Pimox kubeadm, and native K3s on the Orange Pi 5 Plus. Debian keeps Git, builds, AI tools and recovery available while the cluster changes.',
|
||||||
'case_studies_kicker' => 'Portfolio case studies',
|
'case_studies_kicker' => 'Portfolio case studies',
|
||||||
'case_studies_title' => 'Production-shaped evidence',
|
'case_studies_title' => 'Production-shaped evidence',
|
||||||
'case_studies_intro' => 'These are the three proof points a hiring manager should see first: platform ownership, production reliability at scale, and the reserved MLOps path for model-serving work.',
|
'case_studies_intro' => 'These are the three proof points a hiring manager should see first: platform ownership, production reliability at scale, and the reserved MLOps path for model-serving work.',
|
||||||
|
|
@ -113,30 +113,30 @@ return [
|
||||||
'blog_speaker_answer' => 'Me, holding coffee',
|
'blog_speaker_answer' => 'Me, holding coffee',
|
||||||
'blog_q1' => 'Be honest: why build all this instead of just running a couple containers like a normal person?',
|
'blog_q1' => 'Be honest: why build all this instead of just running a couple containers like a normal person?',
|
||||||
'blog_a1' => 'Because apparently I looked at "host a website" and thought, "what if this had a control plane, GitOps, retained storage, an image registry, and several new ways to embarrass myself?" The real goal was practice: provision the infra, keep config in Git, deploy with automation, break it, fix it, and make sure I could rebuild it without relying on shell history and vibes.',
|
'blog_a1' => 'Because apparently I looked at "host a website" and thought, "what if this had a control plane, GitOps, retained storage, an image registry, and several new ways to embarrass myself?" The real goal was practice: provision the infra, keep config in Git, deploy with automation, break it, fix it, and make sure I could rebuild it without relying on shell history and vibes.',
|
||||||
'blog_q2' => 'Why kubeadm? Were managed clusters too emotionally stable?',
|
'blog_q2' => 'Did the cluster really need three VMs to host a website?',
|
||||||
'blog_a2' => 'Pretty much. kubeadm keeps the cluster close to the metal, which is a polite way of saying I get to see every sharp edge. The Debian node runs the control plane, the Raspberry Pi joins as an arm64 worker, and Pimox on an Orange Pi 5 Plus now gives me a repeatable way to add Debian 13 arm64 VM workers. Suddenly networking, storage, container runtimes, certs, and node recovery are not mysterious cloud magic. They are my problem.',
|
'blog_a2' => 'The VMs taught me a lot about kubeadm, scheduling, networking and recovery. They also gave a small lab more moving parts to debug. I kept both kubeadm layouts, then added native K3s on the Orange Pi host. The profiles are debian for a laptop control plane with VM workers, pimox for the entirely virtual cluster, and k3s for the native host. One runs at a time; the laptop stays the operations machine.',
|
||||||
'blog_q3' => 'So where is the CI/CD part hiding?',
|
'blog_q3' => 'So where is the CI/CD part hiding?',
|
||||||
'blog_a3' => 'It is small, but it is real. OpenTofu brings up the cluster, platform, apps, and edge layers. Argo CD watches Git from the app workers, Kyverno keeps policy pressure on the workloads, Docker Buildx builds amd64 and arm64 images, and the local registry feeds the cluster. No enterprise dashboard fireworks, just a clean loop: Git changed, image built, cluster updated, nobody had to kubectl-edit anything at 2 AM.',
|
'blog_a3' => 'OpenTofu owns cluster, platform and app setup. Argo CD reads the configured private Git repository, Buildx creates amd64 and arm64 images, and Kyverno supplies policy checks. Before deployment, Jeannie verifies cluster identity, checks competing runtimes, and estimates scheduling from resource requests, selectors, volumes and ports. A green CPU-usage graph alone does not mean the scheduler can fit another pod.',
|
||||||
'blog_q4' => 'Why run your own registry and Gitea? Was the simple option unavailable?',
|
'blog_q4' => 'Why run your own registry and Gitea? Was the simple option unavailable?',
|
||||||
'blog_a4' => 'The simple option was very available, which is why I heroically ignored it. The registry means experiments do not need to go to a public image repo, and external Gitea gives the lab its own Git service without making Kubernetes responsible for its own source of truth. Together they make the setup feel less like "some containers under the stairs" and more like a tiny platform with opinions, responsibilities, and occasionally dramatic storage needs.',
|
'blog_a4' => 'The simple option was very available, which is why I heroically ignored it. The registry means experiments do not need to go to a public image repo, and external Gitea gives the lab its own Git service without making Kubernetes responsible for its own source of truth. Together they make the setup feel less like "some containers under the stairs" and more like a tiny platform with opinions, responsibilities, and occasionally dramatic storage needs.',
|
||||||
'blog_q5' => 'What actually hurt the most?',
|
'blog_q5' => 'What actually hurt the most?',
|
||||||
'blog_a5' => 'Storage. Always storage. Kubernetes, Docker, retained volumes, and build caches can fill a small root disk with the quiet confidence of a bad decision. Moving OpenEBS local volumes and Docker data to the external SSD turned the lab from "why is everything on fire?" into "okay, this is usable now." Growth, allegedly.',
|
'blog_a5' => 'Storage. Always storage. Kubernetes, Docker, retained volumes, and build caches can fill a small root disk with the quiet confidence of a bad decision. Moving OpenEBS local volumes and Docker data to the external SSD turned the lab from "why is everything on fire?" into "okay, this is usable now." Growth, allegedly.',
|
||||||
'blog_q6' => 'So the platform controllers finally moved off the control plane?',
|
'blog_q6' => 'Where do the platform controllers run now?',
|
||||||
'blog_a6' => 'Yes. Argo CD and Kyverno now target the homelab.dev/node-role=app workers, including Kyverno hook jobs, so the Debian node can stay focused on control-plane duties. That one change made the lab feel less like everything was balanced on the first machine that happened to boot.',
|
'blog_a6' => 'Placement follows the selected topology. Multi-node profiles keep platform workloads on labeled workers; the single-node K3s profile labels the selected Orange Pi control plane for platform work. The pipeline must inspect the live cluster instead of insisting that a VM worker from an older deployment exists. State, identity and scheduling checks stay shared across the three profiles.',
|
||||||
'blog_q7' => 'Can the current cluster actually handle all that, or are we about to smoke the Pi?',
|
'blog_q7' => 'Can the current cluster actually handle all that, or are we about to smoke the Pi?',
|
||||||
'blog_a7' => 'The Pi survives because the demos are intentionally local-first and now ship as a separate static artifact. The website pod stays a portfolio shell, the demos-static pod serves static bundles, and the user browser does the expensive work. If I later ship real ONNX object detection, Transformers.js, or full video transcoding models, those must lazy-load in the browser or move to a beefier node. The Raspberry Pi is brave, but it is not a GPU wearing a tiny hat.',
|
'blog_a7' => 'The website and demos stay deliberately small, with expensive demo work in the browser. Native K3s can use the Orange Pi host resources without a VM allocation boundary, but the OS and background services still need their share. Capacity claims come from the live node, not the size printed on the box. The node is Ready; successful platform and app rollouts are separate checks.',
|
||||||
'blog_q8' => 'So the lab can now build its own worker nodes?',
|
'blog_q8' => 'So the lab can now build its own worker nodes?',
|
||||||
'blog_a8' => 'Yes, and now with fewer crossed fingers. Debian runs a provisioning layer with dnsmasq, nginx, PXE boot files, GRUB, and a Debian 13 arm64 preseed. OpenTofu talks to Pimox through qm, creates VM 9000 on local storage, boots it from the network, installs the OS, runs golden-node prep, disables swap, verifies cgroups, installs containerd and kubeadm tooling, then seals it as a template. Worker clones are idempotent by VMID when a stable non-local Pimox datastore is available.',
|
'blog_a8' => 'Yes, and now with fewer crossed fingers. Debian runs a provisioning layer with dnsmasq, nginx, PXE boot files, GRUB, and a Debian 13 arm64 preseed. OpenTofu talks to Pimox through qm, creates VM 9000 on local storage, boots it from the network, installs the OS, runs golden-node prep, disables swap, verifies cgroups, installs containerd and kubeadm tooling, then seals it as a template. Worker clones are idempotent by VMID when a stable non-local Pimox datastore is available.',
|
||||||
'blog_q9' => 'And OpenWrt is joining the story too?',
|
'blog_q9' => 'And OpenWrt is joining the story too?',
|
||||||
'blog_a9' => 'Only as a simple firewall, not as a networking science project. The pipeline can create an opt-in OpenWrt ARM SystemReady VM, attach vmbr0 as WAN and vmbr1 as LAN, and configure the LAN side without rewriting Orange Pi host networking. DHCP stays optional, and VLANs wait until there is a managed switch and a local test window.',
|
'blog_a9' => 'OpenWrt remains an optional VM experiment in the kubeadm modes. Native K3s requires every Pimox VM stopped, so its pipeline skips OpenWrt startup. Pimox, its VM disks and vmbr0 remain in place. Switching back is a runtime transition, not permission to erase the hypervisor or run both modes together.',
|
||||||
'blog_q10' => 'What changed on the observability and scheduling side?',
|
'blog_q10' => 'What changed on the observability and scheduling side?',
|
||||||
'blog_a10' => 'Monitoring moved from "someday" to "running," and scheduling moved from "whatever fits" to explicit worker placement. Prometheus Stack, Grafana, Loki, Promtail, node-exporter, and kube-state-metrics give the lab useful signals; the next useful step is choosing the few alerts that would actually wake me up for the right reasons.',
|
'blog_a10' => 'The scheduler cares about reservations, placement and local volumes, not only current CPU consumption. Prometheus and Grafana once remained Pending because their retained storage pointed at a fully reserved one-core worker. The pipeline now estimates feasibility before applying, handles initial operator bootstrap separately, and still waits for actual readiness afterward. Old evicted pods are cleanup targets; a live Pending pod needs its scheduling cause fixed.',
|
||||||
'blog_stack_title' => 'Technologies and why they are here',
|
'blog_stack_title' => 'Technologies and why they are here',
|
||||||
'blog_stack_1' => 'Debian Linux is the steady adult in the room: control plane host, deployment workstation, PXE/preseed server, and the place where OpenTofu, Docker, kubeadm, and the scripts do their thing.',
|
'blog_stack_1' => 'The Debian laptop is the operations host: Jeannie, external Gitea, image builds, AI tools, backups and recovery stay outside Kubernetes. It is a kubeadm control plane only when the debian profile is selected; native K3s belongs on the Orange Pi.',
|
||||||
'blog_stack_2' => 'Raspberry Pi keeps the external Gitea service close to the lab on SSD-backed /data, while Pimox on the Orange Pi 5 Plus can provide an app-worker pool when its VM storage is stable. The HP Debian laptop now owns the NVMe-backed data-vg storage for Kubernetes data paths.',
|
'blog_stack_2' => 'The Orange Pi 5 Plus retains Pimox and its VM disks while also supporting a native K3s profile. Host K3s and the VMs do not run together. The Raspberry Pi supplies support services such as DNS and uptime monitoring; external Gitea now runs on Debian.',
|
||||||
'blog_stack_3' => 'OpenTofu makes the cluster, platform, apps, edge, and provisioning layers repeatable, because "I swear I remember the command" is not a disaster recovery strategy.',
|
'blog_stack_3' => 'OpenTofu makes the cluster, platform, apps, edge, and provisioning layers repeatable, because "I swear I remember the command" is not a disaster recovery strategy.',
|
||||||
'blog_stack_4' => 'Calico handles pod networking, and OpenEBS hostpath storage keeps the important data around after rebuilds, because deleting everything by accident is only funny once.',
|
'blog_stack_4' => 'Calico supplies pod networking and OpenEBS supplies local storage. A retained local volume remains tied to its host and path: switching cluster profiles does not move its data. The native transition copies registry data explicitly and preserves other old laptop volumes for a separate restore.',
|
||||||
'blog_stack_5' => 'Argo CD is the GitOps referee and now runs on app workers: manifests live in Git, the cluster follows along, and manual drift gets side-eyed back into place.',
|
'blog_stack_5' => 'Argo CD reconciles apps from the configured private Git repository. Its placement follows the live profile: labeled workers for multi-node clusters, or the selected native control plane for a single-node cluster.',
|
||||||
'blog_stack_6' => 'The OCI edge host runs nginx, HAProxy, Varnish, and Squid so TLS, routing, HTTP/2, keepalive, gzip, and caching stay outside the home network while Tailscale carries traffic back to Traefik.',
|
'blog_stack_6' => 'The OCI edge host runs nginx, HAProxy, Varnish, and Squid so TLS, routing, HTTP/2, keepalive, gzip, and caching stay outside the home network while Tailscale carries traffic back to Traefik.',
|
||||||
'blog_stack_7' => 'The shared theme toggle is plain CSS and JavaScript: dark mode uses an old-console green-on-black treatment, while light mode switches to black cursive on ivory across the website and demo catalog.',
|
'blog_stack_7' => 'The shared theme toggle is plain CSS and JavaScript: dark mode uses an old-console green-on-black treatment, while light mode switches to black cursive on ivory across the website and demo catalog.',
|
||||||
'blog_stack_8' => 'The first demo keeps files in the browser. Image crunching uses native Canvas APIs today, while the fast serious path for video conversion is Rust compiled to WebAssembly with a TypeScript UI.',
|
'blog_stack_8' => 'The first demo keeps files in the browser. Image crunching uses native Canvas APIs today, while the fast serious path for video conversion is Rust compiled to WebAssembly with a TypeScript UI.',
|
||||||
|
|
@ -146,22 +146,22 @@ return [
|
||||||
'blog_stack_12' => 'The Pimox worker pipeline uses qm over SSH to create an OVMF/virtio-scsi Debian 13 arm64 VM, wait for qemu-guest-agent, seal it, and convert VM 9000 into a reusable template on local storage.',
|
'blog_stack_12' => 'The Pimox worker pipeline uses qm over SSH to create an OVMF/virtio-scsi Debian 13 arm64 VM, wait for qemu-guest-agent, seal it, and convert VM 9000 into a reusable template on local storage.',
|
||||||
'blog_stack_13' => 'The golden image bakes in Kubernetes prerequisites: swap disabled, cgroup boot options checked, kernel modules loaded, containerd configured for systemd cgroups, kubeadm/kubelet/kubectl installed, and qemu-guest-agent enabled.',
|
'blog_stack_13' => 'The golden image bakes in Kubernetes prerequisites: swap disabled, cgroup boot options checked, kernel modules loaded, containerd configured for systemd cgroups, kubeadm/kubelet/kubectl installed, and qemu-guest-agent enabled.',
|
||||||
'blog_stack_14' => 'Worker clone automation is count-based and idempotent: LAB_PIMOX_WORKER_COUNT=1 means ensure VM 9010 exists, not create a fresh worker on every run. New workers are refused if the target storage is local.',
|
'blog_stack_14' => 'Worker clone automation is count-based and idempotent: LAB_PIMOX_WORKER_COUNT=1 means ensure VM 9010 exists, not create a fresh worker on every run. New workers are refused if the target storage is local.',
|
||||||
'blog_stack_15' => 'OpenWrt is handled separately from the Debian golden-node template. The lab downloads the upstream ARM SystemReady EFI image, imports it onto selected non-local Pimox storage, and keeps it disabled unless LAB_OPENWRT_VM=true is set.',
|
'blog_stack_15' => 'OpenWrt is an opt-in firewall VM for VM mode. Native K3s skips it and refuses any running Pimox VM; the pipeline preserves the existing bridge and disks.',
|
||||||
'blog_stack_16' => 'The monitoring layer now includes Prometheus Stack, Grafana, Loki, Promtail, node-exporter, and kube-state-metrics, with placement guardrails so platform add-ons stop defaulting to the control plane.',
|
'blog_stack_16' => 'Prometheus Stack, Grafana, Loki, Promtail, node-exporter and kube-state-metrics make up the monitoring layer. Scheduling estimates include resource reservations and volume placement; live rollout checks determine whether the services actually started.',
|
||||||
'blog_stack_17' => 'The portfolio website keeps Apache at the core, runs PHP through PHP-FPM with OPcache, pre-renders read-heavy pages into static HTML during the image build, and leaves PHP for write and translation endpoints.',
|
'blog_stack_17' => 'The portfolio website keeps Apache at the core, runs PHP through PHP-FPM with OPcache, pre-renders read-heavy pages into static HTML during the image build, and leaves PHP for write and translation endpoints.',
|
||||||
'blog_stack_18' => 'The supply-chain path now uses BuildKit SBOM attestations, Cosign signatures, a cluster-published public key, and an audit-first Kyverno ImageValidatingPolicy that can be promoted to deny unsigned local-registry pods.',
|
'blog_stack_18' => 'The supply-chain path now uses BuildKit SBOM attestations, Cosign signatures, a cluster-published public key, and an audit-first Kyverno ImageValidatingPolicy that can be promoted to deny unsigned local-registry pods.',
|
||||||
'blog_stack_19' => 'The translation path now uses Redis for per-string cache hits, a custom Ollama website-translator model on the Debian server for cache misses, n8n for prewarming and batch workflow automation, and structured logs for cache, latency, JSON parse, and timeout signals.',
|
'blog_stack_19' => 'The translation path now uses Redis for per-string cache hits, a custom Ollama website-translator model on the Debian server for cache misses, n8n for prewarming and batch workflow automation, and structured logs for cache, latency, JSON parse, and timeout signals.',
|
||||||
'blog_stack_20' => 'The AI stack is Debian-hosted by design: OmniRoute runs in Docker Compose under /data/homelab-ai-stack, seeds OpenRouter and NVIDIA keys locally, creates free/no-auth provider routes, validates real completions, and writes model hints for the tools.',
|
'blog_stack_20' => 'The AI stack is Debian-hosted by design: OmniRoute runs in Docker Compose under /data/homelab-ai-stack, seeds OpenRouter and NVIDIA keys locally, creates free/no-auth provider routes, validates real completions, and writes model hints for the tools.',
|
||||||
'blog_stack_21' => 'Goose, Holmes, and Hermes stay installed as bare-metal tools with Jeannie wrappers. That means doctor-k8s can collect read-only Kubernetes evidence and ask Holmes for triage even when the cluster itself is the broken component.',
|
'blog_stack_21' => 'Goose, Holmes, and Hermes stay installed as bare-metal tools with Jeannie wrappers. That means doctor-k8s can collect read-only Kubernetes evidence and ask Holmes for triage even when the cluster itself is the broken component.',
|
||||||
'blog_stack_22' => 'The Pimox migration turned the Orange Pi 5 Plus into rebuildable Kubernetes capacity: three Debian arm64 VMs, big-core KVM pinning, containerd 2.x registry trust, known-host refresh, imagefs cleanup, and app rollouts that do not depend on manual node edits.',
|
'blog_stack_22' => 'The Pimox profiles preserve the learning path: golden-image preparation, VM lifecycle, big-core pinning, guest readiness, containerd registry trust and recovery. Native K3s offers a simpler runtime on the same Orange Pi without discarding those VM environments.',
|
||||||
'blog_arch_kicker' => 'Architecture map',
|
'blog_arch_kicker' => 'Architecture map',
|
||||||
'blog_arch_title' => 'The homelab, end to end',
|
'blog_arch_title' => 'The homelab, end to end',
|
||||||
'blog_arch_intro' => 'The current delivery path starts with a push to Gitea, runs local validation, builds arm64 images, syncs the validated commit into the GitOps mirror, and lets Argo CD reconcile from the app workers. The infrastructure path stays manual through jeannie, including the PXE/Pimox template builder, NVMe-backed worker clones, Kyverno policy placement, Redis-backed website translation, n8n workflow automation, and the opt-in OpenWrt firewall VM, while the OCI edge routes public traffic back through the private path.',
|
'blog_arch_intro' => 'Git, builds, AI and recovery stay on Debian. Jeannie selects one of three Kubernetes layouts and checks identity, runtime exclusivity, scheduling and retained storage before changing it. The native Orange Pi K3s node has reported Ready; its platform and application rollout is tracked separately. The OCI edge still reaches services over Tailscale.',
|
||||||
'blog_arch_caption' => 'The diagram is intentionally operational: it shows the app delivery loop, image flow, provisioning path, worker-placement boundary, monitoring layer, Redis/n8n/Ollama translation path, OpenWrt firewall option, and public traffic path without hiding the practical bits that make a small lab behave like a platform.',
|
'blog_arch_caption' => 'The three profiles are alternatives, not simultaneous clusters. VM provisioning and OpenWrt belong to VM mode; native K3s uses the Orange Pi host directly. Retained disks and data survive mode changes, but storage moves require an explicit verified copy or restore.',
|
||||||
'blog_arch_fun_link' => 'Open the Christmas-tree version',
|
'blog_arch_fun_link' => 'Open the Christmas-tree version',
|
||||||
'blog_activity_kicker' => 'Recent activity log',
|
'blog_activity_kicker' => 'Recent activity log',
|
||||||
'blog_activity_title' => 'What changed since the first build',
|
'blog_activity_title' => 'What changed since the first build',
|
||||||
'blog_activity_intro' => 'The lab moved from a working Kubernetes experiment into a more complete self-hosted delivery system. The latest work focused on trust, repeatability, VM-based expansion, controller placement, measured website performance, and deploys that match the exact commit that passed validation.',
|
'blog_activity_intro' => 'These entries describe successive stages of the lab, not services that all run at once. The latest milestone is native K3s reporting Ready on the Orange Pi after retiring the accidental laptop installation. Platform and apps still need their own completion checks.',
|
||||||
'blog_activity_1' => 'Moved Gitea out of Kubernetes and onto the Raspberry Pi as the local Git service, while keeping the public /git/ route through the edge stack.',
|
'blog_activity_1' => 'Moved Gitea out of Kubernetes and onto the Raspberry Pi as the local Git service, while keeping the public /git/ route through the edge stack.',
|
||||||
'blog_activity_2' => 'Installed and validated a Debian-hosted Gitea Actions runner so pushes to main can build, scan, and deploy without depending on a laptop session.',
|
'blog_activity_2' => 'Installed and validated a Debian-hosted Gitea Actions runner so pushes to main can build, scan, and deploy without depending on a laptop session.',
|
||||||
'blog_activity_3' => 'Added a custom checkout flow for the /git/ subpath and kept a persistent Debian checkout for the deployment scripts.',
|
'blog_activity_3' => 'Added a custom checkout flow for the /git/ subpath and kept a persistent Debian checkout for the deployment scripts.',
|
||||||
|
|
@ -184,17 +184,17 @@ return [
|
||||||
'blog_todo_kicker' => 'Improvement backlog',
|
'blog_todo_kicker' => 'Improvement backlog',
|
||||||
'blog_todo_title' => 'Todo list for the next homelab pass',
|
'blog_todo_title' => 'Todo list for the next homelab pass',
|
||||||
'blog_todo_intro' => 'These are improvement proposals, not chores for the sake of chores. Each item either reduces rebuild risk, tightens supply-chain hygiene, or makes the platform easier to operate when something fails.',
|
'blog_todo_intro' => 'These are improvement proposals, not chores for the sake of chores. Each item either reduces rebuild risk, tightens supply-chain hygiene, or makes the platform easier to operate when something fails.',
|
||||||
'blog_todo_1' => 'Move Gitea data from the Raspberry Pi SD card to SSD-backed storage.',
|
'blog_todo_1' => 'Verify restore drills for the Debian-hosted Gitea data and keep recovery available while any Kubernetes profile is stopped.',
|
||||||
'blog_todo_2' => 'Keep the Debian bare GitOps mirror as the cluster source and add object-storage backups when OCI storage is ready.',
|
'blog_todo_2' => 'Verify backups and restores for the configured Git source, retained local volumes and OCI object-storage targets before relying on a rebuild.',
|
||||||
'blog_todo_3' => 'Add a real OpenTofu remote state backend with backup, locking, and a documented recovery path.',
|
'blog_todo_3' => 'Add a real OpenTofu remote state backend with backup, locking, and a documented recovery path.',
|
||||||
'blog_todo_4' => 'Replace the remaining mutable latest image references with immutable tags or digest pins for demo workloads; the website image now uses a content-hash tag.',
|
'blog_todo_4' => 'Replace the remaining mutable latest image references with immutable tags or digest pins for demo workloads; the website image now uses a content-hash tag.',
|
||||||
'blog_todo_5' => 'Move the Cosign private key into Vault or another secret manager so the runner no longer owns long-lived signing material on disk.',
|
'blog_todo_5' => 'Move the Cosign private key into Vault or another secret manager so the runner no longer owns long-lived signing material on disk.',
|
||||||
'blog_todo_6' => 'Add Renovate or Dependabot-style dependency updates for base images, Helm charts, and GitHub/Gitea Actions.',
|
'blog_todo_6' => 'Add Renovate or Dependabot-style dependency updates for base images, Helm charts, and GitHub/Gitea Actions.',
|
||||||
'blog_todo_7' => 'Expand Kyverno baseline policy coverage: non-root, read-only roots, resource requests, allowed registries, and documented exceptions for platform components.',
|
'blog_todo_7' => 'Expand Kyverno baseline policy coverage: non-root, read-only roots, resource requests, allowed registries, and documented exceptions for platform components.',
|
||||||
'blog_todo_8' => 'Turn the installed observability stack into useful operations views: a few high-signal dashboards, alerts for node health, storage pressure, certificate expiry, and failed app syncs.',
|
'blog_todo_8' => 'Finish native-profile platform and app validation, then verify useful alerts and scrape targets instead of treating a Ready node as a completed monitoring rollout.',
|
||||||
'blog_todo_9' => 'Schedule backup restore drills for external Gitea and OpenEBS volumes, then write the exact restore runbook.',
|
'blog_todo_9' => 'Schedule backup restore drills for external Gitea and OpenEBS volumes, then write the exact restore runbook.',
|
||||||
'blog_todo_10' => 'Tighten TLS, SSH, and token rotation around the OCI edge, Gitea, registry, and runner credentials.',
|
'blog_todo_10' => 'Tighten TLS, SSH, and token rotation around the OCI edge, Gitea, registry, and runner credentials.',
|
||||||
'blog_todo_11' => 'Document the new storage split: local for the Pimox template, data-vg on the HP Debian laptop for Kubernetes app data, Raspberry Pi SSD /data for Gitea and Docker, and backup targets for anything that must survive a rebuild.',
|
'blog_todo_11' => 'Restore any needed non-registry laptop PVC data explicitly, document its new host and path, and verify that switching profiles cannot bind the wrong local volume.',
|
||||||
'blog_todo_12' => 'Move sensitive app configuration into Sealed Secrets, External Secrets, or another explicit secret-management path.',
|
'blog_todo_12' => 'Move sensitive app configuration into Sealed Secrets, External Secrets, or another explicit secret-management path.',
|
||||||
'blog_todo_13' => 'Test the OpenWrt VM in a maintenance window before making it a gateway: confirm WAN, LAN, rollback access, DHCP settings, and that Pimox remains reachable.',
|
'blog_todo_13' => 'Test the OpenWrt VM in a maintenance window before making it a gateway: confirm WAN, LAN, rollback access, DHCP settings, and that Pimox remains reachable.',
|
||||||
'blog_todo_14' => 'Buy or configure a managed switch before VLAN work. Until then, keep OpenWrt as a simple two-interface firewall and avoid risky remote bridge rewrites.',
|
'blog_todo_14' => 'Buy or configure a managed switch before VLAN work. Until then, keep OpenWrt as a simple two-interface firewall and avoid risky remote bridge rewrites.',
|
||||||
|
|
@ -248,4 +248,10 @@ return [
|
||||||
'demo_mlops_label' => 'Demo 09',
|
'demo_mlops_label' => 'Demo 09',
|
||||||
'demo_mlops_title' => 'MLOps Deployment Platform',
|
'demo_mlops_title' => 'MLOps Deployment Platform',
|
||||||
'demo_mlops_desc' => 'Placeholder for the serious MLOps showcase: inference service, Kubernetes rollout, metrics, drift signals, and rollback workflow.',
|
'demo_mlops_desc' => 'Placeholder for the serious MLOps showcase: inference service, Kubernetes rollout, metrics, drift signals, and rollback workflow.',
|
||||||
|
'blog_stack_23' => 'Cluster identity is pinned to API endpoint, CA fingerprint and kube-system UID. Each profile has separate cluster, platform and app state; a shared runtime lock and host probes block conflicting deployments.',
|
||||||
|
'blog_stack_24' => 'The laptop-to-native transition is resumable. It verifies the old identity, stops laptop K3s workloads, archives state and datastore, copies a checksum-verified registry onto the Orange Pi, verifies the new identity over SSH, and then sequences platform and apps.',
|
||||||
|
'blog_activity_20' => 'Added per-profile state and pinned API endpoint, CA fingerprint and namespace UID so an old kubeconfig cannot silently redirect a deployment into another cluster.',
|
||||||
|
'blog_activity_21' => 'Added scheduling feasibility checks and runtime exclusion across the debian, pimox and k3s profiles. One-core workers are assessed by actual capacity and reservations rather than a fixed two-core requirement.',
|
||||||
|
'blog_activity_22' => 'Retired accidental laptop K3s with retained state and datastore backups, preserved the source registry, and copied verified registry data to the Orange Pi before native K3s startup. Other old laptop PVC data stays preserved locally.',
|
||||||
|
'blog_activity_23' => 'On November 2, 2026, the native opi5plus node at 192.168.100.80 reported Ready. Platform and apps remain separate rollout milestones; a Ready node alone does not prove either is finished.',
|
||||||
];
|
];
|
||||||
|
|
|
||||||
|
|
@ -1,4 +1,5 @@
|
||||||
<?php
|
<?php
|
||||||
|
// Revised operational entries use the English fallback until retranslated.
|
||||||
return [
|
return [
|
||||||
'name' => 'Juvenal Diaz',
|
'name' => 'Juvenal Diaz',
|
||||||
'job_title' => 'Hueyi tequitini: DevOps, MLOps ihuan tlatecpanaliztli',
|
'job_title' => 'Hueyi tequitini: DevOps, MLOps ihuan tlatecpanaliztli',
|
||||||
|
|
@ -93,7 +94,6 @@ return [
|
||||||
|
|
||||||
'blog_kicker' => 'Homelab tlahcuilolli',
|
'blog_kicker' => 'Homelab tlahcuilolli',
|
||||||
'blog_title' => 'Tlatecpanaliztli homelab CI/CD pipeline',
|
'blog_title' => 'Tlatecpanaliztli homelab CI/CD pipeline',
|
||||||
'blog_subtitle' => 'Case-study style tlahcuilolli: quen Debian operations host, all-Pimox Kubernetes VMs, external Gitea, local registry, Kyverno policy, Argo CD, monitoring, static demos, ihuan Debian-hosted AI stack omocuepque repeatable delivery system.',
|
|
||||||
'case_studies_kicker' => 'Portfolio tlamantli',
|
'case_studies_kicker' => 'Portfolio tlamantli',
|
||||||
'case_studies_title' => 'Evidence quen production',
|
'case_studies_title' => 'Evidence quen production',
|
||||||
'case_studies_intro' => 'Inin yeyi proof points ma quitta hiring manager achto: platform ownership, production reliability at scale, ihuan reserved MLOps path para model-serving tequitl.',
|
'case_studies_intro' => 'Inin yeyi proof points ma quitta hiring manager achto: platform ownership, production reliability at scale, ihuan reserved MLOps path para model-serving tequitl.',
|
||||||
|
|
@ -113,30 +113,18 @@ return [
|
||||||
'blog_speaker_answer' => 'Nehuatl, coffee ipan noma',
|
'blog_speaker_answer' => 'Nehuatl, coffee ipan noma',
|
||||||
'blog_q1' => 'Melahuac: tleica niquichihua nochi inin ihuan ahmo zan ome containers quen normal person?',
|
'blog_q1' => 'Melahuac: tleica niquichihua nochi inin ihuan ahmo zan ome containers quen normal person?',
|
||||||
'blog_a1' => 'Pampa onciquitta "host a website" ihuan oniquilhuia: "tlein panos tla inin quipia control plane, GitOps, retained storage, image registry, ihuan miec yancuic ways para nimopinahuiz?" Melahuac goal catca practice: provision infra, quipia config ipan Git, deploy ika automation, xitlapana, xicyecana, ihuan xiquitta tla huel rebuild ahmo ika shell history ihuan vibes.',
|
'blog_a1' => 'Pampa onciquitta "host a website" ihuan oniquilhuia: "tlein panos tla inin quipia control plane, GitOps, retained storage, image registry, ihuan miec yancuic ways para nimopinahuiz?" Melahuac goal catca practice: provision infra, quipia config ipan Git, deploy ika automation, xitlapana, xicyecana, ihuan xiquitta tla huel rebuild ahmo ika shell history ihuan vibes.',
|
||||||
'blog_q2' => 'Tleica kubeadm? Managed clusters catca too emotionally stable?',
|
|
||||||
'blog_a2' => 'Quena. kubeadm quicahua cluster nechca metal; in polite way quitosnequi niquita nochi sharp edge. Debian node quipia control plane, Raspberry Pi joins quen arm64 worker, ihuan Pimox ipan Orange Pi 5 Plus quimaca repeatable Debian 13 arm64 VM workers. Suddenly networking, storage, container runtimes, certs, ihuan node recovery amo cloud magic: no problema.',
|
|
||||||
'blog_q3' => 'Canin motlatia CI/CD part?',
|
'blog_q3' => 'Canin motlatia CI/CD part?',
|
||||||
'blog_a3' => 'Tepiton, zan real. OpenTofu quichihua cluster, platform, apps, ihuan edge layers. Argo CD quitta Git ipan app workers, Kyverno quimaca policy pressure, Docker Buildx quichihua amd64 ihuan arm64 images, ihuan local registry quimaca cluster. Clean loop: Git mopatla, image omochiuh, cluster updated, ahmo aca monequi kubectl-edit 2 AM.',
|
|
||||||
'blog_q4' => 'Tleica own registry ihuan Gitea? Simple option amo oncatca?',
|
'blog_q4' => 'Tleica own registry ihuan Gitea? Simple option amo oncatca?',
|
||||||
'blog_a4' => 'Simple option huel oncatca, ic heroic oniquignore. Registry quitosnequi experiments amo monequi yasque public image repo, ihuan external Gitea quimaca lab own Git service ahmo quichihua Kubernetes responsible para source of truth. In ome quichihua setup ma nesi quen tepiton platform ika opinions, responsibilities, ihuan storage drama.',
|
'blog_a4' => 'Simple option huel oncatca, ic heroic oniquignore. Registry quitosnequi experiments amo monequi yasque public image repo, ihuan external Gitea quimaca lab own Git service ahmo quichihua Kubernetes responsible para source of truth. In ome quichihua setup ma nesi quen tepiton platform ika opinions, responsibilities, ihuan storage drama.',
|
||||||
'blog_q5' => 'Tlein achi cualani?',
|
'blog_q5' => 'Tlein achi cualani?',
|
||||||
'blog_a5' => 'Storage. Nochipa storage. Kubernetes, Docker, retained volumes, ihuan build caches huel quitemitia root disk ika quiet confidence of bad decision. Moving OpenEBS local volumes ihuan Docker data ipan external SSD quicuep lab de "tleica nochi tlatla?" ica "okay, axcan huel tlatequipanoa." Growth, supposedly.',
|
'blog_a5' => 'Storage. Nochipa storage. Kubernetes, Docker, retained volumes, ihuan build caches huel quitemitia root disk ika quiet confidence of bad decision. Moving OpenEBS local volumes ihuan Docker data ipan external SSD quicuep lab de "tleica nochi tlatla?" ica "okay, axcan huel tlatequipanoa." Growth, supposedly.',
|
||||||
'blog_q6' => 'Platform controllers finally moved off control plane?',
|
|
||||||
'blog_a6' => 'Quena. Argo CD ihuan Kyverno axcan target homelab.dev/node-role=app workers, including Kyverno hook jobs, para Debian node ma mocahua focus ipan control-plane duties. Inin change quichihua lab ma nesi amo nochi balanced ipan achto machine in boot.',
|
|
||||||
'blog_q7' => 'Current cluster huel quipia nochi inin, o tiquchichinos Pi?',
|
'blog_q7' => 'Current cluster huel quipia nochi inin, o tiquchichinos Pi?',
|
||||||
'blog_a7' => 'Pi survives pampa demos cateh intentionally local-first ihuan now ship as separate static artifact. Website pod mocahua portfolio shell, demos-static pod serves static bundles, ihuan browser quichihua expensive work. Tla later onicship real ONNX object detection, Transformers.js, o full video transcoding models, monequi lazy-load ipan browser o yasque beefier node.',
|
|
||||||
'blog_q8' => 'Axcan lab huel quichihua own worker nodes?',
|
'blog_q8' => 'Axcan lab huel quichihua own worker nodes?',
|
||||||
'blog_a8' => 'Quena, ihuan axcan ika fewer crossed fingers. Debian quipia provisioning layer ika dnsmasq, nginx, PXE boot files, GRUB, ihuan Debian 13 arm64 preseed. OpenTofu notza Pimox through qm, quichihua VM 9000 ipan local storage, quiboota from network, quinstala OS, quichihua golden-node prep, disables swap, verifies cgroups, installs containerd ihuan kubeadm tooling, then seals it as template. Worker clones cateh idempotent by VMID tla onca stable non-local Pimox datastore.',
|
'blog_a8' => 'Quena, ihuan axcan ika fewer crossed fingers. Debian quipia provisioning layer ika dnsmasq, nginx, PXE boot files, GRUB, ihuan Debian 13 arm64 preseed. OpenTofu notza Pimox through qm, quichihua VM 9000 ipan local storage, quiboota from network, quinstala OS, quichihua golden-node prep, disables swap, verifies cgroups, installs containerd ihuan kubeadm tooling, then seals it as template. Worker clones cateh idempotent by VMID tla onca stable non-local Pimox datastore.',
|
||||||
'blog_q9' => 'Ihuan OpenWrt no quisa nican?',
|
'blog_q9' => 'Ihuan OpenWrt no quisa nican?',
|
||||||
'blog_a9' => 'Zan simple firewall, ahmo networking science project. Pipeline huel quichihua opt-in OpenWrt ARM SystemReady VM, attach vmbr0 quen WAN ihuan vmbr1 quen LAN, ihuan configure LAN side ahmo rewriting Orange Pi host networking. DHCP stays optional, VLANs wait until onca managed switch ihuan local test window.',
|
|
||||||
'blog_q10' => 'Tlein omopatla ipan observability ihuan scheduling side?',
|
'blog_q10' => 'Tlein omopatla ipan observability ihuan scheduling side?',
|
||||||
'blog_a10' => 'Monitoring moved de "someday" to "running," ihuan scheduling moved de "whatever fits" to explicit worker placement. Prometheus Stack, Grafana, Loki, Promtail, node-exporter, ihuan kube-state-metrics quimaca useful signals; next step quitosnequi elegir few alerts in melahuac nechixitisque para right reasons.',
|
|
||||||
'blog_stack_title' => 'Tlamantli ihuan tleica nemi nican',
|
'blog_stack_title' => 'Tlamantli ihuan tleica nemi nican',
|
||||||
'blog_stack_1' => 'Debian Linux quimaca steady adult in room: control plane host, deployment workstation, PXE/preseed server, ihuan canin OpenTofu, Docker, kubeadm, ihuan scripts quichihua tequitl.',
|
|
||||||
'blog_stack_2' => 'Raspberry Pi keeps external Gitea service close to lab ipan SSD-backed /data, while Pimox ipan Orange Pi 5 Plus huel quimaca app-worker pool tla VM storage stable. HP Debian laptop axcan quipia NVMe-backed data-vg storage para Kubernetes data paths.',
|
|
||||||
'blog_stack_3' => 'OpenTofu quichihua cluster, platform, apps, edge, ihuan provisioning layers repeatable, pampa "I swear I remember the command" amo disaster recovery strategy.',
|
'blog_stack_3' => 'OpenTofu quichihua cluster, platform, apps, edge, ihuan provisioning layers repeatable, pampa "I swear I remember the command" amo disaster recovery strategy.',
|
||||||
'blog_stack_4' => 'Calico handles pod networking, ihuan OpenEBS hostpath storage keeps important data after rebuilds, pampa deleting everything by accident zan funny once.',
|
|
||||||
'blog_stack_5' => 'Argo CD quimaca GitOps referee ihuan now runs on app workers: manifests cateh ipan Git, cluster follows along, ihuan manual drift gets side-eyed back into place.',
|
|
||||||
'blog_stack_6' => 'OCI edge host runs nginx, HAProxy, Varnish, ihuan Squid para TLS, routing, HTTP/2, keepalive, gzip, ihuan caching ma mocahua outside home network mientras Tailscale quihuica traffic back to Traefik.',
|
'blog_stack_6' => 'OCI edge host runs nginx, HAProxy, Varnish, ihuan Squid para TLS, routing, HTTP/2, keepalive, gzip, ihuan caching ma mocahua outside home network mientras Tailscale quihuica traffic back to Traefik.',
|
||||||
'blog_stack_7' => 'Shared theme toggle quipia plain CSS ihuan JavaScript: dark mode old-console green-on-black, light mode black cursive on ivory ipan website ihuan demo catalog.',
|
'blog_stack_7' => 'Shared theme toggle quipia plain CSS ihuan JavaScript: dark mode old-console green-on-black, light mode black cursive on ivory ipan website ihuan demo catalog.',
|
||||||
'blog_stack_8' => 'First demo keeps files ipan browser. Image crunching uses native Canvas APIs axcan, while fast serious path para video conversion is Rust compiled to WebAssembly ika TypeScript UI.',
|
'blog_stack_8' => 'First demo keeps files ipan browser. Image crunching uses native Canvas APIs axcan, while fast serious path para video conversion is Rust compiled to WebAssembly ika TypeScript UI.',
|
||||||
|
|
@ -146,22 +134,16 @@ return [
|
||||||
'blog_stack_12' => 'Pimox worker pipeline uses qm over SSH para create OVMF/virtio-scsi Debian 13 arm64 VM, wait for qemu-guest-agent, seal it, ihuan convert VM 9000 into reusable template on local storage.',
|
'blog_stack_12' => 'Pimox worker pipeline uses qm over SSH para create OVMF/virtio-scsi Debian 13 arm64 VM, wait for qemu-guest-agent, seal it, ihuan convert VM 9000 into reusable template on local storage.',
|
||||||
'blog_stack_13' => 'Golden image bakes in Kubernetes prerequisites: swap disabled, cgroup boot options checked, kernel modules loaded, containerd configured for systemd cgroups, kubeadm/kubelet/kubectl installed, ihuan qemu-guest-agent enabled.',
|
'blog_stack_13' => 'Golden image bakes in Kubernetes prerequisites: swap disabled, cgroup boot options checked, kernel modules loaded, containerd configured for systemd cgroups, kubeadm/kubelet/kubectl installed, ihuan qemu-guest-agent enabled.',
|
||||||
'blog_stack_14' => 'Worker clone automation is count-based ihuan idempotent: LAB_PIMOX_WORKER_COUNT=1 quitosnequi ensure VM 9010 exists, amo create fresh worker every run. New workers refused tla target storage is local.',
|
'blog_stack_14' => 'Worker clone automation is count-based ihuan idempotent: LAB_PIMOX_WORKER_COUNT=1 quitosnequi ensure VM 9010 exists, amo create fresh worker every run. New workers refused tla target storage is local.',
|
||||||
'blog_stack_15' => 'OpenWrt handled separately from Debian golden-node template. Lab downloads upstream ARM SystemReady EFI image, imports it onto selected non-local Pimox storage, ihuan keeps disabled unless LAB_OPENWRT_VM=true.',
|
|
||||||
'blog_stack_16' => 'Monitoring layer axcan includes Prometheus Stack, Grafana, Loki, Promtail, node-exporter, ihuan kube-state-metrics, ika placement guardrails para platform add-ons ma amo default to control plane.',
|
|
||||||
'blog_stack_17' => 'Portfolio website keeps Apache at core, runs PHP through PHP-FPM ika OPcache, pre-renders read-heavy pages into static HTML during image build, ihuan leaves PHP para write ihuan translation endpoints.',
|
'blog_stack_17' => 'Portfolio website keeps Apache at core, runs PHP through PHP-FPM ika OPcache, pre-renders read-heavy pages into static HTML during image build, ihuan leaves PHP para write ihuan translation endpoints.',
|
||||||
'blog_stack_18' => 'Supply-chain path axcan uses BuildKit SBOM attestations, Cosign signatures, public key ipan cluster, ihuan audit-first Kyverno ImageValidatingPolicy in huel mopromote para deny unsigned local-registry pods.',
|
'blog_stack_18' => 'Supply-chain path axcan uses BuildKit SBOM attestations, Cosign signatures, public key ipan cluster, ihuan audit-first Kyverno ImageValidatingPolicy in huel mopromote para deny unsigned local-registry pods.',
|
||||||
'blog_stack_19' => 'Translation path axcan uses Redis para per-string cache hits, custom Ollama website-translator model ipan Debian server para cache misses, n8n para prewarming ihuan batch workflows, ihuan structured logs para cache, latency, JSON parse, ihuan timeout signals.',
|
'blog_stack_19' => 'Translation path axcan uses Redis para per-string cache hits, custom Ollama website-translator model ipan Debian server para cache misses, n8n para prewarming ihuan batch workflows, ihuan structured logs para cache, latency, JSON parse, ihuan timeout signals.',
|
||||||
'blog_stack_20' => 'AI stack mocahua ipan Debian by design: OmniRoute runs in Docker Compose under /data/homelab-ai-stack, seeds OpenRouter ihuan NVIDIA keys locally, creates free/no-auth provider routes, validates real completions, ihuan writes model hints para tools.',
|
'blog_stack_20' => 'AI stack mocahua ipan Debian by design: OmniRoute runs in Docker Compose under /data/homelab-ai-stack, seeds OpenRouter ihuan NVIDIA keys locally, creates free/no-auth provider routes, validates real completions, ihuan writes model hints para tools.',
|
||||||
'blog_stack_21' => 'Goose, Holmes, ihuan Hermes mocahuah quen bare-metal tools ika Jeannie wrappers. Ica doctor-k8s huel collect read-only Kubernetes evidence ihuan ask Holmes for triage quema cluster itself is broken.',
|
'blog_stack_21' => 'Goose, Holmes, ihuan Hermes mocahuah quen bare-metal tools ika Jeannie wrappers. Ica doctor-k8s huel collect read-only Kubernetes evidence ihuan ask Holmes for triage quema cluster itself is broken.',
|
||||||
'blog_stack_22' => 'Pimox migration quicuep Orange Pi 5 Plus into rebuildable Kubernetes capacity: yeyi Debian arm64 VMs, big-core KVM pinning, containerd 2.x registry trust, known-host refresh, imagefs cleanup, ihuan app rollouts without manual node edits.',
|
|
||||||
'blog_arch_kicker' => 'Architecture mapa',
|
'blog_arch_kicker' => 'Architecture mapa',
|
||||||
'blog_arch_title' => 'Homelab, end to end',
|
'blog_arch_title' => 'Homelab, end to end',
|
||||||
'blog_arch_intro' => 'Current delivery path starts ika push to Gitea, runs local validation, builds arm64 images, syncs validated commit into GitOps mirror, ihuan lets Argo CD reconcile from app workers. Infrastructure path stays manual through jeannie, including PXE/Pimox template builder, NVMe-backed worker clones, Kyverno policy placement, Redis-backed website translation, n8n workflow automation, ihuan opt-in OpenWrt firewall VM, while OCI edge routes public traffic back through private path.',
|
|
||||||
'blog_arch_caption' => 'Diagram intentionally operational: quinextia app delivery loop, image flow, provisioning path, worker-placement boundary, monitoring layer, Redis/n8n/Ollama translation path, OpenWrt firewall option, ihuan public traffic path ahmo hiding practical bits in quichihua small lab behave like platform.',
|
|
||||||
'blog_arch_fun_link' => 'Xiquitta Christmas-tree version',
|
'blog_arch_fun_link' => 'Xiquitta Christmas-tree version',
|
||||||
'blog_activity_kicker' => 'Yancuic activity log',
|
'blog_activity_kicker' => 'Yancuic activity log',
|
||||||
'blog_activity_title' => 'Tlein omopatla since first build',
|
'blog_activity_title' => 'Tlein omopatla since first build',
|
||||||
'blog_activity_intro' => 'Lab omocuep de working Kubernetes experiment into more complete self-hosted delivery system. Latest work focused on trust, repeatability, VM-based expansion, controller placement, measured website performance, ihuan deploys in match exact commit in passed validation.',
|
|
||||||
'blog_activity_1' => 'Moved Gitea out of Kubernetes ihuan onto Raspberry Pi as local Git service, while keeping public /git/ route through edge stack.',
|
'blog_activity_1' => 'Moved Gitea out of Kubernetes ihuan onto Raspberry Pi as local Git service, while keeping public /git/ route through edge stack.',
|
||||||
'blog_activity_2' => 'Installed ihuan validated Debian-hosted Gitea Actions runner para pushes to main can build, scan, ihuan deploy without laptop session.',
|
'blog_activity_2' => 'Installed ihuan validated Debian-hosted Gitea Actions runner para pushes to main can build, scan, ihuan deploy without laptop session.',
|
||||||
'blog_activity_3' => 'Added custom checkout flow para /git/ subpath ihuan kept persistent Debian checkout para deployment scripts.',
|
'blog_activity_3' => 'Added custom checkout flow para /git/ subpath ihuan kept persistent Debian checkout para deployment scripts.',
|
||||||
|
|
@ -184,17 +166,13 @@ return [
|
||||||
'blog_todo_kicker' => 'Improvement tlatecpanaliztli',
|
'blog_todo_kicker' => 'Improvement tlatecpanaliztli',
|
||||||
'blog_todo_title' => 'Todo list para next homelab pass',
|
'blog_todo_title' => 'Todo list para next homelab pass',
|
||||||
'blog_todo_intro' => 'Inin cateh improvement proposals, amo chores zan pampa chores. Each item either reduces rebuild risk, tightens supply-chain hygiene, o makes platform easier to operate quema tlein fails.',
|
'blog_todo_intro' => 'Inin cateh improvement proposals, amo chores zan pampa chores. Each item either reduces rebuild risk, tightens supply-chain hygiene, o makes platform easier to operate quema tlein fails.',
|
||||||
'blog_todo_1' => 'Move Gitea data from Raspberry Pi SD card to SSD-backed storage.',
|
|
||||||
'blog_todo_2' => 'Keep Debian bare GitOps mirror as cluster source ihuan add object-storage backups quema OCI storage ready.',
|
|
||||||
'blog_todo_3' => 'Add real OpenTofu remote state backend ika backup, locking, ihuan documented recovery path.',
|
'blog_todo_3' => 'Add real OpenTofu remote state backend ika backup, locking, ihuan documented recovery path.',
|
||||||
'blog_todo_4' => 'Replace remaining mutable latest image references ika immutable tags o digest pins para demo workloads; website image axcan uses content-hash tag.',
|
'blog_todo_4' => 'Replace remaining mutable latest image references ika immutable tags o digest pins para demo workloads; website image axcan uses content-hash tag.',
|
||||||
'blog_todo_5' => 'Move Cosign private key into Vault o occe secret manager so runner ayacmo owns long-lived signing material on disk.',
|
'blog_todo_5' => 'Move Cosign private key into Vault o occe secret manager so runner ayacmo owns long-lived signing material on disk.',
|
||||||
'blog_todo_6' => 'Add Renovate o Dependabot-style dependency updates para base images, Helm charts, ihuan GitHub/Gitea Actions.',
|
'blog_todo_6' => 'Add Renovate o Dependabot-style dependency updates para base images, Helm charts, ihuan GitHub/Gitea Actions.',
|
||||||
'blog_todo_7' => 'Expand Kyverno baseline policy coverage: non-root, read-only roots, resource requests, allowed registries, ihuan documented exceptions para platform components.',
|
'blog_todo_7' => 'Expand Kyverno baseline policy coverage: non-root, read-only roots, resource requests, allowed registries, ihuan documented exceptions para platform components.',
|
||||||
'blog_todo_8' => 'Turn installed observability stack into useful operations views: few high-signal dashboards, alerts para node health, storage pressure, certificate expiry, ihuan failed app syncs.',
|
|
||||||
'blog_todo_9' => 'Schedule backup restore drills para external Gitea ihuan OpenEBS volumes, then write exact restore runbook.',
|
'blog_todo_9' => 'Schedule backup restore drills para external Gitea ihuan OpenEBS volumes, then write exact restore runbook.',
|
||||||
'blog_todo_10' => 'Tighten TLS, SSH, ihuan token rotation around OCI edge, Gitea, registry, ihuan runner credentials.',
|
'blog_todo_10' => 'Tighten TLS, SSH, ihuan token rotation around OCI edge, Gitea, registry, ihuan runner credentials.',
|
||||||
'blog_todo_11' => 'Document new storage split: local para Pimox template, data-vg ipan HP Debian laptop para Kubernetes app data, Raspberry Pi SSD /data para Gitea ihuan Docker, ihuan backup targets para tlein must survive rebuild.',
|
|
||||||
'blog_todo_12' => 'Move sensitive app configuration into Sealed Secrets, External Secrets, o occe explicit secret-management path.',
|
'blog_todo_12' => 'Move sensitive app configuration into Sealed Secrets, External Secrets, o occe explicit secret-management path.',
|
||||||
'blog_todo_13' => 'Test the OpenWrt VM ipan maintenance window before making it a gateway: confirm WAN, LAN, rollback access, DHCP settings, ihuan Pimox remains reachable.',
|
'blog_todo_13' => 'Test the OpenWrt VM ipan maintenance window before making it a gateway: confirm WAN, LAN, rollback access, DHCP settings, ihuan Pimox remains reachable.',
|
||||||
'blog_todo_14' => 'Buy o configure managed switch before VLAN work. Until then, keep OpenWrt quen simple two-interface firewall ihuan avoid risky remote bridge rewrites.',
|
'blog_todo_14' => 'Buy o configure managed switch before VLAN work. Until then, keep OpenWrt quen simple two-interface firewall ihuan avoid risky remote bridge rewrites.',
|
||||||
|
|
|
||||||
|
|
@ -81,9 +81,10 @@ verification, restart behavior and refusal cases. The Gitea runner requires
|
||||||
an app-node selector and host Docker socket when enabled; a zero-replica runner
|
an app-node selector and host Docker socket when enabled; a zero-replica runner
|
||||||
is left disabled across all profiles.
|
is left disabled across all profiles.
|
||||||
|
|
||||||
The k3s installer currently also enables its bundled metrics-server and
|
New native K3s installs disable packaged Traefik, metrics-server and ServiceLB;
|
||||||
ServiceLB, while the platform manages metrics-server and MetalLB. Check live
|
the platform manages the corresponding ingress, metrics and MetalLB layers.
|
||||||
ownership before consolidating these services on an existing installation.
|
Existing externally managed metrics-server installations are reused after
|
||||||
|
ownership discovery. Check live ownership before consolidating older installs.
|
||||||
Recovery and repository-scan helpers still contain timestamp triggers, so a
|
Recovery and repository-scan helpers still contain timestamp triggers, so a
|
||||||
successful second plan is not necessarily a zero-change plan.
|
successful second plan is not necessarily a zero-change plan.
|
||||||
|
|
||||||
|
|
|
||||||
15157
docs/ai-ops.md
15157
docs/ai-ops.md
File diff suppressed because it is too large
Load Diff
2255
docs/app-ops.md
2255
docs/app-ops.md
File diff suppressed because it is too large
Load Diff
5927
docs/architecture.md
5927
docs/architecture.md
File diff suppressed because it is too large
Load Diff
|
|
@ -14,6 +14,13 @@ updates an existing binding. Kubeconfigs must use explicit CA verification and
|
||||||
a single absolute file path. Context aliases are allowed only when they resolve
|
a single absolute file path. Context aliases are allowed only when they resolve
|
||||||
to the same pinned identity. TLS bypasses and endpoint/CA overrides are refused.
|
to the same pinned identity. TLS bypasses and endpoint/CA overrides are refused.
|
||||||
|
|
||||||
|
The declared profiles are `debian` (laptop kubeadm CP plus VM workers), `pimox`
|
||||||
|
(VM CP and workers), and `k3s` (native Orange Pi host). Native K3s uses
|
||||||
|
`https://192.168.100.80:6443` and `~/.kube/opi5-k3s-config`. The old laptop K3s
|
||||||
|
identity at `.73` is archived by the reviewed transition, never rebound to `.80`.
|
||||||
|
See [runtime isolation](architecture.md#profile-isolation-and-switching) and the
|
||||||
|
[native transition](deployment.md#move-laptop-k3s-to-the-orange-pi).
|
||||||
|
|
||||||
## Enroll the existing cluster once
|
## Enroll the existing cluster once
|
||||||
|
|
||||||
Run on Debian after pulling the change. Preview enrollment first:
|
Run on Debian after pulling the change. Preview enrollment first:
|
||||||
|
|
@ -59,8 +66,10 @@ OCI foundations, provisioning, and edge are shared infrastructure; their state
|
||||||
locations remain unchanged.
|
locations remain unchanged.
|
||||||
|
|
||||||
On a fresh profile cache, Jeannie initializes local-backend metadata from an
|
On a fresh profile cache, Jeannie initializes local-backend metadata from an
|
||||||
empty temporary configuration directory, using the real stack's provider lock
|
empty temporary configuration directory. Migrated state uses a copy of the real
|
||||||
file in read-only mode. It then verifies the backend points to the scoped state
|
stack's provider lock file in read-only mode; fresh/empty state does not copy
|
||||||
|
unrelated provider entries into that backend-only configuration. The real stack
|
||||||
|
keeps its complete provider lock file. It verifies the backend points to scoped state
|
||||||
and initializes the real stack without `-reconfigure`. This avoids OpenTofu
|
and initializes the real stack without `-reconfigure`. This avoids OpenTofu
|
||||||
1.12.6 treating the retained repository state as a migration source. Neither
|
1.12.6 treating the retained repository state as a migration source. Neither
|
||||||
`-force-copy` nor an automatic migration approval is used. Initialization checks
|
`-force-copy` nor an automatic migration approval is used. Initialization checks
|
||||||
|
|
@ -165,6 +174,13 @@ operation or remote provisioner is verified before it starts; the guard cannot
|
||||||
make a long-running operation atomic with a cluster identity change. Use
|
make a long-running operation atomic with a cluster identity change. Use
|
||||||
Jeannie entry points rather than raw OpenTofu commands for these stacks.
|
Jeannie entry points rather than raw OpenTofu commands for these stacks.
|
||||||
|
|
||||||
|
An enrolled stopped cluster can use the startup-only offline endpoint/CA check.
|
||||||
|
`start-cluster` verifies the live namespace UID after startup. That exception is
|
||||||
|
not an offline apply/import/cleanup/healing bypass. Deployment/start commands
|
||||||
|
also hold a shared runtime lock and reject conflicting host services, private
|
||||||
|
K3s workload processes and VM power states. These guards do not prevent manual
|
||||||
|
starts outside Jeannie.
|
||||||
|
|
||||||
## Validation on Debian
|
## Validation on Debian
|
||||||
|
|
||||||
No local application or unit tests are run on the development laptop. The
|
No local application or unit tests are run on the development laptop. The
|
||||||
|
|
|
||||||
|
|
@ -0,0 +1,62 @@
|
||||||
|
# Repository Code Map
|
||||||
|
|
||||||
|
Refreshed with `graphify update .` on November 2, 2026. The generated local map
|
||||||
|
is `graphify-out/graph.json`, with `graph.html` and `GRAPH_REPORT.md` alongside
|
||||||
|
it. That directory is intentionally gitignored; this guide records the useful
|
||||||
|
paths without committing generated caches.
|
||||||
|
|
||||||
|
Graphify is a navigation aid. The paths below were checked against source;
|
||||||
|
dynamic imports and shell dispatch are not a complete call graph. The refresh
|
||||||
|
reported three extracted nodes without `source_file` metadata, and community
|
||||||
|
names were derived from hubs rather than refreshed with an LLM.
|
||||||
|
|
||||||
|
| Responsibility | Entry point | Relationship to the pipeline |
|
||||||
|
| --- | --- | --- |
|
||||||
|
| CLI and API | [jeannie](../jeannie), [API server](../cmd/jeannie-server/main.go) | API allowlisted commands use the same CLI; internal tasks and recursive remote dispatch stay excluded. |
|
||||||
|
| Profile inventory | [env.sh](../lib/jeannie/env.sh), [homelab.yml](../homelab.yml) | One shared loader exports profile defaults and Terraform variables; pipeline sources it. |
|
||||||
|
| Runtime exclusion | [cluster-runtime-guard.py](../scripts/cluster-runtime-guard.py) | Host services, private K3s workloads, API listeners and VM states gate deployment/start; a shared lock serializes pipelines. |
|
||||||
|
| Identity and state | [cluster-context.py](../scripts/cluster-context.py) | Endpoint, CA and namespace UID bind each profile; guarded tools use separate scoped backends. |
|
||||||
|
| Runtime bootstrap | [cluster/main.tf](../bootstrap/cluster/main.tf) | Selects kubeadm or native K3s; the native remote bootstrap explicitly executes Bash and requires the declared hypervisor capability. |
|
||||||
|
| Scheduling estimate | [scheduling-preflight.py](../scripts/scheduling-preflight.py) | `Estimate`, `pod_requests` and `manifests_from_plan` connect planned workloads to live capacity, placement and rollout constraints. |
|
||||||
|
| Application storage | [registry-storage-reconcile.py](../scripts/registry-storage-reconcile.py) | `prepare_local`, `publish_remote` and `remote_manifest` stage, verify and preserve registry data before placement changes. |
|
||||||
|
| Native transition | [cluster-transition.py](../scripts/cluster-transition.py), [k3s-stop.sh](../scripts/k3s-stop.sh) | A private phase journal sequences retirement, offline storage copy, bootstrap, independent identity enrollment, platform and apps. |
|
||||||
|
| Layer orchestration | [pipeline.sh](../lib/jeannie/pipeline.sh) | Applies guards, discovery/adoption, bounded transport retries and readiness checks around OpenTofu and Argo operations. |
|
||||||
|
| Documentation | [render-docs](../scripts/render-docs), [templates](templates/) | README and modular guides are generated from templates; the service catalog comes from inventory. |
|
||||||
|
| Blog | [blog.php](../apps/website/blog.php), [English copy](../apps/website/lang/en.php), [Nahuatl copy](../apps/website/lang/nah.php) | The PHP page supplies the diagram and source links; language dictionaries supply narrative copy. |
|
||||||
|
|
||||||
|
## Native transition flow
|
||||||
|
|
||||||
|
```mermaid
|
||||||
|
flowchart TD
|
||||||
|
A[Review transition plan] --> B[Verify pinned laptop identity]
|
||||||
|
B --> C[Stop laptop K3s workloads and archive state]
|
||||||
|
C --> D[Stop VMs and copy verified registry offline]
|
||||||
|
D --> E[Bootstrap K3s on Orange Pi]
|
||||||
|
E --> F[Compare API identity with direct SSH reads]
|
||||||
|
F --> G[Enroll new profile identity]
|
||||||
|
G --> H[Scheduling estimate and platform apply]
|
||||||
|
H --> I[Registry placement and app delivery]
|
||||||
|
```
|
||||||
|
|
||||||
|
Failures retain the journal and original data. Resume the same transition
|
||||||
|
command after fixing the cause. Only registry data is copied; other old laptop
|
||||||
|
PVC data requires a separate restore. A Ready node proves bootstrap readiness,
|
||||||
|
not completion of every platform or application rollout.
|
||||||
|
|
||||||
|
## Documentation maintenance
|
||||||
|
|
||||||
|
Edit `README.md.tmpl` and `docs/templates/*.md.tmpl`, then run
|
||||||
|
`scripts/render-docs`. Keep architecture, deployment, app operations and AI
|
||||||
|
operations in their own guides; duplicated copies previously left contradictory
|
||||||
|
instructions in the generated documentation. Update blog text and diagram labels
|
||||||
|
together. Website source changes take effect after the normal image build and
|
||||||
|
Argo delivery path; editing PHP does not publish the live site.
|
||||||
|
|
||||||
|
Useful local navigation commands:
|
||||||
|
|
||||||
|
```sh
|
||||||
|
graphify update .
|
||||||
|
graphify explain 'cluster-transition.py'
|
||||||
|
graphify explain 'publish_remote'
|
||||||
|
graphify query 'scheduling-preflight' --budget 1200
|
||||||
|
```
|
||||||
3331
docs/deployment.md
3331
docs/deployment.md
File diff suppressed because it is too large
Load Diff
|
|
@ -12,7 +12,7 @@ Update `homelab.yml`, then run `scripts/render-service-catalog`.
|
||||||
| debian | control-plane | 192.168.100.73 | 100.85.138.30 | /var/lib/docker |
|
| debian | control-plane | 192.168.100.73 | 100.85.138.30 | /var/lib/docker |
|
||||||
| rpi4 | dns-edge-worker | 192.168.100.89 | 100.77.80.72 | /nvme-storage/docker |
|
| rpi4 | dns-edge-worker | 192.168.100.89 | 100.77.80.72 | /nvme-storage/docker |
|
||||||
| opi5_pimox | pimox | 192.168.100.80 | | opi5_ssd |
|
| opi5_pimox | pimox | 192.168.100.80 | | opi5_ssd |
|
||||||
| oci_edge | public-edge | 132.145.170.74 | 100.118.255.19 | |
|
| oci_edge | public-edge | 132.145.170.74 | 100.122.188.79 | |
|
||||||
|
|
||||||
## Services
|
## Services
|
||||||
|
|
||||||
|
|
|
||||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
Loading…
Reference in New Issue