<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Pablo jusue on Medium]]></title>
        <description><![CDATA[Stories by Pablo jusue on Medium]]></description>
        <link>https://medium.com/@pablojusue?source=rss-f4d5108ad72c------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*BWVgjOFRr6rZLQWyArYvtA.jpeg</url>
            <title>Stories by Pablo jusue on Medium</title>
            <link>https://medium.com/@pablojusue?source=rss-f4d5108ad72c------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sun, 29 Nov 2026 01:51:44 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@pablojusue/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[Why SubQ-1.1-Small Proves We’ve Been Building AI “Backwards”]]></title>
            <link>https://medium.com/@pablojusue/why-subq-1-1-small-proves-weve-been-building-ai-backwards-e5736c7deec9?source=rss-f4d5108ad72c------2</link>
            <guid isPermaLink="false">https://medium.com/p/e5736c7deec9</guid>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[ai]]></category>
            <dc:creator><![CDATA[Pablo jusue]]></dc:creator>
            <pubDate>Sun, 28 Jun 2026 08:19:12 GMT</pubDate>
            <atom:updated>2026-06-28T08:19:12.387Z</atom:updated>
            <content:encoded><![CDATA[<p>Much of today’s AI ecosystem — RAG, chunking strategies, vector databases, and agentic workflows — doesn’t exist because it’s the ideal way to solve problems. It exists because traditional dense attention scales quadratically, making direct reasoning over massive documents prohibitively expensive.</p><p>In other words: we have built an entire industry to manage <strong>context scarcity</strong>.</p><p>But the recent technical report for <strong>SubQ-1.1-Small</strong> just proved that this technical limitation’s days are numbered. By introducing <strong>Subquadratic Sparse Attention (SSA)</strong>, this model doesn’t just drastically slash computational costs; it opens the door to genuine <em>Whole-Artifact Reasoning</em>.</p><h3>The Secret to Efficiency: SSA</h3><p>Dense attention collapses under its own weight. At 1 million tokens, it requires hundreds of billions of operations per layer. Previous solutions tried to fix this by limiting attention to sliding windows (losing precision) or using recurrent architectures like SSMs that struggle to retrieve exact, previously seen information.</p><p>SubQ-1.1-Small uses SSA, a content-dependent routing mechanism that scales linearly. <strong>At 1 million tokens, it reduces attention FLOPs by 64.5x</strong> compared to dense attention, without sacrificing its ability to retrieve data.</p><h3>The Milestone: Extreme Context Generalization</h3><p>The most spectacular finding from the SubQ team isn’t how they trained the model, but how it generalized.</p><p>The model was trained primarily on 1-million-token sequences (with a small fraction at 2 million). However, in single-needle <em>Needle-in-a-Haystack</em> evaluations, <strong>it maintained 98% recall all the way out to 12 million tokens</strong>.</p><p>At that scale, the model is only attending to <strong>0.13% of token pairs</strong> (a nearly 1,000x reduction), proving that sparse attention can scale to absurd lengths almost flawlessly.</p><h3>Beyond Memory: Real Intelligence</h3><p>A model that memorizes well but reasons poorly is useless in the real world. What makes SubQ-1.1-Small production-ready is that it hasn’t lost its foundational capabilities during long-context training:</p><ul><li><strong>RULER (Advanced Long-Context):</strong> 99.12% on a suite that evaluates frequency extraction and multi-hop variable tracing, not just simple lookups.</li><li><strong>Expert Knowledge (GPQA Diamond):</strong> 85.4%, outperforming models in its weight class and closely trailing giants like Claude 3.5 Sonnet.</li><li><strong>Coding (LiveCodeBench):</strong> 89.7%, confirming that its algorithmic reasoning remains fully intact.</li><li><strong>Agents (AutomationBench Finance):</strong> 13%, beating smaller frontier baselines in realistic, multi-step financial workflows.</li></ul><h3>Conclusion: The End of “Chunking”</h3><p>The takeaway from SubQ-1.1-Small is clear. When processing 1 million tokens costs a fraction of the usual price and memory, complex pipelines stop making sense.</p><p>You no longer need to fragment a code repository, embed it in a vector database, and cross your fingers that your RAG system retrieves the right file. You simply <strong>drop the entire repository into the prompt</strong> and let the model reason over the complete artifact.</p><p>Context scarcity is coming to an end. And with it, the way we design AI software. I recomend to check the publication by the Subq.ai group <a href="https://subq.ai/docs/subq-1-1-small-model-card.pdf">https://subq.ai/docs/subq-1-1-small-model-card.pdf</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=e5736c7deec9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[From CI/CD to CI/AI: Designing AI-Augmented Deployment Pipelines]]></title>
            <link>https://medium.com/@pablojusue/from-ci-cd-to-ci-ai-designing-ai-augmented-deployment-pipelines-05df56011b12?source=rss-f4d5108ad72c------2</link>
            <guid isPermaLink="false">https://medium.com/p/05df56011b12</guid>
            <category><![CDATA[llm]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <category><![CDATA[github]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Pablo jusue]]></dc:creator>
            <pubDate>Tue, 03 Mar 2026 11:41:04 GMT</pubDate>
            <atom:updated>2026-03-03T11:41:44.131Z</atom:updated>
            <content:encoded><![CDATA[<p>We’ve spent a decade making pipelines deterministic, yet 70% of outages are still caused by ‘safe’ changes. The deterministic era of CI/CD has hit a ceiling. It’s time for the Cognitive era: <strong>CI/AI</strong>.</p><ul><li>Tests pass → merge</li><li>Build succeeds → deploy</li><li>Health checks fail → rollback</li></ul><p>But modern systems are too complex for hardcoded thresholds alone.</p><p>What if your pipeline could:</p><ul><li>Predict risky deployments before they ship?</li><li>Analyze diffs and estimate blast radius?</li><li>Detect anomalous behavior before customers notice?</li><li>Generate rollback strategies automatically?</li></ul><p>This is the shift from <strong>Continuous Integration / Continuous Delivery (CI/CD) </strong>to <strong>Continuous Integration with Artificial Intelligence (CI/AI)</strong>.</p><p>Let’s go deep.</p><h3>The Limitation of Traditional CI/CD</h3><p>Modern pipelines (GitHub Actions, GitLab CI, Jenkins, ArgoCD) follow rule-based logic:</p><pre>if tests_pass:<br>  deploy()<br>else:<br>  fail()</pre><p>The system does not understand:</p><ul><li>Code semantics</li><li>Business risk</li><li>Deployment context</li><li>Historical failure patterns</li></ul><p>It only evaluates predefined gates, but real-world outages rarely happen because tests failed. They happen because:</p><ul><li>A “safe-looking” config change increased memory pressure.</li><li>A dependency bump introduced subtle latency regressions.</li><li>A small feature flag exposed an unexpected scaling edge case.</li><li>A Terraform change expanded blast radius unintentionally.</li></ul><p>CI/CD validates correctness. It does not evaluate risk.<strong> CI/AI</strong> introduces <strong>contextual reasoning inside the pipeline.</strong></p><h3>What Is CI/AI?</h3><p>CI/AI means embedding AI models (LLMs + predictive models) into deployment workflows to:</p><ul><li>Analyze pull requests semantically</li><li>Score deployment risk</li><li>Detect anomalies during rollout</li><li>Recommend rollback or mitigation</li><li>Generate human-readable explanations</li></ul><pre>Instead of this:<br>code → test → deploy<br>We move toward:<br>code → test → AI risk analysis → deploy → AI runtime evaluation → adaptive decision</pre><p>AI becomes an <strong>advisory and decision-support layer</strong> inside DevOps.</p><h3>Architecture of an AI-Augmented Pipeline</h3><p>Let’s break down a production-grade design.</p><h3>Stage 1 — Pull Request Intelligence</h3><p>When a PR is opened:</p><ol><li>Diff is extracted</li><li>Metadata is collected</li><li>Logs of similar past changes are retrieved (vector search)</li></ol><p>LLM tasks:</p><ul><li>Summarize change intent</li><li>Identify risky patterns</li><li>Predict blast radius</li><li>Suggest missing tests</li></ul><p>Example prompt:</p><p><em>“Analyze this diff. Identify performance, security, and scaling risks. Rate deployment risk from 1–10.”</em></p><p>Output becomes:</p><ul><li>PR comment</li><li>Risk score</li><li>Approval recommendation</li></ul><p>This is not replacing reviewers. It’s augmenting them.</p><h3>Stage 2 — Pre-Deployment Risk Scoring</h3><p>Before deployment:</p><p>Combine:</p><ul><li>Static analysis results</li><li>Test coverage delta</li><li>Service criticality</li><li>Historical incident similarity</li><li>AI semantic review</li></ul><p>Feed into:</p><ul><li>A lightweight ML risk model</li><li>Or LLM-based structured output</li></ul><pre>{<br>  &quot;risk_score&quot;: 0.78,<br>  &quot;rollback_recommended&quot;: false,<br>  &quot;risk_factors&quot;: [&quot;memory usage increase&quot;, &quot;db index removal&quot;]<br>}</pre><p>Pipeline decision example:</p><pre>if risk_score &gt; 0.75:<br>  require_manual_approval</pre><h3>Stage 3 — Progressive Delivery with AI Monitoring</h3><p>During canary rollout:</p><p>Traditional approach:</p><ul><li>Monitor CPU</li><li>Monitor latency</li><li>Compare thresholds</li></ul><p>AI-enhanced approach:</p><ul><li>Compare multi-dimensional metrics</li><li>Detect subtle anomaly patterns</li><li>Correlate logs + traces + metrics</li></ul><p>Use:</p><ul><li>Observability stack (e.g., Prometheus)</li><li>Tracing via OpenTelemetry</li><li>Deployment via Argo CD</li></ul><p>AI layer:</p><ul><li>Ingest metrics</li><li>Compare against historical rollout patterns</li><li>Detect deviation clusters</li></ul><p>Instead of:</p><pre>latency &gt; 300ms → rollback</pre><p>You get:</p><p><em>“Latency stable, but memory growth pattern matches previous incident #4821. Recommend pausing rollout.”</em></p><p>That’s contextual anomaly detection.</p><h3>AI-Driven Rollback Strategies</h3><p>Traditional rollback:</p><ul><li>Revert to previous version</li></ul><p>AI-augmented rollback:</p><ul><li>Suggest partial traffic reduction</li><li>Suggest feature flag disable</li><li>Suggest horizontal scaling before rollback</li><li>Identify most likely failure subsystem</li></ul><p>The model can use:</p><ul><li>Historical incidents</li><li>Postmortems</li><li>Runbooks</li><li>Architecture diagrams (vector indexed)</li></ul><p>Now rollback isn’t binary, it becomes adaptive.</p><h3>Designing Guardrails (Critical)</h3><p>Let’s be clear:</p><ul><li>LLMs hallucinate.</li><li>AI models drift.</li><li>Automation amplifies mistakes.</li></ul><p>CI/AI must never become “autonomous chaos.” So here are some guardails that protects the CI/AI</p><h3>AI never deploys directly</h3><p>AI recommends, humans approve (unless confidence threshold is extremely high).</p><h3>Deterministic fallback</h3><p>If AI system fails → pipeline reverts to standard CI/CD.</p><h3>Structured outputs only</h3><p>Force JSON schema responses.</p><h3>Prompt versioning</h3><p>Treat prompts like code:</p><ul><li>Git versioned</li><li>Peer reviewed</li><li>Tested</li></ul><h3>Observability for AI decisions</h3><p>Track:</p><ul><li>Why risk score was high</li><li>Which factors influenced decision</li><li>Confidence level</li></ul><p>AI must be auditable.</p><h3>CI/AI Data Architecture</h3><p>To make this real, you need:</p><h3>1. Feature Store</h3><p>Historical:</p><ul><li>Deployment outcomes</li><li>Incident labels</li><li>Performance regressions</li></ul><h3>2. Vector Database</h3><p>For semantic similarity:</p><ul><li>PR history</li><li>Incident reports</li><li>Logs</li><li>Runbooks</li></ul><h3>3. Model Layer</h3><ul><li>LLM for reasoning</li><li>Lightweight classifier for risk scoring</li></ul><h3>4. Evaluation Harness</h3><p>Continuously measure:</p><ul><li>False positives</li><li>False negatives</li><li>Unnecessary rollbacks</li><li>Missed incidents</li></ul><p>Without evaluation, CI/AI becomes noise.</p><h3>The Evolution Path</h3><p>You don’t jump to full AI pipelines, you evolve:</p><ol><li>AI-generated PR summaries</li><li>Risk commentary (non-blocking)</li><li>Risk scoring (advisory)</li><li>Approval gating based on risk</li><li>AI-assisted canary monitoring</li><li>Partial automated mitigation</li></ol><p>Each stage builds trust.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=05df56011b12" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Hardening AI Models: Why Your “State-of-the-Art” Model Will Fail in Production]]></title>
            <link>https://medium.com/@pablojusue/hardening-ai-models-why-your-state-of-the-art-model-will-fail-in-production-3b51bdd2dd71?source=rss-f4d5108ad72c------2</link>
            <guid isPermaLink="false">https://medium.com/p/3b51bdd2dd71</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[large-language-models]]></category>
            <category><![CDATA[security]]></category>
            <dc:creator><![CDATA[Pablo jusue]]></dc:creator>
            <pubDate>Mon, 26 Jan 2026 19:01:08 GMT</pubDate>
            <atom:updated>2026-01-26T19:01:08.646Z</atom:updated>
            <content:encoded><![CDATA[<p>Most AI projects don’t fail during training; they fail during the transition from a research notebook to a hostile, resource-constrained production environment. Hardening a model isn’t just about “security” — it’s about managing the trade-offs between <strong>robustness, latency, and cost</strong>.</p><h3>1. The Security Paradox: Robustness vs. Accuracy</h3><p>Adversarial attacks are a math problem, not a bug. While everyone suggests <strong>Adversarial Training</strong>, few mention the “Robustness Tax”:</p><ul><li><strong>The Trade-off:</strong> Making a model robust against PGD or FGSM attacks almost always degrades its accuracy on clean data. You need to decide if a 2% drop in precision is worth the protection.</li><li><strong>Beyond Pickle:</strong> Never load .pkl or .pt files from untrusted sources; they are RCE (Remote Code Execution) vulnerabilities waiting to happen. Use <strong>Safetensors</strong> by default.</li><li><strong>Mitigation:</strong> Don’t just add noise. Use <strong>Inference-time defenses</strong> like input transformation or “Squeezing” to catch adversarial perturbations before they hit the weights.</li></ul><h3>2. Optimization: Efficiency is a Security Feature</h3><p>A slow model is a vulnerable model (easy target for DoS). But optimization isn’t free:</p><ul><li><strong>The Hidden Bias in Pruning:</strong> When you prune redundant connections, you aren’t just saving RAM. Research shows pruning often hits “long-tail” data hardest, potentially introducing hidden biases against minority classes.</li><li><strong>Quantization (FP32 → INT8):</strong> Great for throughput, but watch your outliers. Use <strong>Post-Training Quantization (PTQ)</strong> for quick wins, but if precision drops too much, you’ll need <strong>Quantization-Aware Training (QAT)</strong>.</li><li><strong>Architecture:</strong> Stop deploying raw Flask wrappers. Use <strong>NVIDIA Triton</strong> or <strong>TServe</strong> to handle dynamic batching. If you aren’t saturating your GPU, you’re just wasting money.</li></ul><h3>3. Real-World Observability: Drift is Only Half the Battle</h3><p>Monitoring “Accuracy” in production is a lie because you don’t have ground-truth labels in real-time.</p><ul><li><strong>Proxy Metrics:</strong> Monitor <strong>Prediction Drift</strong> (Kullback–Leibler divergence) to see if your model’s output distribution is shifting compared to training.</li><li><strong>The Feedback Loop:</strong> Hardening means having a “Human-in-the-loop” strategy. When drift is detected, you need a pre-validated pipeline to trigger manual labeling and “Shadow Deployment” (testing the new model version in parallel without affecting users).</li></ul><h3>4. MLOps: The AI Supply Chain</h3><p>Security starts at the data lake.</p><ul><li><strong>Data Poisoning:</strong> Implement strict versioning (DVC) and checksums for your datasets. If you can’t prove where your training data came from, you can’t trust the model.</li><li><strong>Scanning:</strong> Use tools like scanpy or picklescan in your CI/CD. Treat your model weights as code: they must be audited, signed, and scanned for vulnerabilities before reaching the registry.</li></ul><h3>Conclusion</h3><p>Hardening AI is the art of <strong>principled compromise</strong>. You can’t have perfect security, zero latency, and 100% accuracy all at once. The real job of an ML Engineer is to choose which 1% to sacrifice to ensure the other 99% survives the real world.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3b51bdd2dd71" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GitOps Internals (Part 2): What ArgoCD Cannot Detect (and Why)]]></title>
            <link>https://medium.com/@pablojusue/gitops-internals-part-2-what-argocd-cannot-detect-and-why-5861a3fc8665?source=rss-f4d5108ad72c------2</link>
            <guid isPermaLink="false">https://medium.com/p/5861a3fc8665</guid>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[gitops]]></category>
            <category><![CDATA[argo-cd]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Pablo jusue]]></dc:creator>
            <pubDate>Sun, 04 Jan 2026 11:18:50 GMT</pubDate>
            <atom:updated>2026-01-04T11:18:50.346Z</atom:updated>
            <content:encoded><![CDATA[<p>In Part 1, we established a precise definition of drift in GitOps terms:</p><p><strong><em>Drift is a detectable structural difference between rendered manifests and normalized live objects returned by the Kubernetes API.</em></strong></p><p>That definition is narrow by design.</p><p>In this article, we focus on the consequences of that design choice by answering a harder question:</p><p><strong><em>What kinds of drift are fundamentally invisible to ArgoCD — and why?</em></strong></p><p>Understanding these blind spots is essential if you rely on <strong>ArgoCD</strong> for production safety.</p><h3>1. Drift outside the manifest model</h3><p>ArgoCD only compares <strong>Kubernetes objects</strong>.</p><p>Anything that does not live in a declarative manifest <strong>cannot drift</strong>, because it never existed in the model.</p><h3>Examples:</h3><ul><li>Files written to a mounted volume at runtime</li><li>Certificates generated dynamically by the application</li><li>Feature flags loaded from external systems</li><li>Environment variables resolved dynamically inside the container</li></ul><p>From ArgoCD’s perspective:</p><ul><li>Git is unchanged</li><li>Live objects are unchanged</li><li>Drift = <strong>non-existent</strong></li></ul><p>Yet the <strong>effective system behavior has changed</strong>.</p><h3>2. Runtime drift: where GitOps stops completely</h3><p>ArgoCD does not observe:</p><ul><li>Container memory</li><li>Process state</li><li>In-memory configuration</li><li>Side effects inside the filesystem</li></ul><p>A pod can:</p><ul><li>Load different configuration</li><li>Switch feature paths</li><li>Degrade performance</li><li>Expose new attack surfaces</li></ul><p>…without <strong>any change</strong> to the Kubernetes object.</p><p>This is not a bug. It is a <strong>hard boundary</strong> of the GitOps model.</p><h3>3. Drift introduced by Kubernetes itself</h3><p>Kubernetes is not a passive executor. It is an <strong>active mutator</strong>.</p><h3>Common sources:</h3><ul><li>Defaulting logic</li><li>Mutating Admission Webhooks</li><li>Server-side apply behavior</li><li>Control-plane reconciliation</li></ul><p>If Kubernetes changes an object in a way that is:</p><ul><li>Expected</li><li>Allowed</li><li>Normalized by ArgoCD</li></ul><p>Then from GitOps’ point of view: <em>Nothing happened.</em></p><p>This creates a gap between <strong>declared configuration</strong> and <strong>effective configuration</strong>.</p><h3>4. Autoscalers and “legitimate” divergence</h3><p>Horizontal Pod Autoscalers are a classic example.</p><p>When an HPA is present:</p><ul><li>spec.replicas is intentionally mutable</li><li>ArgoCD treats it as externally owned</li><li>Drift is suppressed by default</li></ul><p>Result:</p><ul><li>Git says 3 replicas</li><li>Cluster runs 9</li><li>ArgoCD shows <strong>Synced</strong></li></ul><p>This is not drift detection failure. It is <strong>explicit drift acceptance</strong>. The problem arises when teams forget that acceptance exists.</p><h3>5. External controllers and operators</h3><p>Any controller that:</p><ul><li>Watches Kubernetes objects</li><li>Mutates their fields</li><li>Does not express intent in Git</li></ul><p>Can introduce invisible divergence.</p><p>Examples:</p><ul><li>Operators adjusting resource requests</li><li>Security controllers injecting sidecars</li><li>Cost optimizers mutating limits</li><li>Policy engines rewriting specs</li></ul><p>As long as the mutation:</p><ul><li>Produces a valid object</li><li>Does not violate ArgoCD’s comparison rules</li></ul><p>The system drifts <strong>without detection</strong>.</p><h3>6. Semantic drift: same structure, different meaning</h3><p>This is one of the most dangerous categories.</p><p>Two manifests can be:</p><ul><li>Structurally identical</li><li>JSON-equal after normalization</li></ul><p>Yet:</p><ul><li>Behave differently</li><li>Perform differently</li><li>Fail differently</li></ul><p>Examples:</p><ul><li>Different container images behind the same tag</li><li>External dependencies changing behavior</li><li>Configuration read indirectly (ConfigMaps mounted as files and modified)</li></ul><p>ArgoCD cannot reason about <strong>meaning</strong> — only <strong>shape</strong>.</p><h3>7. Security drift is often invisible</h3><p>Many security-relevant changes do not surface as manifest diffs:</p><ul><li>Effective RBAC via aggregated roles</li><li>Access paths created indirectly</li><li>Privilege escalation through runtime behavior</li><li>Secrets accessed through unexpected vectors</li></ul><p>Git remains clean. ArgoCD remains green. The security posture quietly degrades.</p><h3>8. Why these blind spots exist (and always will)</h3><p>It is tempting to treat these limitations as gaps to “fix”. They are not.</p><p>ArgoCD cannot:</p><ul><li>Observe runtime without becoming an agent</li><li>Infer intent without human context</li><li>Track causality across controllers</li><li>Validate semantic correctness</li></ul><p>Solving these problems would require:</p><ul><li>Runtime instrumentation</li><li>Policy engines</li><li>Security tooling</li><li>Observability systems</li></ul><p>In other words: <strong>systems beyond GitOps</strong>.</p><h3>9. The dangerous assumption</h3><p>The most common failure mode is not technical. It is cognitive.</p><p><strong><em>“If ArgoCD is Synced, production matches Git.”</em></strong></p><p>What ArgoCD actually guarantees is far weaker:</p><p><strong><em>“The parts of the system that fit my comparison model match Git.”</em></strong></p><p>Everything else is <strong>out of scope</strong>.</p><h3>10. Why this sets up silent drift</h3><p>When:</p><ul><li>Drift is allowed</li><li>Drift is normalized</li><li>Drift is invisible</li></ul><p>You get <strong>silent drift</strong>:</p><ul><li>No alerts</li><li>No diffs</li><li>No corrective action</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5861a3fc8665" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[GitOps Internals (Part 1): How ArgoCD Actually Detects Drift]]></title>
            <link>https://medium.com/@pablojusue/gitops-internals-part-1-how-argocd-actually-detects-drift-df0dd71e7961?source=rss-f4d5108ad72c------2</link>
            <guid isPermaLink="false">https://medium.com/p/df0dd71e7961</guid>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[kubernetes-cluster]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[argo-cd]]></category>
            <dc:creator><![CDATA[Pablo jusue]]></dc:creator>
            <pubDate>Sat, 03 Jan 2026 17:25:16 GMT</pubDate>
            <atom:updated>2026-01-03T17:25:16.002Z</atom:updated>
            <content:encoded><![CDATA[<p>GitOps promises a clean mental model:</p><p><strong><em>Git is the source of truth. If the cluster diverges, we detect it and reconcile.</em></strong></p><p>That promise is <strong>conditionally true</strong>.</p><p>To understand when it holds — and when it doesn’t — we need to look at <strong>how ArgoCD actually detects drift internally</strong>. Not at the UX level. Not at the YAML level. But at the comparison model level.</p><p>This article focuses on one question only:</p><p><strong><em>What does “drift” technically mean for ArgoCD, and how is it computed?</em></strong></p><h3>1. Drift in ArgoCD is a comparison problem, not a philosophical one</h3><p>ArgoCD does <strong>not</strong> reason about intent, correctness, or behavior.</p><p>It performs a <strong>pure comparison</strong> between two data structures:</p><ul><li><strong>Desired state</strong> → manifests rendered from Git</li><li><strong>Live state</strong> → objects fetched from the Kubernetes API server</li></ul><p>If a difference is <strong>representable and comparable</strong>, it can be detected.<br>If not, it simply does not exist.</p><p>This constraint defines everything that follows.</p><h3>2. How ArgoCD builds the desired state</h3><p>ArgoCD never compares Git directly to the cluster.</p><p>Instead, it executes a rendering pipeline:</p><pre>Git repository<br>  ↓<br>Manifest generation (Helm / Kustomize / Jsonnet / raw YAML)<br>  ↓<br>Fully rendered Kubernetes manifests</pre><p>Important characteristics of this step:</p><ul><li>Rendering is <strong>client-side</strong></li><li>There is <strong>no runtime cluster context</strong></li><li>The output is <strong>static YAML</strong></li><li>Dynamic behavior is already lost at this point</li></ul><p>Once manifests are rendered, <strong>GitOps ends</strong> as far as ArgoCD is concerned.</p><p>Anything that happens after rendering is outside the desired state model.</p><h3>3. How ArgoCD observes the live state</h3><p>To compute drift, ArgoCD queries the Kubernetes API server and retrieves:</p><ul><li>The live resource definition (spec, metadata, etc.)</li><li>As returned by the control plane</li><li>After admission controllers, defaults, and mutations</li></ul><p>This is already a transformed view of reality.</p><p>ArgoCD does <strong>not</strong> see:</p><ul><li>The original applied YAML</li><li>The user intent</li><li>The execution context</li></ul><p>It only sees the <strong>post-processed object</strong> as Kubernetes exposes it.</p><h3>4. The normalization step (where expectations silently break)</h3><p>Before comparison, ArgoCD <strong>normalizes both states</strong>.</p><p>This is critical and often misunderstood.</p><p>By default, ArgoCD ignores:</p><ul><li>The entire status field</li><li>Fields defaulted by Kubernetes</li><li>Fields mutated by admission controllers</li><li>Server-side generated values</li></ul><p>This is intentional. Without normalization, almost everything would appear out of sync.</p><p>However, normalization has a side effect:</p><p><strong><em>Two objects can behave differently at runtime while still comparing as equal.</em></strong></p><p>From ArgoCD’s perspective, that is <em>not drift</em>.</p><h3>5. How the diff is actually computed</h3><p>At its core, ArgoCD performs:</p><ul><li>A <strong>field-level structural diff</strong></li><li>Based on normalized JSON representations</li><li>With optional custom ignore rules (ignoreDifferences)</li></ul><p>Possible outcomes:</p><ul><li><strong>Synced</strong></li><li><strong>OutOfSync</strong></li><li><strong>Unknown</strong> (often due to partial visibility or permission issues)</li></ul><p>What ArgoCD does <em>not</em> do:</p><ul><li>Semantic analysis</li><li>Behavioral inference</li><li>Runtime validation</li></ul><p>It compares shapes, not meaning.</p><h3>6. A precise definition of “drift” in ArgoCD terms</h3><p>Putting it all together:</p><p><strong><em>Drift is a detectable structural difference between the rendered desired manifests and the normalized live objects returned by the Kubernetes API.</em></strong></p><p>Nothing more.<br>Nothing less.</p><p>This definition is narrow by design — and dangerous if misunderstood.</p><h3>7. Why this matters before we even talk about failures</h3><p>Many GitOps issues are not bugs.<br> They are <strong>category errors</strong>.</p><p>Teams assume ArgoCD:</p><ul><li>Understands intent</li><li>Observes runtime</li><li>Detects semantic divergence</li></ul><p>It does none of these.</p><p>In Part 2, we will look at <strong>everything that falls outside this model</strong>:</p><ul><li>What ArgoCD fundamentally cannot detect</li><li>Why those blind spots exist</li><li>And why they matter in real systems</li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=df0dd71e7961" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Hidden Costs of Running AI Workloads on Kubernetes]]></title>
            <link>https://medium.com/@pablojusue/the-hidden-costs-of-running-ai-workloads-on-kubernetes-f29887cda824?source=rss-f4d5108ad72c------2</link>
            <guid isPermaLink="false">https://medium.com/p/f29887cda824</guid>
            <category><![CDATA[mlops]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[artificial-intelligence]]></category>
            <dc:creator><![CDATA[Pablo jusue]]></dc:creator>
            <pubDate>Thu, 01 Jan 2026 10:11:31 GMT</pubDate>
            <atom:updated>2026-01-01T10:11:31.476Z</atom:updated>
            <content:encoded><![CDATA[<h3><em>Why GPUs, autoscaling, and “cloud-native” abstractions don’t behave the way you expect</em></h3><p>Kubernetes has earned its reputation as the default orchestration layer for modern infrastructure. It scales, self-heals, abstracts machines away, and works remarkably well for stateless web services.</p><p>That success has led many teams to assume a simple rule:</p><p><strong>If Kubernetes can run web apps at scale, it can surely run AI workloads.</strong></p><p>Technically, that’s true. Practically, the costs — financial, operational, and cognitive — are far higher than most teams anticipate.</p><p>This is not an argument against Kubernetes. It’s an argument against treating AI workloads as if they were just another HTTP service.</p><h3>The Promise Everyone Buys Into</h3><p>The pitch is compelling:</p><ul><li>Containerize the model</li><li>Add GPUs to the cluster</li><li>Let autoscaling handle demand</li><li>Reuse existing observability and CI/CD</li></ul><p>On paper, it looks elegant. In reality, AI workloads expose cracks in Kubernetes’ abstractions that are easy to ignore — until they start showing up on your cloud bill or in your on-call rotation.</p><h3>Cost #1: GPU Utilization Is Terrible by Default</h3><p>Kubernetes schedules GPUs at the Pod level. Once a Pod requests a GPU, that GPU is exclusively allocated, regardless of how little the model actually uses it.</p><p>This leads to a few uncomfortable realities:</p><ul><li>A mostly idle GPU still costs 100%</li><li>Inference workloads are often bursty, not constant</li><li>Fragmentation makes “free” capacity unusable</li></ul><p>Time-slicing and MIG help, but they don’t solve the core problem: Kubernetes is great at packing CPUs and memory, but GPUs amortize poorly unless workloads are carefully shaped around them.</p><p>A 90% idle GPU is still fully billed.</p><h3>Cost #2: Memory Pressure Kills Pods, Not Models</h3><p>AI models don’t behave like typical application processes. Model weights are large, expensive to load, and often dominate memory usage.</p><p>When memory pressure hits:</p><ul><li>Kubernetes kills the Pod</li><li>The model reloads from disk or object storage</li><li>Cold starts jump from seconds to minutes</li></ul><p>OOM events are not graceful degradation. They are full resets of expensive state.</p><p>Kubernetes restarts Pods, not intelligence — and the distinction matters when your “application” is a multi-gigabyte artifact.</p><h3>Cost #3: Autoscaling Lies for AI Workloads</h3><p>Horizontal Pod Autoscalers are designed around metrics like CPU utilization or request rate. AI workloads don’t scale that way.</p><p>What actually matters is:</p><ul><li>Queue depth</li><li>Tokens per second</li><li>Model-specific latency curves</li><li>Warm capacity vs cold capacity</li></ul><p>A model can be CPU-idle and still overloaded. It can also be “healthy” while latency quietly explodes.</p><p>AI scaling is queue-driven, not metric-driven, and Kubernetes doesn’t understand queues unless you teach it how.</p><h3>Cost #4: Observability Stops Where Tokens Begin</h3><p>Traditional observability tools answer questions like:</p><ul><li>Is the service up?</li><li>What’s the latency?</li><li>Are error rates increasing?</li></ul><p>AI workloads need different answers:</p><ul><li>Which model version handled this request?</li><li>How many tokens did it consume?</li><li>Which prompt pattern caused the spike?</li><li>What was the cost of this single request?</li></ul><p>Without token-level attribution, optimization becomes guesswork. You can see infrastructure metrics, but not economic ones.</p><p>You can’t optimize what you can’t attribute.</p><h3>Cost #5: Operational Complexity Becomes the Product</h3><p>As AI workloads mature, infrastructure decisions start leaking into model design:</p><ul><li>CUDA and driver compatibility dictate deployment patterns</li><li>Node pools become model-specific</li><li>Rollouts are constrained by GPU availability, not YAML</li><li>Platform teams end up defining the ML runtime</li></ul><p>At that point, Kubernetes is no longer just orchestration. It becomes part of the ML system itself.</p><p>At scale, your platform team becomes your ML runtime.</p><h3>When Kubernetes Does Make Sense</h3><p>Despite all this, Kubernetes can be the right choice when:</p><ul><li>You need multi-tenant inference</li><li>You have strong platform engineering maturity</li><li>Portability matters more than simplicity</li><li>You invest in queue-aware scaling and custom schedulers</li></ul><p>Kubernetes isn’t broken. It’s just honest about what it optimizes for — and AI workloads fall outside its original design center.</p><h3>Closing Thoughts</h3><p>Kubernetes excels at running stateless services that scale horizontally and fail cheaply.</p><p>AI workloads are state-heavy, resource-constrained, and economically sensitive. Kubernetes isn’t the problem. Pretending AI workloads behave like web services is.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f29887cda824" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Token-Level Execution Traces: Debugging LLM Agents by Inspecting Their Stepwise Computational…]]></title>
            <link>https://medium.com/@pablojusue/token-level-execution-traces-debugging-llm-agents-by-inspecting-their-stepwise-computational-c14beef0dfba?source=rss-f4d5108ad72c------2</link>
            <guid isPermaLink="false">https://medium.com/p/c14beef0dfba</guid>
            <category><![CDATA[token]]></category>
            <category><![CDATA[machine-learning-ai]]></category>
            <category><![CDATA[ai]]></category>
            <category><![CDATA[machine-learning]]></category>
            <category><![CDATA[tokenization]]></category>
            <dc:creator><![CDATA[Pablo jusue]]></dc:creator>
            <pubDate>Wed, 26 Nov 2025 19:23:13 GMT</pubDate>
            <atom:updated>2025-11-26T19:23:13.818Z</atom:updated>
            <content:encoded><![CDATA[<h3>Token-Level Execution Traces: Debugging LLM Agents by Inspecting Their Stepwise Computational Graphs</h3><p>Large Language Models have evolved from text generators into powerful <em>agents</em> capable of planning, tool use, and multi-step reasoning. But while their abilities have grown, our visibility into <em>how</em> they reach decisions has barely improved.</p><p>Most LLM agent frameworks provide high-level logs: prompts in, responses out. But when an agent fails — which it will, often — these logs offer little insight into <em>why</em> the system made a wrong assumption, chose the wrong tool, or hallucinated a nonexistent API.</p><p>This is where <strong>token-level execution traces</strong> come in. They transform an LLM from a black-box text generator into something closer to a <em>debuggable computation graph</em>.</p><p>In this post, we’ll explore what token-level traces are, why they matter, and how they unlock a new generation of debuggable AI agents.</p><h3>Why Debugging Agents Is Still Primitive</h3><p>Traditional debugging relies on deterministic control flow:</p><ul><li>stepping through lines of code</li><li>adding breakpoints</li><li>inspecting variable values</li></ul><p>LLM agents don’t have any of this.</p><p>Instead, you get:</p><ul><li>a long prompt</li><li>an LLM output that represents reasoning, observation, and action mixed together</li><li>and maybe a final “plan”</li></ul><p>If something breaks, you’re left guessing where the chain of thought derailed.</p><p>Example: An agent calls a function with the wrong parameter. Was the confusion due to:</p><ul><li>incorrect schema understanding?</li><li>an earlier misinterpretation?</li><li>a hallucinated rule?</li><li>a failed memory lookup?</li><li>or a token-level bias caused by sampling?</li></ul><p>You just don’t know.</p><p>Token-level traces fix this incompleteness.</p><h3>What Are Token-Level Execution Traces?</h3><p>A <strong>token-level execution trace</strong> is a structured representation of how the model’s logits evolve at each generation step.</p><p>Think of it as:</p><p><strong>A time-series of the model’s internal computation, showing what it “considered,” “almost chose,” or “rejected” at each token.</strong></p><p>A typical trace may include:</p><ul><li><strong>logits for top-k candidate tokens</strong></li><li><strong>probability distributions over next-token options</strong></li><li><strong>attention maps showing what parts of the context influenced a token</strong></li><li><strong>intermediate hidden states or activations</strong></li><li><strong>tool-choice probabilities</strong> (for agent frameworks)</li><li><strong>a commit log of reasoning steps</strong></li></ul><p>This converts the model’s reasoning path from a string of characters into a <strong>computational graph</strong>, where each node is a token and each edge is the causal chain connecting them.</p><h3>Why Does This Matter?</h3><h3>1. You can see where an agent “branches” internally</h3><p>A model might consider:</p><pre>next_action: call(find_user)<br>next_action: call(search_user)<br>next_action: explain_error</pre><p>Even if only one appears in the final output, the trace reveals all three were close contenders — and <em>how close</em>.</p><h3>2. You can identify hallucination points early</h3><p>Most hallucinations aren’t sudden — they build up token by token.</p><p>A trace shows that at step 17, the model started drifting toward an incorrect assumption, long before it manifests in the final answer.</p><h3>3. You can spot failures in tool reasoning</h3><p>If your agent uses tools (APIs, functions, scripts), traces help answer:</p><ul><li>Did the model understand the schema?</li><li>Was the wrong tool chosen because of ambiguous naming?</li><li>Was the correct tool almost selected but suppressed by sampling?</li></ul><h3>4. You can compare “good runs” vs “bad runs”</h3><p>Running the agent twice under the same conditions but with slightly different seeds reveals:</p><ul><li>divergence points</li><li>sensitive tokens</li><li>unstable reasoning paths</li></ul><p>This is the first step toward <strong>stability optimization</strong> for agents.</p><h3>Token Traces as Computational Graphs</h3><p>Here’s where things get interesting.</p><p>If you treat token generation as a graph:</p><ul><li><strong>nodes</strong> = tokens</li><li><strong>edges</strong> = dependencies encoded by attention</li><li><strong>paths</strong> = reasoning chains inside the model</li></ul><p>You can turn an LLM run into something like a <strong>differentiable thought graph</strong>.</p><p>This opens the door to:</p><ul><li><strong>automatic anomaly detection</strong> (detecting when attention spikes or distributions collapse)</li><li><strong>agent-level linting</strong> (“you’re about to choose an API parameter the schema does not define”)</li><li><strong>gradient-free optimization</strong> of prompts or instructions</li><li><strong>visual reasoning maps</strong> that resemble neural attention in vision models</li></ul><p>This is reasoning <em>you can debug</em>, inspect, version, and compare.</p><h3>Real-World Use Cases</h3><h3>1. Evaluating new agent frameworks</h3><p>When frameworks like ReAct, ToT, or agentic LLMs fail, token-level traces reveal:</p><ul><li>whether the issue lies in prompting</li><li>or in model sampling</li><li>or in tool schema mismatch</li></ul><h3>2. Testing new LLM releases</h3><p>Model providers ship updates — sometimes breaking your agents.</p><p>Traces allow:</p><ul><li>before/after comparisons</li><li>regression detection</li><li>spotting newly unstable reasoning patterns</li></ul><h3>3. Optimizing instruction schemas</h3><p>You can observe how particular words bias token selection, down to the logit.</p><blockquote>Example insight: <em>Replacing “use the best tool” with<br> “choose a single function call”<br> reduces branching entropy by 30%.</em></blockquote><p>This is gold when designing robust agents.</p><h3>Challenges: Why Isn’t Everyone Using Token Traces?</h3><ol><li><strong>They’re computationally expensive</strong><br> Extracting logits, attention maps, and hidden states multiplies inference cost.</li><li><strong>They generate huge data</strong><br> A single run can produce megabytes of tokens + metadata.</li><li><strong>Few frameworks support them natively</strong><br> Most APIs only expose final text, not intermediate activations.</li><li><strong>Interpreting them requires tooling</strong><br> Raw traces are unreadable without visualization layers.</li></ol><p>But the advantages are pushing the ecosystem toward more trace-aware execution systems — especially for agent debugging.</p><h3>The Future: LLM Runs as Debbugable Programs</h3><p>As agents become more autonomous, we’ll need:</p><ul><li>deterministic replay</li><li>breakpoints for reasoning</li><li>token-level profiling</li><li>stepwise causal analysis</li></ul><p>Token-level execution traces offer the foundation for this.</p><p>In the near future, we may see:</p><ul><li><strong>“LLM debuggers”</strong> similar to gdb</li><li><strong>IDE plugins for inspecting token graphs</strong></li><li><strong>assertions inside prompts</strong> (“the model must not call a tool unless…”)</li><li><strong>training-time trace supervision</strong> to guide more stable reasoning</li></ul><p>When reasoning becomes inspectable, agents become reliable.</p><h3>Conclusion</h3><p>Token-level execution traces turn opaque LLM decisions into transparent, inspectable computations. For anyone building autonomous agents — whether for code generation, infrastructure automation, workflow orchestration, or API chaining — this tooling is going to be indispensable.</p><p>We’re moving from:</p><p><strong>black-box outputs → explainable token pathways → debuggable agent cognition</strong></p><p>And that shift will define the next generation of agent frameworks.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c14beef0dfba" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Goodbye to the Mandatory NLB: How VPC Link v2 Simplifies Private Integrations Between Amazon API…]]></title>
            <link>https://medium.com/@pablojusue/goodbye-to-the-mandatory-nlb-how-vpc-link-v2-simplifies-private-integrations-between-amazon-api-1395b2c23ca9?source=rss-f4d5108ad72c------2</link>
            <guid isPermaLink="false">https://medium.com/p/1395b2c23ca9</guid>
            <dc:creator><![CDATA[Pablo jusue]]></dc:creator>
            <pubDate>Sun, 23 Nov 2025 11:43:12 GMT</pubDate>
            <atom:updated>2025-11-23T11:43:52.034Z</atom:updated>
            <content:encoded><![CDATA[<h3>Goodbye to the Mandatory NLB: How VPC Link v2 Simplifies Private Integrations Between Amazon API Gateway and ALB</h3><p>For years, when connecting Amazon API Gateway to private backends inside a VPC, architects typically had to deploy a Network Load Balancer (NLB) in front of an Application Load Balancer (ALB). This was especially true for REST APIs, since the original VPC Link only supported NLB targets. As a result, even if your workloads were already behind an ALB, you were forced to insert an additional NLB purely as a compatibility layer.</p><p>With the introduction of VPC Link v2 — particularly for HTTP APIs — this architectural burden can finally be removed. API Gateway can now connect directly to private ALBs, reducing cost, latency, operational overhead, and architectural complexity.</p><p>This article explains what changed, how VPC Link v2 works, and why this matters for modern API-driven architectures.</p><h3>What VPC Link v2 Changes</h3><p>VPC Link v2 supports direct integration with Application Load Balancers. Before VPC Link v2, the required architecture looked like this:</p><pre>API Gateway → VPC Link → NLB → ALB → Service</pre><p>With VPC Link v2, it becomes:</p><pre>API Gateway → VPC Link v2 → ALB → Service</pre><p>This single change eliminates an entire layer of infrastructure. Instead of maintaining, monitoring, scaling, and paying for an NLB solely to satisfy API Gateway’s old requirements, teams can now route traffic directly to the ALB they were already using as the entry point for their microservices.</p><h3>Key Advantages</h3><h3>1. Simplified Architecture</h3><p>Removing the NLB means fewer components to manage. Infrastructure-as-code templates shrink, operational surface area decreases, and troubleshooting becomes easier. For organizations with multiple microservices, the cumulative reduction in moving parts can be significant.</p><h3>2. Lower Cost</h3><p>NLBs introduce hourly charges and cost units for processing traffic. When an NLB exists only to satisfy VPC Link limitations, those costs are effectively wasted. Direct ALB integration eliminates that expense entirely.</p><p>In addition, VPC Link v2 supports a one-to-many relationship with multiple load balancers. This means a single VPC Link v2 can route to multiple private ALBs, reducing the number of links required across an environment.</p><h3>3. Reduced Latency</h3><p>Every hop in a network path introduces overhead. Removing the NLB eliminates an extra network transition and reduces total request latency. For high-traffic services or low-latency workloads, this improvement can be meaningful.</p><h3>4. Better Alignment With ALB Capabilities</h3><p>Most modern microservices architectures depend heavily on ALB features such as:</p><ul><li>Path-based routing</li><li>Host-based routing</li><li>Authentication</li><li>WebSocket and HTTP/2 support</li><li>Advanced health checks</li></ul><p>VPC Link v2 lets API Gateway take advantage of these capabilities directly rather than being constrained by NLB’s more limited feature set.</p><h3>Practical Architecture Use Cases</h3><h3>Microservices Behind Multiple ALBs</h3><p>When each team or domain owns its own ALB, a single VPC Link v2 can integrate an HTTP API with many backend ALBs. The API Gateway routes traffic based on path or domain rules, while each ALB routes to its own service mesh or set of microservices.</p><h3>Private Backends With No Public Exposure</h3><p>Organizations that keep ALBs internal-only can now expose private APIs without making the ALB internet-facing or inserting an unnecessary NLB for integration. This results in a cleaner, more secure architecture.</p><h3>Migration from REST APIs to HTTP APIs</h3><p>Because REST APIs continue to require NLB-backed VPC Links, many teams are migrating to HTTP APIs to benefit from:</p><ul><li>Lower cost</li><li>Simpler integrations</li><li>Native ALB support</li><li>VPC Link v2 capabilities</li></ul><p>In many cases, the migration reduces both infrastructure complexity and ongoing operational cost.</p><h3>When You Should Still Use an NLB</h3><p>Although VPC Link v2 removes the need for an NLB in most cases, there are scenarios where an NLB may still be the right choice:</p><ul><li>You are using legacy REST APIs in API Gateway that do not support ALB integration.</li><li>You need TLS pass-through or very low-level TCP/UDP capabilities that ALB or HTTP APIs do not support.</li><li>You cannot yet migrate to HTTP APIs due to feature parity requirements, custom authorizers, or legacy integrations.</li></ul><p>For most modern architectures, however, the ALB-only model is now preferred.</p><p>VPC Link v2 represents a meaningful step forward in simplifying AWS private API architectures. By allowing direct ALB integration, AWS has aligned API Gateway with the most common load balancing pattern used in modern microservices environments. The result is a more streamlined, cost-effective, and operationally efficient approach to building private APIs at scale.</p><p>If your architecture still includes an NLB purely to satisfy old VPC Link limitations, now is the time to revisit and modernize that pattern.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1395b2c23ca9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why AWS CodePipeline, CodeBuild and the Code* Ecosystem Will Never Dominate the CI/CD Market]]></title>
            <link>https://medium.com/@pablojusue/why-aws-codepipeline-codebuild-and-the-code-ecosystem-will-never-dominate-the-ci-cd-market-3a4c186e74be?source=rss-f4d5108ad72c------2</link>
            <guid isPermaLink="false">https://medium.com/p/3a4c186e74be</guid>
            <dc:creator><![CDATA[Pablo jusue]]></dc:creator>
            <pubDate>Fri, 21 Nov 2025 18:38:47 GMT</pubDate>
            <atom:updated>2025-11-21T18:38:47.270Z</atom:updated>
            <content:encoded><![CDATA[<p>For years, AWS has attempted to compete in the CI/CD space with tools like CodePipeline, CodeBuild, CodeDeploy and more recently CodeCatalyst. On paper, these services appear attractive: native integration with AWS, pay-as-you-go pricing, and scalable infrastructure without needing to manage servers.</p><p>In practice, however, these tools will never become the dominant choice for modern software teams. Their design conflicts with how engineering organizations actually build, test and deploy software today.</p><p>Below are the core reasons why AWS’s CI/CD suite will not gain mainstream adoption.</p><h3>1. They are tied to AWS, while the market is increasingly multi-cloud and hybrid</h3><p>Very few companies live exclusively inside AWS. Most organizations run hybrid infrastructures, maintain on-premise systems, integrate with external SaaS tools, or operate across multiple cloud vendors.</p><p>Tools like Jenkins, GitHub Actions, GitLab CI, or CircleCI work consistently across AWS, GCP, Azure, on-premise infrastructure, and container-based runners.</p><p>In contrast:</p><ul><li>CodePipeline is built solely for AWS resources</li><li>CodeBuild runs entirely inside AWS</li><li>CodeDeploy depends heavily on AWS-native constructs</li></ul><p>In a world where portability and flexibility are strategic priorities, CI/CD tools that only function inside a single cloud provider introduce unnecessary constraints.</p><h3>2. The developer experience is slow and outdated</h3><p>Using CodePipeline or CodeBuild often feels like working with tooling designed a decade ago. The workflow is slower and less intuitive than what modern CI/CD systems provide.</p><p>Common complaints include:</p><ul><li>Slow, cumbersome interfaces</li><li>Logs that are difficult to search and parse</li><li>Debugging pipelines that takes far too long</li><li>Configuration spread across different AWS services</li><li>Limited local testing and poor feedback loops</li></ul><p>By comparison, platforms like GitHub Actions or GitLab CI offer fast iteration and clear, centralized configuration. Developers consistently choose tools that reduce friction, not increase it.</p><h3>3. AWS’s CI/CD tools lack a real ecosystem</h3><p>A healthy CI/CD platform thrives on community contributions: plugins, templates, integrations and shared best practices.</p><p>Jenkins has thousands of plugins.<br> GitHub Actions has a massive marketplace supported by the entire industry.<br> GitLab CI includes extensive templates and reusable components.</p><p>CodePipeline, CodeBuild, and their siblings have almost no ecosystem. Integrations with common tools — Sentry, SonarQube, Datadog, Slack, LaunchDarkly, and many others — are limited or require custom scripts and manual wiring.</p><p>A CI/CD product without a strong community and marketplace is at a permanent disadvantage.</p><h3>4. Vendor lock-in is a strategic red flag</h3><p>AWS’s value proposition is “everything is already inside the platform.” But when it comes to CI/CD, this becomes a liability.</p><p>Once a team commits to CodePipeline or CodeBuild, migrating away becomes expensive and time-consuming. Companies have learned hard lessons from migrating off other tightly coupled AWS services, and they avoid repeating the mistake for something as central as their deployment pipeline.</p><p>Organizations prefer CI/CD solutions that are declarative, version-controlled, reproducible and portable across environments.</p><h3>5. GitHub and GitLab already own the developer workflow</h3><p>Modern development begins with the version control platform. GitHub and GitLab have successfully merged source control, code review, automation, CI/CD and deployment workflows into a single experience.</p><p>Teams increasingly expect CI/CD to be part of the same platform where they review pull requests, comment on code, manage issues, and trigger releases.</p><p>AWS cannot compete on this front because CodePipeline and CodeBuild are external to the developer’s daily workflow. They require context switching, AWS-specific knowledge, and additional configuration steps that feel disconnected from the code lifecycle.</p><p>When the CI/CD system is not integrated into the core development platform, it becomes an afterthought — not the default choice.</p><h3>6. The industry has already standardized around better-designed tools</h3><p>The CI/CD market has matured. GitHub Actions, GitLab CI, CircleCI, Jenkins, and even Bitbucket Pipelines have established standards, YAML-based pipelines, and broad industry adoption.</p><p>Meanwhile, AWS’s tools remain fragmented, tied to proprietary AWS concepts, and lacking the polish and flexibility that teams expect.</p><p>AWS excels at infrastructure, databases, networking, and scalable computing. CI/CD is simply not where they shine, and the industry has moved forward without them.</p><h3>Conclusion</h3><p>AWS CodePipeline, CodeBuild, and related services will continue to exist as niche solutions for teams fully committed to AWS and willing to tolerate their limitations. But they will not dominate the CI/CD market.</p><p>The industry has already standardized around tools that are:</p><ul><li>Portable</li><li>Cloud-agnostic</li><li>Tightly integrated with development workflows</li><li>Supported by strong ecosystems</li><li>Significantly easier to use</li></ul><p>AWS has built world-class infrastructure, but when it comes to CI/CD, developers have spoken — and they prefer tools that give them flexibility, simplicity and control.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3a4c186e74be" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[Why Ingress-NGINX is being retired (and what you should do)]]></title>
            <link>https://medium.com/@pablojusue/why-ingress-nginx-is-being-retired-and-what-you-should-do-1a94f2d2dcb2?source=rss-f4d5108ad72c------2</link>
            <guid isPermaLink="false">https://medium.com/p/1a94f2d2dcb2</guid>
            <dc:creator><![CDATA[Pablo jusue]]></dc:creator>
            <pubDate>Fri, 14 Nov 2025 11:25:27 GMT</pubDate>
            <atom:updated>2025-11-14T11:25:27.512Z</atom:updated>
            <content:encoded><![CDATA[<h3>Introduction</h3><p>If you’re running services on a Kubernetes cluster and using Ingress for north-south (external) traffic, you’ve almost certainly used Ingress NGINX. It’s been a reliable workhorse for many years. However, on <strong>11 November 2025</strong>, the <a href="https://kubernetes.io/blog/2025/11/11/ingress-nginx-retirement/">Kubernetes community announced that Ingress-NGINX will be retired</a>, with best-effort maintenance continuing only until March 2026. <br> In this post we’ll cover:</p><ol><li>Why this retirement decision was made (the deadline reasons)</li><li>What’s the alternative (Gateway API)</li><li>A migration plan: how you can move from Ingress-NGINX to Gateway API in your clusters.</li></ol><h3>1. Why Ingress-NGINX Is Being Retired</h3><h3>Technical debt &amp; maintenance challenges</h3><p>Ingress-NGINX was created early in the Kubernetes ecosystem to implement the Ingress API. Over the years, it grew into a massive project with complex features, hundreds of annotations, and many switches. Much of this complexity became <strong>technical debt</strong>, making the controller increasingly difficult to maintain.</p><p>The project had <strong>very few active maintainers</strong>, and sustaining the pace of development, feature requests, and security patches became unrealistic.</p><h3>Security concerns</h3><p>Because Ingress-NGINX is so widely deployed, any unresolved vulnerability poses ecosystem-level risk. Some of its “advanced features” — such as configuration snippet injection — created serious security concerns that couldn’t be addressed without major architectural changes.</p><p>After March 2026, <strong>no security fixes</strong> will be issued. Running it beyond that point introduces real operational risk.</p><h3>The strategic shift to Gateway API</h3><p>Kubernetes networking has evolved. Modern use cases — multi-tenant routing, advanced traffic control, better separation of responsibilities, and protocol flexibility — outgrew the old Ingress model.</p><p>The community’s recommended path is now the <strong>Gateway API</strong>, which provides:</p><ul><li>A more expressive and flexible API</li><li>A standard model across multiple vendors</li><li>Cleaner abstractions for operators vs. application developers</li><li>A long-term evolution path for Kubernetes networking</li></ul><h3>Why March 2026?</h3><p>The cutoff provides time for users to migrate while giving maintainers a predictable endpoint. After that, the project will become read-only and completely unsupported.</p><h3>2. What Is the Gateway API (and Why Migrate)?</h3><h3>What the Gateway API provides</h3><p>The Gateway API introduces new resource types that are more structured and powerful than the old Ingress API:</p><ul><li><strong>GatewayClass</strong> — specifies the type of load balancer or controller implementation</li><li><strong>Gateway</strong> — defines how external traffic enters the cluster</li><li><strong>HTTPRoute / GRPCRoute / TCPRoute / UDPRoute</strong> — define routing rules for different protocols</li><li><strong>Policies</strong> — attach routing or security rules in a more modular way</li></ul><h3>Why it’s a better long-term solution</h3><ul><li><strong>Role separation</strong>: infra teams manage Gateways, dev teams manage Routes</li><li><strong>Fewer annotations, more real API fields</strong></li><li><strong>Better portability across cloud and on-prem</strong></li><li><strong>Advanced routing natively supported</strong></li><li><strong>Extensible and future-proof</strong></li></ul><p>Switching to Gateway API aligns your cluster with the direction Kubernetes networking is heading.</p><h3>3. How to Migrate From Ingress-NGINX to Gateway API</h3><h3>Step 0: Inventory your current setup</h3><p>Start by identifying everything that currently uses Ingress-NGINX:</p><pre>kubectl get ingress --all-namespaces<br>kubectl get pods --all-namespaces -l app.kubernetes.io/name=ingress-nginx</pre><p>Document:</p><ul><li>All routes, hosts, and TLS configurations</li><li>Any custom annotations</li><li>Traffic patterns and dependencies</li></ul><h3>Step 1: Choose a Gateway API implementation</h3><p>There are multiple Gateway API controllers available (cloud-provider-specific and open source). Choose one that:</p><ul><li>Is supported for your environment</li><li>Meets your performance and operational requirements</li><li>Has features matching your current Ingress-NGINX setup</li></ul><h3>Step 2: Install Gateway API CRDs and your chosen controller</h3><p>Install the Gateway API CRDs and the controller. Once installed, verify that the new resource types exist:</p><pre>kubectl get gatewayclass<br>kubectl get gateway<br>kubectl get httproute</pre><h3>Step 3: Create a test Gateway and Route</h3><p>Start simple. For example:</p><p><strong>GatewayClass</strong></p><pre>apiVersion: gateway.networking.k8s.io/v1<br>kind: GatewayClass<br>metadata:<br>  name: example-class<br>spec:<br>  controllerName: example.com/gateway-controller</pre><p><strong>Gateway</strong></p><pre>apiVersion: gateway.networking.k8s.io/v1<br>kind: Gateway<br>metadata:<br>  name: example-gateway<br>  namespace: networking-infra<br>spec:<br>  gatewayClassName: example-class<br>  listeners:<br>    - name: http<br>      protocol: HTTP<br>      port: 80</pre><p><strong>HTTPRoute</strong></p><pre>apiVersion: gateway.networking.k8s.io/v1<br>kind: HTTPRoute<br>metadata:<br>  name: test-route<br>  namespace: myapp<br>spec:<br>  parentRefs:<br>    - namespace: networking-infra<br>      name: example-gateway<br>  rules:<br>    - matches:<br>        - path:<br>            type: Prefix<br>            value: /test<br>      backendRefs:<br>        - name: my-service<br>          port: 80</pre><p>Validate that routing works as expected.</p><h3>Step 4: Map each Ingress to Gateway API resources</h3><p>Convert Ingress rules into Gateway + HTTPRoute definitions. Key mappings:</p><p>Ingress ConceptGateway API EquivalentHosts &amp; pathsHTTPRoute matchesTLSGateway listener TLSBackend servicebackendRefs in HTTPRouteIngressClassGatewayClassAnnotationsNative fields or policies</p><h3>Step 5: Run Ingress and Gateway side-by-side</h3><p>Use a phased rollout:</p><ol><li>Move low-risk apps first</li><li>Validate behavior and metrics</li><li>Gradually move all apps</li><li>Keep rollback options ready</li></ol><p>This approach ensures a safe migration without downtime.</p><h3>Step 6: Remove Ingress-NGINX components</h3><p>After your entire workload is migrated:</p><ul><li>Remove the Ingress-NGINX controller deployment</li><li>Remove old Ingress resources</li><li>Update documentation, dashboards and alerts</li><li>Confirm traffic is fully flowing through your Gateway</li></ul><h3>Step 7: Fully deprecate and move forward</h3><p>By March 2026, Ingress-NGINX will no longer receive patches. Once you’re on Gateway API, take advantage of its newer features:</p><ul><li>Weighted routing</li><li>Header matching</li><li>Path rewrites</li><li>Multi-listener routing</li><li>Cross-namespace policies</li></ul><h3>4. Key Takeaways</h3><ul><li>Ingress-NGINX is being retired due to technical debt, limited maintainership, and increasing security risks.</li><li>After March 2026, it will no longer receive updates or security patches.</li><li>The Kubernetes community strongly recommends migrating to the Gateway API.</li><li>Gateway API provides clearer abstractions, better features, and long-term support.</li><li>Migration should be phased: inventory → test → convert → cut over → clean up.</li></ul><h3>Final Thoughts</h3><p>The retirement of Ingress-NGINX represents a natural evolution of Kubernetes networking. By adopting Gateway API now, you’re aligning your infrastructure with modern patterns and ensuring long-term stability and security.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=1a94f2d2dcb2" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>