{"id":209163,"date":"2026-10-17T14:24:13","date_gmt":"2026-10-17T14:24:13","guid":{"rendered":"https:\/\/www.europesays.com\/ai\/209163\/"},"modified":"2026-10-17T14:24:13","modified_gmt":"2026-10-17T14:24:13","slug":"ai-agents-vs-kubernetes-where-each-belongs-in-the-control-loop","status":"publish","type":"post","link":"https:\/\/www.europesays.com\/ai\/209163\/","title":{"rendered":"AI agents vs. Kubernetes: where each belongs in the control loop"},"content":{"rendered":"<p class=\"wp-block-paragraph\">Kubernetes has always relied on agents, just not the kind dominating today\u2019s AI conversations. A controller watches the current state, compares it with a declared desired state, and takes action to close the gap. That resemblance makes <a href=\"https:\/\/thenewstack.io\/agentic-ai-kubernetes-management\/\" data-type=\"link\" data-id=\"https:\/\/thenewstack.io\/agentic-ai-kubernetes-management\/\" class=\"local-link\" rel=\"nofollow noopener\" target=\"_blank\">AI agents and Kubernetes<\/a> operators sound interchangeable. They are not.<\/p>\n<p class=\"wp-block-paragraph\">This question is no longer theoretical. Over the past 18 months, agent tooling has moved from a side project to part of the cloud-native stack. CNCF has accepted agent frameworks into its Sandbox, and Kubernetes SIG Apps has taken on Agent Sandbox as a subproject for <a href=\"https:\/\/thenewstack.io\/securing-kubernetes-ai-agents\/\" data-type=\"link\" data-id=\"https:\/\/thenewstack.io\/securing-kubernetes-ai-agents\/\" class=\"local-link\" rel=\"nofollow noopener\" target=\"_blank\">running agent workloads safely<\/a>.<\/p>\n<p class=\"wp-block-paragraph\">Platform teams are already deciding what an agent can change in a live cluster, usually one pull request at a time and without a written policy. By default, the boundary between reasoning and execution is set by convention rather than design.<\/p>\n<p class=\"wp-block-paragraph\">KubeCon + CloudNativeCon takes place in Salt Lake City, Utah, November 9 to 12. <a href=\"https:\/\/events.linuxfoundation.org\/kubecon-cloudnativecon-north-america\/\" class=\"ext-link\" rel=\"external  nofollow noopener\" onclick=\"this.target=&#039;_blank&#039;;\" target=\"_blank\">Register now<\/a>!<\/p>\n<p class=\"wp-block-paragraph\">A Kubernetes operator is designed to be predictable. It reconciles resources according to encoded rules, retries failed operations, and converges on declared state. An AI agent is useful when the desired outcome is clear but the path isn\u2019t. It can investigate an unfamiliar situation, gather context from several systems, weigh tradeoffs, and propose a course of action.<\/p>\n<p class=\"wp-block-paragraph\">A safer architectural pattern combines these strengths. The agent supplies reasoning and context. Operators, policy engines, and other deterministic systems retain control of execution.<\/p>\n<p><a\/>A reasoning layer for Kubernetes<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"600\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/www.europesays.com\/ai\/wp-content\/uploads\/2026\/10\/8319c569-figure1-shelby-brittain.png\" alt=\"Workflow diagram illustrating how agents add reasoning while Kubernetes operators keep control out of the cluster.\" class=\"wp-image-22840826\" style=\"aspect-ratio:1.7773109243697478;width:648px;height:auto\"\/><\/p>\n<p>\t\tClick to enlarge graphic.<\/p>\n<p class=\"wp-block-paragraph\"><a href=\"https:\/\/kagent.dev\/docs\/kagent\/introduction\/what-is-kagent\/\" class=\"ext-link\" rel=\"external  nofollow noopener\" onclick=\"this.target=&#039;_blank&#039;;\" target=\"_blank\">kagent, an open source CNCF Sandbox project<\/a>, provides a concrete example of this pattern. It runs AI agents as Kubernetes resources and connects them to Kubernetes, Helm, observability, and custom tools. An agent can inspect resources, retrieve logs and events, query metrics, consult documentation, and coordinate specialized agents.<\/p>\n<p class=\"wp-block-paragraph\">That does not mean every tool should be freely executable. Non-sensitive read operations can run automatically, while changes such as applying, patching, or deleting resources can <a href=\"https:\/\/kagent.dev\/docs\/kagent\/examples\/human-in-the-loop\/\" class=\"ext-link\" rel=\"external  nofollow noopener\" onclick=\"this.target=&#039;_blank&#039;;\" target=\"_blank\">require explicit approval<\/a>. This separation lets the agent conduct a broad investigation without giving an uncertain reasoning process unrestricted authority over the cluster.<\/p>\n<p class=\"wp-block-paragraph\">\u201cThis separation lets the agent conduct a broad investigation without giving an uncertain reasoning process unrestricted authority over the cluster.\u201d<\/p>\n<p class=\"wp-block-paragraph\">The resulting operational loop looks like this: observe, diagnose, propose, approve, reconcile, and verify. The first three steps benefit from agentic reasoning. Kubernetes and its operators handle the reconciliation step. Verification closes the loop without assuming that a successfully accepted change produced the intended result.<\/p>\n<p><a\/>Karpenter shows the difference<\/p>\n<p class=\"wp-block-paragraph\">Consider a cluster where <a href=\"https:\/\/thenewstack.io\/self-healing-gpu-nodes\/\" data-type=\"link\" data-id=\"https:\/\/thenewstack.io\/self-healing-gpu-nodes\/\" class=\"local-link\" rel=\"nofollow noopener\" target=\"_blank\">Karpenter provisions capacity<\/a> successfully, but the platform team still sees underutilized nodes, slow consolidation, Spot churn, or pending pods. Karpenter itself is already an operator. It evaluates scheduling constraints and reconciles NodePools and NodeClaims. Replacing that logic with an LLM would make a reliable control loop less predictable.<\/p>\n<p class=\"wp-block-paragraph\">A kagent-based operations agent should work above Karpenter instead. It can inspect NodePool and EC2NodeClass (for EKS clusters) configuration, pending pods, Kubernetes events, Pod Disruption Budgets, Karpenter logs, and relevant Prometheus metrics. It can then ask why the observed behavior differs from the team\u2019s goal.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"600\" data-wp-class--hide=\"state.isContentHidden\" data-wp-class--show=\"state.isContentVisible\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on--click=\"actions.showLightbox\" data-wp-on--load=\"callbacks.setButtonStyles\" data-wp-on--pointerdown=\"actions.preloadImage\" data-wp-on--pointerenter=\"actions.preloadImageWithDelay\" data-wp-on--pointerleave=\"actions.cancelPreload\" data-wp-on-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/www.europesays.com\/ai\/wp-content\/uploads\/2026\/10\/57718106-figure2-shelby-brittain.png\" alt=\"Diagram illustrating a bounded Karpenter improvement loop.\" class=\"wp-image-22840825\" style=\"aspect-ratio:1.7080291970802919;width:648px;height:auto\"\/><\/p>\n<p>\t\tClick to enlarge graphic.<\/p>\n<p class=\"wp-block-paragraph\">The investigation might find that a <a href=\"https:\/\/karpenter.sh\/docs\/concepts\/disruption\/\" class=\"ext-link\" rel=\"external  nofollow noopener\" onclick=\"this.target=&#039;_blank&#039;;\" target=\"_blank\">Pod Disruption Budget is blocking consolidation<\/a>, a do-not-disrupt annotation is keeping a node in place, or a disruption budget is preventing eviction. It might find that consolidateAfter is too aggressive for a bursty workload, producing avoidable churn. It could also identify instance constraints that leave Karpenter with too little flexibility when selecting Spot capacity.<\/p>\n<p class=\"wp-block-paragraph\">\u201cKarpenter itself is already an operator. Replacing that logic with an LLM would make a reliable control loop less predictable.\u201d<\/p>\n<p class=\"wp-block-paragraph\">The agent\u2019s output should not be a vague recommendation such as \u201coptimize the NodePool.\u201d It should present the evidence, identify the tradeoff, and produce a narrow configuration patch. A change to a NodePool disruption budget should explain the maximum number of nodes that could be affected. A consolidation change should state how long the team will observe workload stability. An expansion of instance choices should preserve architectural, availability-zone, and workload constraints.<\/p>\n<p class=\"wp-block-paragraph\">The patch then passes through an approval or policy gate. Once approved, Karpenter reconciles using its existing scheduling and disruption logic. The agent watches the result over a defined period and checks whether consolidation improved without increasing pending-pod latency or harmful disruption. If it doesn\u2019t meet the acceptance criteria, the system can recommend or initiate a rollback through the same controlled path.<\/p>\n<p><a\/>Argo CD applies the upgrade. The agent builds the case.<\/p>\n<p class=\"wp-block-paragraph\">Consider a platform team upgrading a Helm chart managed by Argo CD. Changing the chart version in Git is straightforward. Understanding how that change will affect a running application takes more work. Argo CD can show which resources differ; an agent can help explain what those differences mean for the workload.<\/p>\n<p class=\"wp-block-paragraph\">For example, a new chart version might rename a value that the team uses to configure its readiness probe. The agent can compare release notes, existing values, and rendered manifests to identify whether the upgrade would silently fall back to a default. It should turn that finding into a focused pull request that updates the chart version and affected values, explains the operational risk, and defines the checks required before rollout.<\/p>\n<p class=\"wp-block-paragraph\">Once the pull request passes review and is merged, Argo CD renders the chart and synchronizes the resulting manifests under the application\u2019s configured sync policy. The agent then checks Argo CD\u2019s sync and health status alongside application metrics. A successful sync alone does not establish that the upgrade preserved latency, error rates, or availability.<\/p>\n<p class=\"wp-block-paragraph\">If those checks fail, the agent can propose a Git revert or a recovery plan through the same approval process, accounting for any data or schema changes that a revert cannot undo. The division of responsibility stays clear: the agent investigates, proposes, and verifies; Argo CD reconciles the approved desired state.<\/p>\n<p><a\/>Autonomy should be earned<\/p>\n<p class=\"wp-block-paragraph\">Teams can introduce this model progressively. Start with a read-only investigator. Next, allow the agent to generate patches or pull requests. Then permit approved, low-risk changes with explicit scope and rollback conditions. Only well-understood actions with measurable outcomes should become autonomous.<\/p>\n<p class=\"wp-block-paragraph\">\u201cThe important boundary is not whether an agent can call kubectl, Helm, or a cloud API. It is whether every action is authorized, bounded, observable, and reversible.\u201d<\/p>\n<p class=\"wp-block-paragraph\">The important boundary is not whether an agent can call kubectl, Helm, or a cloud API. It is whether every action is authorized, bounded, observable, and reversible.<\/p>\n<p class=\"wp-block-paragraph\">Kubernetes can run agents that help manage Kubernetes, but only when each component keeps the job it is best equipped to perform. Agents reason about uncertain situations, operators reconcile declared state, and policy sets limits on both. Humans remain accountable for how quickly the system can move from recommendation to autonomy.<\/p>\n<p>\t<a class=\"row youtube-subscribe-block\" href=\"https:\/\/youtube.com\/thenewstack?sub_confirmation=1\" target=\"_blank\" rel=\"nofollow noopener\"><\/p>\n<p>\n\t\t\t\tYOUTUBE.COM\/THENEWSTACK\n\t\t\t<\/p>\n<p>\n\t\t\t\tTech moves fast, don&#8217;t miss an episode. Subscribe to our YouTube<br \/>\n\t\t\t\tchannel to stream all our podcasts, interviews, demos, and more.\n\t\t\t<\/p>\n<p>\t\t\t\tSUBSCRIBE<\/p>\n<p>\t<\/a><\/p>\n<p>    Group<br \/>\n    Created with Sketch.<\/p>\n<p>\t\t<a href=\"https:\/\/thenewstack.io\/author\/vikram-seshadri\/\" class=\"author-more-link\" rel=\"nofollow noopener\" target=\"_blank\"><\/p>\n<p>\t\t\t\t\t<img decoding=\"async\" class=\"post-author-avatar\" src=\"https:\/\/www.europesays.com\/ai\/wp-content\/uploads\/2026\/10\/2f802a33-vikram-seshadri-headshot-shelby-brittain.jpg\"\/><\/p>\n<p>\n\t\t\t\t\t\t\tVikram Seshadri spent eight years in platform engineering in the fintech space, including a stint as Senior Vice President leading EKS platform engineering at Citi. Now a Senior Evangelist for Enterprise Platforms at DoiT, he helps engineering teams solve the&#8230;\t\t\t\t\t\t<\/p>\n<p>\t\t\t\t\t\tRead more from Vikram Seshadri\t\t\t\t\t\t<\/p>\n<p>\t\t<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"Kubernetes has always relied on agents, just not the kind dominating today\u2019s AI conversations. A controller watches the&hellip;\n","protected":false},"author":2,"featured_media":209164,"comment_status":"","ping_status":"","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[6],"tags":[405,7537,12099,12100],"class_list":["post-209163","post","type-post","status-publish","format-standard","has-post-thumbnail","category-agentic-ai","tag-ai-agents","tag-artificial-intelligence-agents","tag-cncf","tag-post-contributed"],"_links":{"self":[{"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/posts\/209163","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/comments?post=209163"}],"version-history":[{"count":0,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/posts\/209163\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/media\/209164"}],"wp:attachment":[{"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/media?parent=209163"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/categories?post=209163"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.europesays.com\/ai\/wp-json\/wp\/v2\/tags?post=209163"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}