Tag: #kubernetes
Writing on GPUs, LLMs, MLOps, Kubernetes — and mindset · 247 posts
Mastering the NVIDIA GPU Operator — From Install and Deployment to MIG Partitioning
The era of hand-configuring GPU nodes on Kubernetes is over. How the NVIDIA GPU Operator manages everything from the driver to the device plugin and monitoring via the operator pattern, with Helm install and verification
2026-07-07 · 8 min read #kubernetes#gpu#nvidia#mig#devopsKubernetes Architecture Visualized — From the Control Plane to the Pod
We unpack the Kubernetes architecture with ASCII diagrams, from control-plane and node components to objects and controller loops, scheduling flow, networking, and storage. Request handling and the pod-creation sequence
2026-06-27 · 11 min read #kubernetes#architecture#control-plane#scheduling#networkingBuilding a Kubernetes Operator in Rust (kube-rs)
A Kubernetes Operator is a controller that encodes operational knowledge as code. This post covers the Operator pattern (CRD + controller + reconcile loop) from first principles, then how to build a real operator with ku
2026-06-25 · 12 min read #rust#kubernetes#operator#kube-rsAutomating Database Migrations — Treating Schema as Code with CI/CD and GitOps
The era of applying schema changes by hand is over. This guide lays out the full picture of integrating migrations into your pipeline: linting and dry-running in PRs, applying per-environment automatically, detecting dri
2026-06-16 · 13 min read #database#migration#cicd#gitops#flywayOperator vs Helm vs GitOps — Which to Use When
These three operational tools look similar but solve different problems. Helm is packaging, GitOps is declarative synchronization, and an Operator is an active controller. We dig into static deployment versus continuous
2026-06-15 · 19 min read #kubernetes#operator#helm#gitops#argocdOperator Security — Least-Privilege RBAC, Multi-Tenancy, Supply Chain
An Operator runs cluster-wide with powerful privileges, so a single compromise can endanger the whole cluster. This article covers Operator security end to end — generating least-privilege RBAC with markers, choosing Rol
2026-06-15 · 21 min read #kubernetes#operator#rbac#security#supply-chainOperator Observability — Metrics, Events, Logging, and SLOs
A deep dive into observability for Kubebuilder-based Operators across metrics, events, logging, tracing, status/conditions, and SLOs. From the meaning of controller-runtime default metrics to adding custom metrics, wirin
2026-06-15 · 19 min read #kubernetes#operator#observability#prometheus#controller-runtimeCRD Design and Versioning — Schema, Validation, and Conversion Webhooks
A CustomResourceDefinition is an API contract that outlives the code around it. This deep dive walks through OpenAPI v3 schema design and CEL validation, multi-version strategy and storage versions, conversion webhook im
2026-06-15 · 16 min read #kubernetes#operator#crd#versioning#conversion-webhookControllers Without CRDs — Patterns for Automating Existing Resources
Not every automation needs a CRD. A controller that watches built-in resources alone can automate internal operations like ConfigMap/Secret sync, namespace bootstrap, and node labeling. We cover code that implements this
2026-06-15 · 13 min read #kubernetes#controller#controller-runtime#automation#client-goOperator Testing and Distribution — envtest, e2e, OLM, and Bundle Packaging
A deep dive into testing and distributing Kubernetes Operators safely. Covers the test pyramid (unit reconcile, envtest, e2e), OLM concepts (CSV, bundle, catalog), upgrade graphs, least-privilege RBAC, multi-tenant insta
2026-06-15 · 15 min read #kubernetes#operator#testing#envtest#olmWhat You Can Build with Operators — A Real-World Catalog
A catalog of where Operators shine — databases, messaging, caching, monitoring, certificates, secrets, GitOps, backup, service mesh, and ML. For each case we cover how it works, a representative CRD example, a comparison
2026-06-15 · 12 min read #kubernetes#operator#crd#cncf#platform-engineeringAdvanced Operators — Finalizers, Admission Webhooks, and Status/Conditions Design
This post covers the three topics that move a Kubernetes Operator from a demo to production: cleaning up external resources with Finalizers, Validating and Mutating Admission Webhooks, and designing the Status subresourc
2026-06-15 · 14 min read #kubernetes#operator#finalizer#webhook#kubebuilderUnderstanding the Kubernetes Operator Pattern — Controllers, Reconciliation, and Codifying Operational Knowledge
A deep, operations-focused look at what the Operator pattern solves, how the control loop and reconciliation work, how CRDs and controllers combine, control plane extension mechanisms, Capability Levels, and when to use
2026-06-15 · 20 min read #kubernetes#operator#controller#reconcile#crdBuilding a Database Operator — Backup, Failover, and Scale as Code
A code-driven walkthrough of solving the hard parts of stateful database operations with a reconcile loop. We cover CR spec design, reconciling StatefulSet/Service/PVC, periodic backups, failover and leader-election conc
2026-06-15 · 14 min read #kubernetes#operator#database#kubebuilder#controller-runtimeProduction Operator Upgrades and Migration — Evolving Without Downtime
A complete walkthrough of safely upgrading an Operator in production. It covers rolling the controller Deployment with leader election, multi-version CRDs and conversion webhooks, phased rollout of managed workloads, rol
2026-06-15 · 22 min read #kubernetes#operator#kubebuilder#controller-runtime#crdThe Reconcile Loop in Depth — Idempotency, Error Handling, Queues, and Performance
A deep dissection of the reconcile loop: the request flow (informer to workqueue to reconcile), Result and requeue, idempotency patterns, status and conditions, predicate event filters, rate limiting and concurrency, cac
2026-06-15 · 18 min read #kubernetes#operator#reconcile#controller-runtime#performanceNot Just Go — Building Operators With Kopf, Metacontroller, and Shell Operator
We break the myth that an Operator must be built with Go and kubebuilder. We compare non-Go options with code: Python Kopf, the declarative-hook approach of Metacontroller, and shell-operator and Ansible Operator. We cov
2026-06-15 · 19 min read #kubernetes#operator#kopf#metacontroller#pythonOperator Best Practices and Anti-Patterns
A code-level rundown of what makes a good Operator and the common anti-patterns. From principles like a small API, idempotent reconcile, observability, and safe upgrades, through pitfalls like side-effect spam, status mi
2026-06-15 · 14 min read #kubernetes#operator#best-practices#reconcile#rbacBuilding Your First Operator with Kubebuilder — From Project Creation to Deployment
Build a working Operator end to end with Kubebuilder. Covers prerequisites, the init/create api flow, defining API types, the full reconcile code that manages a Deployment and Service, RBAC markers, CRD generation, local
2026-06-15 · 10 min read #kubernetes#kubebuilder#operator#controller-runtime#goTraefik vs ingress-nginx — What to Choose and When
A deep comparison of the two leading Kubernetes ingress controllers, Traefik and ingress-nginx, across design philosophy, configuration style, automatic TLS, performance, observability, and ecosystem. It reflects the 202
2026-06-14 · 20 min read #traefik#ingress-nginx#kubernetes#networking#devops