Our Retrained Model Beat the Champion in CI and Then Got Worse in Production, Because One Feature Peeked Into the Future

Our Retrained Model Beat the Champion in CI and Then Got Worse in Production, Because One Feature Peeked Into the Future

By KP  |  TZoneLabs  |  DevOps & Cloud Engineering A new model version scored 0.947 against 0.936 for the model in production, passed the promotion gate, ran as a canary with clean dashboards, and got released. Two days later live accuracy had fallen to 0.88. A rolling-count feature was computed over the whole dataset in … Read more

How to Build a CI/CD Pipeline for ML Models in GitLab CI: Train, Gate, Deploy and Retrain

How to Build a CI/CD Pipeline for ML Models in GitLab CI: Train, Gate, Deploy and Retrain

By KP  |  TZoneLabs  |  DevOps & Cloud Engineering One GitLab pipeline can run the whole ML lifecycle: test the code and the data, build the training image, run training as a Kubernetes Job, register the model, promote it only if it beats the current one, deploy it as a canary, and release it with … Read more

How to Promote and Serve Models From an MLflow Registry on Kubernetes: A DevOps Engineer’s Guide

How to Promote and Serve Models From an MLflow Registry on Kubernetes: A DevOps Engineer’s Guide

By KP  |  TZoneLabs  |  DevOps & Cloud Engineering Register every trained model in MLflow, promote it with an alias only after CI shows it beats the current one, and deploy by resolving that alias to a fixed version number. Serve it as an ordinary container with a readiness probe, roll it out as a … Read more

How to Run ML Training Jobs on Kubernetes With GPU Node Pools: A DevOps Engineer’s Guide

How to Run ML Training Jobs on Kubernetes With GPU Node Pools: A DevOps Engineer’s Guide

By KP  |  TZoneLabs  |  DevOps & Cloud Engineering Run training as a Kubernetes Job on a dedicated, tainted GPU node pool. Request nvidia.com/gpu: 1 in the Job, tolerate the pool’s taint, set a deadline so it can’t run forever, and let the autoscaler bring a GPU node up when the Job starts and remove … Read more

What Is MLOps? The ML Lifecycle Explained for DevOps Engineers

What Is MLOps? The ML Lifecycle Explained for DevOps Engineers

By KP  |  TZoneLabs  |  DevOps & Cloud Engineering MLOps is DevOps for a system that ships a trained model alongside the code. The pipelines, registries, rollouts and alerts we already run all carry over. The one thing that changes is that a model can pass every test on Monday and quietly go bad by … Read more

Setting Up Prometheus and Grafana on Kubernetes: From Install to Alerts That Actually Fire

Setting Up Prometheus and Grafana on Kubernetes: From Install to Alerts That Actually Fire

By KP  |  TZoneLabs  |  DevOps & Cloud Engineering The kube-prometheus-stack Helm chart gets you Prometheus, Grafana, and Alertmanager running in about ten minutes. What it doesn’t do is scrape your own application’s metrics, write alerting rules that fire on the right thing, or send those alerts anywhere a human will see them. That part … Read more

Setting Up Horizontal Pod Autoscaler on Kubernetes: The Settings That Actually Matter

Setting Up Horizontal Pod Autoscaler on Kubernetes: The Settings That Actually Matter

By KP  |  TZoneLabs  |  DevOps & Cloud Engineering The default Horizontal Pod Autoscaler config scales on raw CPU with no stabilization window, which is exactly why it’s common to see replica counts bounce up and down every few minutes under normal, slightly-uneven traffic. The two settings that actually decide whether HPA is useful or … Read more

We Rotated a Database Password, and Every Pod That Didn’t Restart Started Failing Auth

We Rotated a Database Password, and Every Pod That Didn’t Restart Started Failing Auth

By KP  |  TZoneLabs  |  DevOps & Cloud Engineering A scheduled quarterly rotation replaced the database credential in Secrets Manager, and within minutes most of the fleet was using it without issue. Two hours later, a subset of pods started failing every query with authentication errors — pods that hadn’t restarted in weeks, still holding … Read more

Setting Up Kubernetes RBAC: The Roles and RoleBindings That Actually Enforce Least Privilege

Setting Up Kubernetes RBAC: The Roles and RoleBindings That Actually Enforce Least Privilege

By KP  |  TZoneLabs  |  DevOps & Cloud Engineering A Role scoped to one namespace, bound to one service account, with verbs limited to exactly what that workload does, is what turns Kubernetes RBAC into an actual security boundary instead of a checkbox. Most clusters we’ve audited get this half right: the Role exists, but … Read more