Phase 2 of documentation restructuring. Creates docs/reference/ with: Services (16): - alloy, argocd, borgmatic, 1password, forgejo, grafana - jellyfin, kiwix, loki, miniflux, navidrome, postgresql - prometheus, teslamate, transmission, zot Infrastructure (3): - hosts - Device inventory - tailscale - ACLs, groups, tags - routing - DNS domains and port mappings Kubernetes (2): - cluster - Minikube specs - apps - ArgoCD application registry Storage (2): - sifaka - Synology NAS configuration - backups - Backup policy All cards use wiki-links for cross-referencing and include YAML frontmatter with title and tags for Quartz. Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com>
73 lines
1.6 KiB
Markdown
73 lines
1.6 KiB
Markdown
---
|
|
title: Kubernetes Cluster
|
|
tags:
|
|
- kubernetes
|
|
---
|
|
|
|
# Kubernetes Cluster
|
|
|
|
Single-node Minikube cluster running on [[infrastructure/hosts\|Indri]].
|
|
|
|
## Cluster Specifications
|
|
|
|
| Property | Value |
|
|
|----------|-------|
|
|
| **Driver** | docker |
|
|
| **Container Runtime** | docker |
|
|
| **Kubernetes Version** | v1.34.0 |
|
|
| **CPUs** | 6 |
|
|
| **Memory** | 11GB |
|
|
| **Disk** | 200GB |
|
|
| **API Server** | https://k8s.tail8d86e.ts.net |
|
|
|
|
**Prerequisites:** Docker Desktop with at least 12GB memory allocated.
|
|
|
|
## Remote Access
|
|
|
|
From gilbert:
|
|
|
|
```bash
|
|
mise run ensure-minikube-indri-kubectl-config
|
|
```
|
|
|
|
Fish abbreviations:
|
|
- `ki` -> `kubectl --context=minikube-indri`
|
|
- `k9i` -> `k9s --context=minikube-indri`
|
|
|
|
## Volume Mounting
|
|
|
|
Pods mount NFS directly from [[storage/sifaka\|Sifaka]]:
|
|
|
|
```yaml
|
|
volumes:
|
|
- name: torrents
|
|
nfs:
|
|
server: sifaka
|
|
path: /volume1/torrents
|
|
```
|
|
|
|
Docker NATs outbound traffic through indri's LAN IP (192.168.1.50), allowing access to Sifaka's NFS exports.
|
|
|
|
## Registry Mirror
|
|
|
|
Containerd uses [[services/zot\|Zot]] as a pull-through cache:
|
|
- Endpoint: `host.minikube.internal:5050`
|
|
- Config: `/etc/containerd/certs.d/<registry>/hosts.toml`
|
|
|
|
Mirrors configured: `registry.ops.eblu.me`, `docker.io`, `ghcr.io`, `quay.io`
|
|
|
|
## Useful Commands (on indri)
|
|
|
|
```bash
|
|
minikube status # Cluster status
|
|
minikube start # Start cluster
|
|
minikube stop # Stop cluster
|
|
minikube ssh # SSH into node
|
|
minikube logs # View logs
|
|
```
|
|
|
|
## Related
|
|
|
|
- [[kubernetes/apps\|Apps]] - ArgoCD applications
|
|
- [[services/argocd\|ArgoCD]] - GitOps deployment
|
|
- [[services/zot\|Zot]] - Registry mirror
|