
Kubernetes
How to set topology spread constraints for AI agent replicas
Use topologySpreadConstraints to spread AI agent replicas across zones and nodes. Set topologyKey, maxSkew and whenUnsatisfiable, and learn why replicas wait.
7 min read
Founder & VP Product, Nirmata
Ritesh Patel is a founder of Nirmata and leads its products. He writes about governing AI coding agents, MCP security and Kubernetes policy as code.
336 posts · Page 2 of 28

Kubernetes
Use topologySpreadConstraints to spread AI agent replicas across zones and nodes. Set topologyKey, maxSkew and whenUnsatisfiable, and learn why replicas wait.
7 min read

Kubernetes
Add startup, liveness and readiness probes to an MCP server pod. Use an httpGet health route, not the MCP endpoint, and size each timeout for your server.
5 min read

AI
AIControls logs each AI agent request and tool call with identity and decision, maps your policies to NIST AI RMF controls and exports the coverage as JSON.
9 min read

AI
Connect Okta or Entra ID to AIControls and each AI agent request carries a named person and team, so budgets, tool access and audit records apply per user.
9 min read

AI
AIControls scans prompts and MCP tool arguments at its gateway. It blocks credentials, holds PII for approval and redacts both from non-streaming replies.
7 min read

Kubernetes
NIST SP 800-171 Rev. 3 names no cluster settings. Admission can enforce 5 of the 18 requirements mapped here, CI can check 7, and 6 need a process or people.
9 min read

AI
Review a repo's project .mcp.json before approving it: check each launch command, ${VAR} default, env value and header, then approve or reject the server.
6 min read

AI
Route agents through the AIControls gateway. It prices each request from tokens and a model price table and splits spend by model, user, team, project and key.
7 min read

AI
AIControls scans your Kubernetes workloads for AI signals and flags agents that skip its gateway. It covers clusters only, not laptops, browsers or SaaS apps.
9 min read

AI
CLAUDE.md is context Claude reads, not enforced configuration. Deny rules, sandboxing and PreToolUse hooks block a tool call. Here is how to tell them apart.
7 min read

AI
AIControls gives least-privilege MCP access: Access Bindings grant each team, user or agent named tools, default-deny blocks the rest and CEL checks every call.
8 min read

Kubernetes
Set spec.ttlSecondsAfterFinished on an agent batch Job so Kubernetes deletes it after it finishes. Keep the logs and audit records somewhere else first.
5 min read