<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>Forem: Sajal Nigam</title>
    <description>The latest articles on Forem by Sajal Nigam (@sajalnigam).</description>
    <link>https://forem.com/sajalnigam</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F3817807%2F12e3b3ba-2d63-41a7-8b55-d46c80943039.png</url>
      <title>Forem: Sajal Nigam</title>
      <link>https://forem.com/sajalnigam</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://forem.com/feed/sajalnigam"/>
    <language>en</language>
    <item>
      <title>The Rise of AI in DevOps Makes Deterministic Policy Evaluation More Important Than Ever.</title>
      <dc:creator>Sajal Nigam</dc:creator>
      <pubDate>Wed, 11 Mar 2026 05:20:26 +0000</pubDate>
      <link>https://forem.com/sajalnigam/the-rise-of-ai-in-devops-makes-deterministic-policy-evaluation-more-important-than-ever-5d89</link>
      <guid>https://forem.com/sajalnigam/the-rise-of-ai-in-devops-makes-deterministic-policy-evaluation-more-important-than-ever-5d89</guid>
      <description>&lt;h2&gt;
  
  
  The Evolution of Kubernetes Governance in the Age of AI
&lt;/h2&gt;

&lt;p&gt;Over the past few years, the Kubernetes ecosystem has made remarkable progress in &lt;strong&gt;policy-based governance&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Tools like &lt;strong&gt;Kyverno&lt;/strong&gt; and &lt;strong&gt;Open Policy Agent&lt;/strong&gt; have helped organizations move toward &lt;strong&gt;policy-as-code&lt;/strong&gt;, enabling teams to enforce security, compliance, and operational guardrails directly within their Kubernetes environments.&lt;/p&gt;

&lt;p&gt;This shift has been transformative. Instead of relying on manual reviews or tribal knowledge, teams can now define clear, auditable rules that govern how infrastructure is deployed.&lt;/p&gt;

&lt;p&gt;But the ecosystem is evolving again.&lt;/p&gt;

&lt;p&gt;And the next wave is being driven by &lt;strong&gt;AI-assisted software development&lt;/strong&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  AI Is Changing How Infrastructure Code Is Written
&lt;/h2&gt;

&lt;p&gt;Today, engineers increasingly rely on AI tools to:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Generate Kubernetes manifests
&lt;/li&gt;
&lt;li&gt;Refactor Helm charts
&lt;/li&gt;
&lt;li&gt;Propose pull-request changes
&lt;/li&gt;
&lt;li&gt;Assist with configuration reviews
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;As AI systems start generating more infrastructure code, an interesting challenge emerges:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;AI systems are probabilistic, while governance systems must be deterministic.&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Infrastructure policies require:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Reproducibility
&lt;/li&gt;
&lt;li&gt;Auditability
&lt;/li&gt;
&lt;li&gt;Consistent outcomes
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;The &lt;strong&gt;same configuration must always produce the same policy decision&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;This is exactly where the Kubernetes policy ecosystem continues to play a critical role.&lt;/p&gt;




&lt;h2&gt;
  
  
  Shifting Policy Validation Further Left
&lt;/h2&gt;

&lt;p&gt;While admission controllers and CI pipelines enforce policies effectively, many teams still discover violations &lt;strong&gt;late in the development workflow&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;By the time a policy fails:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;A CI pipeline has already run
&lt;/li&gt;
&lt;li&gt;A pull request is already under review
&lt;/li&gt;
&lt;li&gt;Engineers must context-switch to diagnose the issue
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;This led me to explore a simple idea:&lt;/p&gt;

&lt;blockquote&gt;
&lt;p&gt;&lt;strong&gt;What if Kubernetes policies could be evaluated directly where developers work?&lt;/strong&gt;&lt;/p&gt;
&lt;/blockquote&gt;

&lt;p&gt;Not after a commit.&lt;br&gt;&lt;br&gt;
Not in CI.&lt;br&gt;&lt;br&gt;
Not at admission time.&lt;/p&gt;

&lt;p&gt;But &lt;strong&gt;right at the moment infrastructure code is reviewed&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;This idea led to the creation of &lt;strong&gt;GuardOn&lt;/strong&gt;, an open-source browser extension designed to bring Kubernetes policy validation directly into the developer workflow.&lt;/p&gt;




