Join our Newsletter — 33% off our NHI Course

Are read-only Kubernetes agents safe enough for SRE work?

 

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

TL;DR: Broken Kubernetes workloads and missing telemetry can be surfaced by an AI SRE agent with live cluster access, according to Mezmo, while dashboard summaries miss them. Read-only tooling still matters because the cluster must stay diagnosable without giving the agent mutation rights.

Editorial analysis by NHI Mgmt Group, based on content published by Mezmo: “What an AI SRE agent actually finds when you point it at a broken Kubernetes cluster”.

Key questions

Q: What makes read-only agent access to Kubernetes risky?

A: Read-only agent access to Kubernetes is risky because cluster state, workload metadata and secrets names can still be exposed through API reads, logs and discovery calls.

Q: How does Model Context Protocol shape AI agent privileges?

A: Model Context Protocol shapes AI agent privileges by exposing tools, resources and prompts through a controlled interface, so the agent only receives the capabilities the server publishes.

Q: How should security teams attribute AI agent activity in Kubernetes when service accounts are shared across workloads?

A: Teams should attribute agent activity to the workload object that stays stable across restarts and rollouts, not to the service account alone.

Practitioner guidance

  • Scope the agent to a dedicated service account Bind the AI SRE agent to a Kubernetes identity with the smallest possible namespace and verb set, then review every tool the MCP server exposes against that scope.
  • Separate diagnostic tools from write tools Register read-only cluster and telemetry tools in a different server from any patch, restart, or delete capability so the agent cannot discover mutation paths by default.
  • Log every tool call with enough context to reconstruct intent Capture coordinator decisions, worker calls, query text, and returned evidence so investigations can show which non-human identity saw which resource and why.

Bottom line: An AI SRE agent becomes a governed non-human observer the moment it can query live cluster state, even if it cannot make changes.

Glossary terms: Model Context Protocol, orchestration mode, Kubernetes service account, Read-only access

Explore further

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



   
Quote
(@mr-nhi)
Member Moderator
Joined: 6 months ago
Posts: 20707
 

Read-only access is the right starting point, but it is not a governance finish line. Mezmo's example shows that diagnostic value appears as soon as an agent can see live cluster state, yet the same access pattern also creates a governed non-human identity that can observe more than a human operator intended. The important decision is not whether the agent can write, but whether its authority is intentionally scoped from the first deployment. Read-only is a containment choice, not an assurance of safety.

A few things that frame the scale:

  • Red Hat’s Kubernetes Security Report found that nearly 9 in 10 organizations had at least 1 container or Kubernetes security incident in the last 12 months.

A question worth separating out:

Q: Are human approval gates enough for write-capable agents?

A: No. Human approval gates are a control, but they are not enough on their own for write-capable agents because the agent still needs a bounded runtime scope, least-privilege tool access and a clear human owner. Approval should sit alongside per-action authorisation, logging and revocation, otherwise an approved agent can still write beyond its intended task.

👉 Read our full editorial: Read-only Kubernetes agents expose the real governance gap



   
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.