# Kubernetes knows who can change production. It doesn't know when nobody should.

DevFeed: [Kubernetes knows who can change production. It doesn't know when nobody should.](<https://devfeed.tech/articles/kubernetes-knows-who-can-change-production-it-doesn-t-know-when-nobody-should-66617.md>)

Original publisher: [Read original article](<https://blog.devops.dev/kubernetes-knows-who-can-change-production-it-doesnt-know-when-nobody-should-0ba566d23a60?source=rss----33f8b2d9a328---4>)

Author: Houssem Kraoua

Published: 2026-10-07T10:39:13Z

Content type: article

Language: en

Sources: [DevOps.dev](<https://devfeed.tech/sources/devops-dev.md>)

Topics: [Kyverno](<https://devfeed.tech/topics/kyverno.md>), [policy-as-code](<https://devfeed.tech/topics/policy-as-code.md>), [CI/CD](<https://devfeed.tech/topics/cicd.md>), [Helm charts](<https://devfeed.tech/topics/helm-charts.md>)

Tags: [admission](<https://devfeed.tech/tags/admission.md>), [api](<https://devfeed.tech/tags/api.md>), [api-server](<https://devfeed.tech/tags/api-server.md>), [applications](<https://devfeed.tech/tags/applications.md>), [argo](<https://devfeed.tech/tags/argo.md>), [argo-cd](<https://devfeed.tech/tags/argo-cd.md>), [audit](<https://devfeed.tech/tags/audit.md>), [block](<https://devfeed.tech/tags/block.md>), [ci](<https://devfeed.tech/tags/ci.md>), [devops](<https://devfeed.tech/tags/devops.md>), [exit](<https://devfeed.tech/tags/exit.md>), [helm](<https://devfeed.tech/tags/helm.md>), [kubeconfig](<https://devfeed.tech/tags/kubeconfig.md>), [kubectl](<https://devfeed.tech/tags/kubectl.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [kyverno](<https://devfeed.tech/tags/kyverno.md>), [laptop](<https://devfeed.tech/tags/laptop.md>), [matching](<https://devfeed.tech/tags/matching.md>), [plan](<https://devfeed.tech/tags/plan.md>), [platform-engineering](<https://devfeed.tech/tags/platform-engineering.md>), [prod](<https://devfeed.tech/tags/prod.md>), [production](<https://devfeed.tech/tags/production.md>), [sre](<https://devfeed.tech/tags/sre.md>)

## AI overview

Telark enforces scheduled production freezes through Kyverno admission policies, so matching writes are blocked regardless of whether they come from kubectl, CI, or a deployment tool. A protection plan sets the scope, changes to block, time window, and audit or enforce mode; Telark creates namespaced policies when the window opens and removes them when it closes. Audit mode records what would have been blocked. Telark watches policies every 30 seconds and restores edits or deletions, so cancelling the plan is the emergency exit. Kyverno, not Telark, is in the request path. By default, webhook failure is open, allowing requests through; fail-closed behavior is configurable but requires maintaining Kyverno availability. Status writes and controller-created pods, ReplicaSets, and PVCs are exempt, while replica-scaling protection also stops HPA scaling. The article says Telark complements rather than replaces backup or GitOps tools; its early v0.1.0 API may change, it supports one cluster per install, requires Kubernetes 1.30+ (1.33+ tested), and is source-available under Elastic License 2.0, which prohibits offering it as a managed service.

## Source excerpt

Monday, 9am. First coffee. First Slack message of the week: "Who changed prod this weekend?" Silence. There was a freeze. Everyone agreed on it. It was pinned in the channel. A pipeline ran anyway, because pipelines don't read Slack. Kubernetes knows who can change production. It has no idea when nobody should. I've spent three years building around that gap. A freeze that covers one door isn't a freeze Teams patch the gap with what they have: a pinned message, a calendar, an exit 1 at the top of a CI job, Argo CD sync windows. Each one covers a single path. Sync windows are great if Argo is the only thing touching your cluster, but they only govern Argo's own syncs. Production has more doors than that. An admin kubeconfig on someone's laptop. A second pipeline nobody remembers. A helm upgrade run by hand "to fix one value". All of those doors lead to the same room: the API server. Every write passes through admission before it's stored, and that's the only layer where a freeze actually holds. How Telark enforces a freeze You don't write policy YAML. You create a protection plan: a scope (applications or namespaces), what to block, a time window, and audit or enforce mode. Nine templates cover the usual suspects, from deletions and image tags to replica scaling, storage, and ConfigMap and Secret changes. Applications are grouped automatically from labels like app.kubernetes.io/name, so you protect checkout, not seventeen Deployments. When the window opens, Telark renders the plan into namespaced Kyverno policies in every namespace of the scope. Kyverno refuses matching requests at admission, whether they come from kubectl, CI or a deploy tool: Replica scaling is blocked by protection plan "<plan-id>". When the window closes, the policies are removed. Nobody has to remember on Friday. The admission path, honestly Put something in production's admission path and it becomes part of production. So here's exactly how it behaves. Telark isn't in the request path. Kyverno