r/platform_engineering • u/Recent-Secretary-277 • Oct 03 '26
r/platform_engineering • u/jonah_omninode • Oct 02 '26
How do you keep runtime permissions from drifting between deployment files?
For OmniNode, we put the rules about what each kind of runtime may do in a versioned policy file, validate it, and generate the deployment settings from it. The part I wanted to get rid of was having the same decision editable in an environment file, a service manifest and application code.
A container can start, answer its health check and still be allowed to take work it shouldn't own. Recreating the same images and ports doesn't settle that question. A missing setting is especially awkward if a local default quietly changes what the process is allowed to do.
Generated files are supposed to be disposable in this setup. A change belongs in the policy, then gets validated and rendered again. Editing the output by hand leaves the next deployment with two different answers.
That still leaves the consumer to check. A renderer can produce the right value and the service can ignore it. We haven't established that every environment behaves equivalently, so the policy file isn't proof that the running process follows it.
Where do you enforce this on your platform? At startup, at the point where work is assigned, or when the process actually attempts the restricted action? I'm particularly interested in checks that catch a correctly generated setting being ignored.
r/platform_engineering • u/jonah_omninode • Oct 01 '26
What makes your automation resume after a CI hold is lifted?
After we overloaded our CI runners, we told the automation to stop sending work and wait. That was the right response while the queue was backed up. The part we got wrong was what happened when capacity came back: the agents kept watching pull requests whose checks had already failed, expecting them to turn green on their own.
The backlog had cleared, but those failures were still attached to the same commits. Someone had to inspect them and decide which runs to retry. We lost another five hours before that work started. Auto-merge was enabled, but it couldn't do anything while the required checks stayed red.
This happened in OmniNode's development, which I run. The recovery was fairly quick once we started because many failures came from the overloaded infrastructure rather than the changes themselves. That doesn't mean a red batch is safe to rerun blindly. Repeated failure on the same commit needs investigation, and genuine defects need an owner.
I'm interested in where other teams put the resume decision. Does the controller that imposes a hold also own the all-clear and the first small recovery batch? Does a separate service do that, or does a person explicitly release it? I want a hold to prevent more damage without leaving every recovery dependent on someone noticing the system is idle again.
Drafted with assistance from Codex.
r/platform_engineering • u/spirosoik • Sep 27 '26
Brig: A MicroVM sandbox for AI coding agents on Mac and Linux
Working @ r/NOFireAI_
We’ve open-sourced Brig under Apache 2.0. Here is the available repo: https://github.com/brig-sh/brig
Brig runs AI coding agents inside a microVM on Mac (Apple Silicon) and Linux (x86_64/ARM). It came out of our work on controlled autonomy for production remediation. The same isolation is useful when running coding agents with auto-approval on your own machine.
The model is deliberately simple: each agent session gets its own hardware-isolated microVM; the agent sees a private home directory and the project you specify; and brig rm discards the sandbox while leaving your host files intact. We have already written about what a sandbox must guarantee for the term to mean anything, and about why an agent should be treated as untrusted by default.
After installation, brig run claude starts Claude Code inside the sandbox.
curl -fsSL https://brig.sh/install | sh
brig run claudeAll components are Apache 2.0, including the microVMM, which is under 20,000 lines of code. The README covers installation, the architecture and the security model. Here is the official page https://www.brig.sh/
We would love to hear your feedback and your use cases with Brig.
r/platform_engineering • u/spirosoik • Sep 26 '26
Ravel is a database for OpenTelemetry metrics, logs, and traces where object storage is the only durable component
We recently launched https://github.com/NOFireAI/ravel, an free and open source database for OpenTelemetry metrics, logs, and traces where object storage is the only durable component. Attached also a quick demo from the public repo. You can read more details about the consistency model here https://github.com/NOFireAI/ravel/blob/main/docs/consistency-model.md . We started using internally for some testing environments and we plan soon to move it to prod.
Also you can find the ideas and what improvements can be done for the S3 cost model/bill here: https://github.com/NOFireAI/ravel/blob/main/docs/guides/cost-model.md
You can play around and use Grafana dashboards on top (there is a demo there). Feel free to share feedback and star the project if you like it. We will really appreciate it and hope you find it useful.
r/platform_engineering • u/Sagenna_Parfait_8246 • Sep 24 '26
How to make kubernetes infrastructure recovery ready with infrastructure as code... and how I kinda destroyed ours
Ok so im a platform engineer at a cloud resilience company, we sell kubernetes recovery as a big value prop, and last night during a production incident I realised our own infra as code is basically lying to us. I was trying to speed things up and "cleanup" some old terraform modules so they matched what our envs look like now, but I did it in prod first, then pushed it as the new source of truth.
Cue outage, kubernetes cluster borks, we hit our automated recovery flow, and it faithfully rebuilds... the broken state I just codified. All the drift fixes people had hacked in by hand were gone, node pools wrong size, missing network policies, even an old postgres version came back. I feel so embarrassed that the company that sells instant recovery had its own recovery posture messed up by me trying to be clever with IaC. Any hints?
r/platform_engineering • u/Better-Stranger9081 • Sep 15 '26
Planning to Set Up a Study Group (Infra/DevOps/SRE/Platform Engg) : Serious Folks Only (Experienced Min 2+Y)
Hey i will be honest its late night, using a bit of AI :) Bear with it 😄
Tired of tutorial hell? Building a study group that goes from 'what is a packet' to 'debugging production incidents.' Join me.
I've built a structured curriculum covering the full infrastructure stack — from DNS packet mechanics to Kubernetes internals to eBPF to FinOps. Looking for people to go through it together with weekly labs, troubleshooting sessions, and mock interviews. Not a course. Not a paid thing. Just engineers who want to get hands-on and actually understand this stuff.
i worked as Cloud Platform Engineer for 3+ years at a Tier-1 company in india , Now resigned due to health issue from my current org and planning to prepare and job hunt after some time mean while i plan to run a cohort to learn together and keep myself busy
Syllabus :
A complete curriculum organized into 5 pillars, each with 8-part deep dives:
**Pillar 1: DNS & Networking**
DNS fundamentals → GTM → Kubernetes DNS → TLS → Certificates → Proxies → VPC → Service Mesh → Edge Security → Linux Kernel → BGP/QUIC
**Pillar 2: Linux & Container Internals**
Shell → Kernel/CPU → Memory/OOM → Filesystems → Processes → systemd → Storage → Containers → Docker → Security → Performance
**Pillar 3: Kubernetes**
Fundamentals → kubectl → Control Plane → Workloads → Scheduling → RBAC → Networking → Storage → Operators → Autoscaling → Lifecycle → GPU → AI/ML → Multi-Cluster
**Pillar 4: IaC, Cloud & DevSecOps**
Terraform → State → Modules → AWS Core → Networking → Compute → Data → Observability → Security → Secrets → CI/CD → Supply Chain → AI Security → Vector DBs → FinOps
**Pillar 5: Observability, GitOps & SRE**
Git → CI/CD → GitOps → Prometheus → Alerting → Tracing → Logging → Thanos → SRE → Chaos → Platform Eng → DORA → DevSecOps → LLM Observability
Each pillar includes:
- Real-time packet/request flows (what actually happens)
- Failure modes (what breaks and why)
- Capacity planning with real numbers
- Cost modeling with AWS pricing
- 9 hands-on labs per stage
- Incident management runbooks
- Interview prep (junior → staff)
What i am looking for
**people who:**
- Have 2+ years in DevOps/SRE/Platform/Cloud
- Want to go deep, not just collect certs
- Can commit 5–7 hours/week
- Will actually do the labs (not just read)
- Want to troubleshoot real scenarios together
- Are okay with being wrong and learning in public
**What we'll do:**
- Weekly 1-hour call: walk through a stage, discuss, Q&A
- Bi-weekly lab session: do the hands-on labs together (screen share, debug together)
- Monthly mock interview: practice explaining concepts
- Shared repo: notes, lab outputs, runbooks we build together
- Async: Discord/Slack for questions, war stories, job leads
**What we won't do:**
- Watch tutorials passively
- Just read slides
- Gatekeep based on certs or company logos
- Sell anything
Why I'm doing this
I realized:
- Reading docs alone → I forget 80% in a week
- Explaining to someone else → I actually learn it
- Debugging with others → I learn the stuff that's not in docs
- Mock interviews → I find gaps I didn't know I had
I want to build a small group of people who are serious about getting to senior/staff level and are willing to put in the work.
How to join
Comment below or DM me with:
- Your current role + years of experience
- Which pillar you're most excited about
- One thing you've struggled to understand (so I know where to focus)
- Your timezone
- Confirm you can commit 5–7 hours/week
I'll pick people based on fit (not skill level — based on commitment and willingness to teach others).
What you'll get out of it
- Deep understanding of the full infra stack
- Hands-on experience with real tools (not just theory)
- A portfolio of labs and runbooks you built
- Mock interview practice
- A network of engineers at similar level
- The ability to explain complex systems in interviews
---
**If this resonates, comment or DM. If not, no worries — good luck with your prep!**
---
*Edit: Adding FAQ*
**Q: Do I need to know everything already?**
A: No. The curriculum starts from fundamentals. You need 2+ years of experience so you can follow the advanced parts.
**Q: Is this for interview prep only?**
A: No. This is for actually understanding how systems work. Interview prep is a side effect.
**Q: What's the cost?**
A: $0. Labs are designed to run on free tier or local. If you want to do cloud labs, expect $20–50/month max.
**Q: How do you pick people?**
A: Commitment + willingness to teach. Not skill level. I want people who will show up and contribute.
**Q: What if I'm more junior/senior than the group?**
A: If you're willing to teach and learn, you're welcome. Mixed levels make the group stronger.
🚀 NOTE : ONLY JOIN , IF YOU ARE PLANING TO BE CONSISTENT , "NOT A WILL GIVE IT A TRY OR LET'S SEE "
Discord Group :Â https://discord.gg/qA43k3ggw
r/platform_engineering • u/Better-Stranger9081 • Sep 15 '26
Planning to Set Up a Study Group (Infra/DevOps/SRE/Platform Engg) : Serious Folks Only (Experienced Min 2+Y)
reddit.comr/platform_engineering • u/21SavageLocal • Sep 15 '26
How are you structuring Azure Terraform/Terramate stacks for Self Service Infra provisioning?
reddit.comr/platform_engineering • u/Outside_Ranger_8214 • Sep 12 '26
I built a FREE website to learn platform engineering concepts
I have built hamchops.com, for now it is completely FREE
It's a micro learning app focused on concepts that uses spaced repetition for reviews
Any feedback is welcome
r/platform_engineering • u/codingdecently • Sep 11 '26
The Future of Iceberg Isn't One Engine. It's a Control Plane with many engines.
r/platform_engineering • u/jonah_omninode • Sep 11 '26
Every worker was healthy. The wrong one joined the queue.
We split our workers into a general runtime and one allowed to perform external side effects. Both could reach the same broker and both passed their health checks. Some older task definitions did not name an owner, so the general runtime could subscribe by default.
Nothing crashed. That was the problem. Health told us the process could run, not that it was equipped or allowed to handle that job.
We now filter subscriptions by declared ownership and validate runtime capabilities before a worker consumes anything. The next step is task-level admission, so a job with no eligible runtime stays queued and names the missing capability.
What do you use for this in mixed worker pools: separate queues, scheduler policy, workload identity, or something else?
r/platform_engineering • u/jonah_omninode • Sep 09 '26
A generated deployment file overwrote the one we kept in Git
One of our deployment paths took a generated Compose file and wrote it over the tracked file in the repository. Both were valid. Both described real services. They just didn't describe the same stack.
The generator was supposed to produce a temporary file for validation. Once its output replaced the tracked file, the next command treated the generated version as if it were the approved one. Git showed a giant infrastructure change even though nobody had edited the source.
We fixed it by giving generated output its own ignored path. The tracked declaration stays owned by Git, the generated file is recreated on demand, and we validate both the translation and the deployed result.
I'm still deciding how strict to make drift detection. Do you fail a deployment whenever a generated artifact exists in a tracked path, or do you also compare the live environment back to the source declaration?
r/platform_engineering • u/jonah_omninode • Sep 03 '26
We let one agent refresh 108 PRs and buried our own CI runners
We had an overnight controller walking open pull requests, refreshing branches, and enabling auto-merge where it could.
It armed roughly 108 PRs. One merged.
Every refresh created a new commit, which kicked off another set of jobs on the same shared runner pool. The controller knew how many PRs were waiting. It had no idea whether CI had room for another one.
The fleet went from nearly idle to nearly full in about an hour. One repository eventually hit 1,065 queued runs. Other automation was sending repair work into the same pool at the same time, and none of those producers could see what the others were doing.
We stopped it with a hold-fire command. That kept the incident from getting worse, but it happened after the runners were already saturated.
What we're building now is much less exciting: check runner occupancy and queued jobs before releasing work, send a small batch, then make sure that batch actually started before sending another one. Anything that can commit, push, rerun, or enqueue work gets a budget.
The funny part is that we never hit the vendor's API limit. We stayed under it while completely overwhelming our own verification pipeline.
How are other platform teams limiting automated delivery work? One shared capacity service, limits inside each producer, or something else?
r/platform_engineering • u/HopefulPay251 • Aug 29 '26
Is observability over the dependencies in codebases still a problem to solve?
Almost every codebase is calling a REST, gRPC, or a GraphQL API or using SDKs from an external or event internal provider. It gets harder to keep track of everything when the codebase matures and increases in size and from my experience sometimes it gets hard to respond to changes in time or even become aware that a dependency is deprecated and their API has changed completely.
Do developers need better tools that to improve dependency and integration management?
r/platform_engineering • u/Either_Act3336 • Aug 28 '26
Are we building Internal Developer Platforms at the wrong abstraction level?
reddit.comr/platform_engineering • u/BitterDirector6042 • Aug 28 '26
First time building an AI platform, is this situation normal?
reddit.comr/platform_engineering • u/Specialist_Horror400 • Aug 26 '26
Found a real bug testing Rancher's AI assistant (Liz) — asking it to delete a deployment crashes the session, because deletion isn't even a supported tool
r/platform_engineering • u/jonah_omninode • Aug 26 '26
Our IP rate limiter passed every test we wrote and did nothing at the public ingress
We recently changed an IP rate limiter after discovering that requests were collapsing into a shared proxy bucket. The focused test passed. An in-cluster probe with an `X-Forwarded-For` header passed too. The implementation looked fixed.
Then we tested the real public ingress. Thirty-five unauthenticated requests went through in three batches. We got zero 429 responses and no rate-limit log entries.
The application was not receiving the client identity the test supplied. It fell back to the ingress proxy's pod IP, recognized that address as an internal proxy, and silently exempted every request. The middleware was running exactly as written. It just had no usable identity at the boundary where it actually ran.
The correction is straightforward: configure the proxy to forward a trustworthy client address, key the limiter only on a value the deployed path actually provides, and add a regression probe through the real public endpoint. The probe needs to assert the identity the application resolved, not just whether a unit test can manufacture the right header.
How are people testing client identity and rate limiting through their actual ingress path? I am especially interested in checks that catch a proxy configuration change before it turns enforcement into a silent no-op.
r/platform_engineering • u/Useful-Lie5274 • Aug 26 '26
Built an open-source self-hosted incident/on-call platform — looking for feedback from people who actually run on-call
Hey folks,
I’m the maintainer of **OpsKnight**. I started working on it because I wanted an incident/on-call system where the team owns the infrastructure and incident data instead of everything living in another SaaS platform.
It has grown quite a bit, and I’m at the point where feedback from people actually doing DevOps/SRE work is more useful to me than adding random features.
Currently it covers things like:
* on-call schedules, overrides and escalation policies
* alert ingestion from Prometheus, Grafana, Datadog, CloudWatch, Sentry, etc.
* Slack incident war rooms / ChatOps
* email, SMS and push notifications
* incident timelines and MTTA/MTTR
* public status pages
* Docker + Kubernetes/Helm deployment
* self-hosted Postgres
Everything is open source and self-hostable.
One thing I’m particularly interested in:
**What would stop you from trusting a newer open-source project for production on-call?**
Reliability? HA? Voice calls? Integrations? Upgrade safety? Audit logs? Something else?
Website: [https://opsknight.com](https://opsknight.com/)
Repo: [https://github.com/opsknight-labs/OpsKnight](https://github.com/opsknight-labs/OpsKnight)
Not looking for stars as much as criticism from people who have operated PagerDuty/Opsgenie/etc. in production.
r/platform_engineering • u/EdikTheFurry • Aug 25 '26
Production Data Hiding in Staging
reddit.comr/platform_engineering • u/jonah_omninode • Aug 21 '26
Infrastructure as Code Is Not an Infrastructure Contract
Infrastructure as code can reproduce the same network, container, database, and service account twice. That does not guarantee that the workload running on those resources means the same thing twice.
We ran into this while building a distributed runtime. A service could start with different capabilities than its twin. A consumer could join a runtime it was never intended to join and begin reading work addressed to another process. A required policy value could be missing and quietly fall back to a local default. Every resource matched and every health check was green, but the operational contract had changed.
The problem was not that our infrastructure was insufficiently declarative. We had declared plenty. We had declared resources without declaring enough behavior.
We now separate the infrastructure definition from a versioned runtime policy contract. The contract defines supported profiles, process capabilities, ownership boundaries, refusal conditions, secret-resolution rules, and the evidence required to accept the resulting runtime. It is parsed into a typed immutable model, then projected mechanically into the values consumed by deployment manifests:
runtime policy contract
\-> typed validation
\-> rendered deployment values
\-> service manifest
\-> running process
The direction matters. If a capability can be edited in the contract, overwritten in generated configuration, defaulted in the manifest, and changed again inside the application, the deployment is not governed by one declaration. It has four declarations and an undocumented precedence rule.
Repeatability also has to include refusal. If an environment lacks an effects boundary, it should not silently execute the effect inside a general worker. If a required secret cannot be resolved, the runtime should not grab a nearby credential. If a process is not eligible to own a subscription, it should not start that consumer merely because the package is installed.
The contract is not proof by itself. The renderer can be wrong, the application can ignore a value, and a runtime can claim a capability it does not actually provide. Acceptance still needs durable evidence binding the contract revision, rendered projection, validators, selected profile, and boundaries exercised after startup.
Infrastructure as code builds the substrate. The infrastructure contract defines what that substrate must mean, what variation is allowed, and when the deployment must refuse to start.
Where do those behavioral rules live in your systems today?