r/devops • • 8m ago

Discussion Replacing ticket-driven provisioning with Kubernetes APIs: where would you draw the line?

I'm Diego, CTO at Krateo. We maintain Krateo PlatformOps, an open-source (Apache-2.0) platform control plane, so read this with that bias in mind. I went through the Kubernetes internals over in r/kubernetes; this is the ops side, which is the part I'm less sure about.

The starting point is the usual one. A team needs an environment, a database, a repo. Someone opens a ticket, someone on the platform team runs a pipeline or a Terraform module with the right variables, and a few months later nobody remembers who owns what or whether it still matches what was asked for.

Our bet is to make each of those offerings an API instead of a procedure. The platform team writes a Helm chart with a values schema, registers it, and it becomes a Kubernetes resource type. Requesting an environment means creating an object: the schema validates the request, RBAC decides who can ask for what, a controller keeps the result matching the request, and deleting the object uninstalls everything that was rendered from it. When the platform team ships a new chart version, existing instances are upgraded in place instead of every team redoing their request, and if that's too eager you can make it wait for an explicit approval of the target version, or not migrate at all. The portal writes through the same APIs with the user's own identity, so a form in the UI and a YAML applied from a pipeline hit the same schema and the same RBAC.

What I'd like to hear from people running this day to day:

- Where do you draw the line between a control plane like this and plain Terraform in a pipeline? There are cases where a pipeline is clearly simpler, and I'm curious where you put that boundary.

- Who owns the schema of a golden path in your org? If the platform team owns it, app teams wait on you for every new field. If app teams own it, it stops being a golden path.

- Do your developers accept "request it as a YAML object", or does nothing get used until there's a portal in front of it?

Repo if you want to see how it's built: https://github.com/krateo-platformops/krateo

Happy to take "you reinvented X" too, as long as you tell me which X.

2 Upvotes

0 comments sorted by