Approach
How the systems fit together
These are the patterns I use at work and at home. The diagrams show the shape of each system and why it is built that way. Addresses, names and credentials are left out on purpose.
01
Delivery: the change is the commit
Nothing reaches a cluster because somebody ran a command. A change is a commit; the pipeline builds and publishes an image; the desired state is updated in Git; a controller notices the difference and closes it. The same path carries applications, infrastructure and configuration.
Why
A deployment that is a commit can be reviewed, reverted and audited with tools everyone already knows. It also removes the most fragile part of most platforms: the person who remembers the steps.
In practice
Gitea for source and CI, Harbor as the registry, Kustomize for manifests and Argo CD for sync. At work the same pattern runs on GitLab, Terraform and Rancher or EKS.
The rule
If I do something by hand twice, the third time it becomes code. Legacy scripts become containers; manual changes become pull requests.
02
Platform: layers with one job each
Each layer does one thing and can be rebuilt without touching the layers around it. Kubernetes carries the services that need scheduling and self-healing. A smaller Docker environment sits beside it for development and for workloads that do not suit a cluster.
Why two runtimes
Not everything deserves a cluster. Keeping a plain Docker environment beside Kubernetes means experiments stay cheap and the cluster stays clean.
Storage
Replicated block storage for things that must survive a node, network storage for bulk data. Which one a workload gets is a line in its manifest.
Rebuildable
The platform has been re-architected many times. Because state is declared, a rebuild is a matter of pointing the controller at the same repository.
03
Identity: one front door
Every internal application sits behind the same identity provider. Applications that speak OIDC use it directly. Applications with no login of their own are protected at the reverse proxy, which checks the session before the request is passed on. Adding a service does not add a password.
Least privilege
Access is granted to groups, not to people, and services get their own narrowly scoped credentials. Secrets are delivered to workloads, not copied into repositories.
Compliance as a by-product
In federal environments the same habits keep an authority to operate: hardened images, tracked findings and remediation through the build, not by patching running systems.
Kept private
My own environment stores real configuration so it can be rebuilt quickly. That is exactly why its repositories are not public, and why this page stops at the architecture.
04
AI: one endpoint, many models
Tools should not need to know where a model runs. Every client talks to one router, which sends each request to a local model or a cloud model. Memory is its own service, so what an agent learned last month is available to the agent that runs today.
Local first where it counts
Private material and bulk work stay on hardware I own. Cloud models are used deliberately, for the tasks where they are clearly better.
Same platform
The AI services are ordinary workloads: declared in Git, deployed by the pipeline, behind single sign-on. No special snowflakes.
Tools
Ollama for local inference, LiteLLM as the router, Open WebUI and ComfyUI as front ends, with agent and memory services alongside.
05
Agents: work that survives the session
I use coding agents heavily, and treat them like capable colleagues who lose their memory every evening. So the memory lives outside them: a tracker holds each project’s brief, plan, decisions and open questions. An agent told “you work on project X” can read that project and carry on.
Briefs before code
Every project has one page that says what it is, where it runs, how to build and test it, and what to watch out for. Writing it is the first task.
Questions, not guesses
Scope, trade-offs, access, merges and anything destructive go to a queue I answer. The agent picks up other work in the meantime.
No secrets in the loop
The tracker records where a credential lives, never the credential. Agents work on branches; main is mine.