# From kubectl and Slack Threads to One Click: Building a Self-Serve NFR Environment

DevFeed: [From kubectl and Slack Threads to One Click: Building a Self-Serve NFR Environment](<https://devfeed.tech/articles/from-kubectl-and-slack-threads-to-one-click-building-a-self-serve-nfr-environment-113422.md>)

Original publisher: [Read original article](<https://medium.com/myntra-engineering/from-kubectl-and-slack-threads-to-one-click-building-a-self-serve-nfr-environment-b1b3c42b173b?source=rss----7484818e9f88---4>)

Author: Vasuman Mishra

Published: 2026-11-02T14:01:01Z

Content type: article

Language: en

Sources: [Myntra](<https://devfeed.tech/sources/myntra.md>)

Topics: [internal developer platform automation](<https://devfeed.tech/topics/internal-developer-platform-automation.md>), [self-service](<https://devfeed.tech/topics/self-service.md>), [Deployment Strategies](<https://devfeed.tech/topics/deployment-strategies.md>), [staging](<https://devfeed.tech/topics/staging.md>), [kubectl](<https://devfeed.tech/topics/kubectl.md>)

Tags: [assemble](<https://devfeed.tech/tags/assemble.md>), [behaviour](<https://devfeed.tech/tags/behaviour.md>), [cluster](<https://devfeed.tech/tags/cluster.md>), [deployment](<https://devfeed.tech/tags/deployment.md>), [design](<https://devfeed.tech/tags/design.md>), [developer-experience](<https://devfeed.tech/tags/developer-experience.md>), [devops](<https://devfeed.tech/tags/devops.md>), [engineering-manager](<https://devfeed.tech/tags/engineering-manager.md>), [environment](<https://devfeed.tech/tags/environment.md>), [functional](<https://devfeed.tech/tags/functional.md>), [ingress](<https://devfeed.tech/tags/ingress.md>), [internal-tools](<https://devfeed.tech/tags/internal-tools.md>), [kubectl](<https://devfeed.tech/tags/kubectl.md>), [kubernetes](<https://devfeed.tech/tags/kubernetes.md>), [latency](<https://devfeed.tech/tags/latency.md>), [load](<https://devfeed.tech/tags/load.md>), [machine](<https://devfeed.tech/tags/machine.md>), [monitor](<https://devfeed.tech/tags/monitor.md>), [namespaces](<https://devfeed.tech/tags/namespaces.md>), [platform](<https://devfeed.tech/tags/platform.md>), [platform-engineering](<https://devfeed.tech/tags/platform-engineering.md>), [pod](<https://devfeed.tech/tags/pod.md>), [process](<https://devfeed.tech/tags/process.md>), [slack](<https://devfeed.tech/tags/slack.md>)

## AI overview

The self-serve NFR UI lets Engineering Managers assemble, monitor, and tear down services in a dedicated Kubernetes environment for pre-event scale, latency, and HPA checks. Each service moves through IDLE, ASSEMBLING, ASSEMBLED, or PARTIAL states; a lock protects state changes, and PARTIAL services must be disassembled to clean up resources before another assembly. Assembly creates a namespace, configures a Linkerd HTTPRoute and ingress, then scales the deployment and waits for ready pods. Disassembly deletes the route and namespace. The UI reuses existing production approval-group records for manager access, with parent-service lookup for child Odin groups and read-only access for others. Admins can group services into VLT deployment slots and bulk assemble from a CSV after preview; shared log polling supports simultaneous operations. The excerpt says this removes platform-team involvement in the common case, but safe traffic routing is reserved for Part 2.

## Source excerpt

How we turned a manual, easy-to-break load-test setup into a UI any engineering manager can run themselvesPart 1 covers why the old kubectl-and-Slack process for NFR testing didn't scale. This piece is about what replaced it. We support 700+ NFR-deployable services, and a single sale-readiness window can touch dozens of them at once. So we built a self-serve UI that lets any Engineering Manager assemble, monitor, and tear down their own services in the NFR environment, with zero platform-team involvement in the common case. What "NFR environment" actually means NFR stands for Non-Functional Requirement -- the dedicated Kubernetes setup we spin up to validate scale, latency, and HPA (Horizontal Pod Autoscaler) behaviour before a high-traffic event, without touching production. How traffic actually gets routed there safely is its own story, covered in Part 2. Before the UI, assembling a service into NFR meant creating a namespace by hand, wiring up routing, configuring ingress, and scaling up the deployment , all while hoping you remembered every step in order for every single service. Designing around one idea: every deploy is a state machine The whole UI collapses down to a single state machine, and once we'd drawn it out, most of the hard design questions answered themselves. NFR service state machine A service is always in exactly one of five states. IDLE means it isn't running in NFR. Clicking Assemble moves it to ASSEMBLING, which lands on ASSEMBLED (traffic-ready) if everything goes well, or PARTIAL if any step fails. PARTIAL exists specifically so failure is never silent. A partial service can't be re-assembled directly; it has to be disassembled first, which cleans up whatever Kubernetes resources were left behind and returns it to IDLE. That one rule, that you can't assemble over a partial state, killed off a whole category of bugs where a cluster ends up with two or three orphaned namespaces for the same service. One small function enforces this, and every t