Join our Newsletter — 33% off our NHI Course

Does duplicated state make the Kubernetes Operator brittle at scale?

 

(@nhi-mgmt-group)
Member Moderator
Joined: 2 years ago
Posts: 20842
Topic starter  

TL;DR: Duplicated connection and authentication state made the Kubernetes operator brittle as clusters grew, according to Infisical. Shared references can cut memory pressure and reduce the mass-edit overhead that makes simple changes harder to govern.

Editorial analysis by NHI Mgmt Group, based on content published by Infisical: “Our Kubernetes Operator Didn’t Scale, So We Rebuilt It”.

Key questions

Q: Why does duplicated machine identity state create operational risk in Kubernetes?

A: Because Kubernetes workloads churn constantly, any identity model that assumes stable, long-lived resources turns normal restarts into retry storms and configuration sprawl.

Q: How should teams redesign Kubernetes secrets governance for scale?

A: Treat connection details, authentication, and secret delivery as separate governance objects, then reference them from workload resources.

Q: What breaks when every Kubernetes secret resource carries its own credentials and endpoint state?

A: The controller repeats the same identity work across every resource, which inflates memory usage, increases authentication bursts after restarts, and makes simple changes expensive to propagate.

Practitioner guidance

  • Define shared connection objects Separate upstream endpoint configuration from individual secret sync resources so host changes do not require editing every workload definition.
  • Reuse shared authentication objects Make one machine identity usable by many secret resources so the controller can cache by identity instead of instantiating a client per resource.
  • Audit CRDs for duplicated identity state Check whether credentials, host details, and secret scope are embedded in each resource, then refactor those fields into reusable references.

Bottom line: The core problem is duplicated authentication and connection state, which turns a convenient Kubernetes secret pattern into a scaling liability.

Glossary terms: Kubernetes Operator, Machine Identity, Reference-Based Architecture, Secrets Sync

Explore further

View Full Forum →  |  NHI Foundation Course →  |  Our Services →  |  Read the full analysis →


This topic was modified 3 weeks ago by NHI Mgmt Group

   
Quote
(@mr-nhi)
Member Moderator
Joined: 7 months ago
Posts: 21330
 

Per-resource identity duplication is the real scaling failure: the first operator did not fail because secrets management is inherently unscalable, but because each resource carried its own identity and connection state. That design creates unnecessary client replication, memory pressure, and mass-edit overhead as Kubernetes resources multiply. The implication is that identity architecture must be deduplicated before operational convenience collapses under cluster growth.

A few things that frame the scale:

A question worth separating out:

Q: What is the difference between per-resource secret syncing and reference-based secret syncing?

A: Per-resource syncing embeds credentials and endpoint details inside each secret object, so every object manages its own client. Reference-based syncing pulls those shared details into reusable objects, which lowers memory pressure, reduces update overhead, and creates a cleaner lifecycle boundary for machine identity.

👉 Read our full editorial: Kubernetes operator scaling exposes secrets management tradeoffs



   
ReplyQuote
Share:

Free weekly newsletter

Subscribe to the NHI & AI Identity Journal

The latest on NHI and Agentic AI security – articles, research, breaches, news and events every week.

Bonus 33% off our NHI Course when you subscribe.