&lt;h2&gt;
  
  
  GuardOn: Developer-First Policy Validation
&lt;/h2&gt;

&lt;p&gt;GuardOn evaluates Kubernetes manifests during &lt;strong&gt;pull-request review&lt;/strong&gt; and provides instant feedback on configuration and policy violations.&lt;/p&gt;

&lt;p&gt;It supports validation using policies defined in systems like:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Kyverno
&lt;/li&gt;
&lt;li&gt;Open Policy Agent
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;But the focus is slightly different:&lt;/p&gt;

&lt;p&gt;&lt;strong&gt;Where and when policies are evaluated.&lt;/strong&gt;&lt;/p&gt;

&lt;p&gt;Instead of running only in clusters or CI pipelines, GuardOn explores &lt;strong&gt;client-side policy execution&lt;/strong&gt;, allowing developers to detect issues before they ever reach those stages.&lt;/p&gt;

&lt;p&gt;The goal is &lt;strong&gt;not to replace existing policy engines&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Instead, it aims to &lt;strong&gt;extend their reach further into the developer workflow&lt;/strong&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  Where AI Fits In
&lt;/h2&gt;

&lt;p&gt;As AI assistants become more common in software development, their role in infrastructure governance will likely grow as well.&lt;/p&gt;

&lt;p&gt;AI can help developers:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Understand why a policy failed
&lt;/li&gt;
&lt;li&gt;Interpret complex rules
&lt;/li&gt;
&lt;li&gt;Suggest compliant configurations
&lt;/li&gt;
&lt;li&gt;Identify patterns across repositories
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;But even in an AI-driven world, &lt;strong&gt;deterministic policy evaluation remains essential&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;AI can assist with &lt;strong&gt;reasoning and recommendations&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Policy engines still provide &lt;strong&gt;the authoritative decision&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Tools like GuardOn could become an interesting bridge between these layers:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;AI assistants provide contextual understanding
&lt;/li&gt;
&lt;li&gt;Deterministic policy engines evaluate rules
&lt;/li&gt;
&lt;li&gt;Developer-side tools surface results earlier in the workflow
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;Together, these layers could form a &lt;strong&gt;more intelligent and developer-friendly governance model&lt;/strong&gt;.&lt;/p&gt;




&lt;h2&gt;
  
  
  Looking Ahead
&lt;/h2&gt;

&lt;p&gt;The Kubernetes ecosystem thrives on &lt;strong&gt;collaboration and layered innovation&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;Policy engines like &lt;strong&gt;Kyverno&lt;/strong&gt; have established powerful foundations for &lt;strong&gt;policy-as-code&lt;/strong&gt;.&lt;/p&gt;

&lt;p&gt;The next step may be expanding &lt;strong&gt;where policies are evaluated&lt;/strong&gt;, bringing governance closer to developers while still maintaining strong, auditable enforcement.&lt;/p&gt;

&lt;p&gt;GuardOn is an early exploration of that idea.&lt;/p&gt;

&lt;p&gt;As infrastructure becomes more automated—and increasingly AI-assisted—tools that combine:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Developer experience
&lt;/li&gt;
&lt;li&gt;Deterministic governance
&lt;/li&gt;
&lt;li&gt;Ecosystem interoperability
&lt;/li&gt;
&lt;/ul&gt;

&lt;p&gt;will become even more important.&lt;/p&gt;

&lt;p&gt;I’m excited to see how the community continues to evolve in this space, and how projects across the cloud-native ecosystem can work together to push Kubernetes governance even further forward.&lt;/p&gt;




&lt;h2&gt;
  
  
  Discussion
&lt;/h2&gt;

&lt;p&gt;💬 I’d love to hear from others in the Kubernetes community:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Where do you see &lt;strong&gt;AI-assisted governance&lt;/strong&gt; fitting into policy-as-code workflows?
&lt;/li&gt;
&lt;li&gt;Should &lt;strong&gt;policy evaluation move closer to developers&lt;/strong&gt;, or remain centralized in &lt;strong&gt;CI pipelines and admission controllers&lt;/strong&gt;?&lt;/li&gt;
&lt;/ul&gt;

</description>
      <category>ai</category>
      <category>automation</category>
      <category>devops</category>
      <category>kubernetes</category>
    </item>
  </channel>
</rss>
