<?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 Venkat Kapisetti on Medium]]></title>
        <description><![CDATA[Stories by Venkat Kapisetti on Medium]]></description>
        <link>https://medium.com/@venkatkapisetti?source=rss-cca098fe9054------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/0*2gYmpcXgIYEONCX_</url>
            <title>Stories by Venkat Kapisetti on Medium</title>
            <link>https://medium.com/@venkatkapisetti?source=rss-cca098fe9054------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Sat, 28 Nov 2026 22:45:16 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@venkatkapisetti/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[Major SSL/TLS Change Coming: 47-Day Certificates by 2029 ]]></title>
            <link>https://venkatkapisetti.medium.com/major-ssl-tls-change-coming-47-day-certificates-by-2029-9b4f27969f6e?source=rss-cca098fe9054------2</link>
            <guid isPermaLink="false">https://medium.com/p/9b4f27969f6e</guid>
            <dc:creator><![CDATA[Venkat Kapisetti]]></dc:creator>
            <pubDate>Sun, 18 Jan 2026 12:23:08 GMT</pubDate>
            <atom:updated>2026-01-18T12:23:08.152Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Big changes are coming for SSL/TLS certificate validity.</strong><br> The CA/Browser Forum has approved <strong>Ballot SC-081v3</strong>, which will <strong>shorten certificate lifespans</strong> from <strong>398 days → 47 days</strong> by <strong>2029</strong>.</p><p>This means <strong>manual certificate management is no longer viable</strong> — automation will be essential.</p><h3>🧭 TL;DR</h3><ul><li>✅ Certificates will expire <strong>faster</strong> (398 → 200 → 100 → 47 days)</li><li>⚙️ <strong>Automation</strong> is the only way to keep up</li><li>🔑 <strong>DCV reuse</strong> periods will also shrink (398 → 10 days)</li><li>📅 You must prepare <strong>before March 15, 2026</strong></li></ul><h3>📊 The Certificate Validity Timeline</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/753/1*v6s5Y8UKyMfIPJXdJnYiow.png" /></figure><h3>🧩 Visual Timeline</h3><p>Here’s a visual summary of the validity changes and automation roadmap</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*MAIj8wuLreOT3thsTyKIJA.png" /></figure><h3>⚙️ What Ballot SC-081v3 Changes</h3><p><strong>Approved:</strong> April 11, 2025<br> <strong>Proposed by:</strong> Apple<br> <strong>Supported by:</strong> Chrome, Safari, Edge, Firefox</p><h3>Key updates:</h3><ul><li>⏱️ <strong>Shorter certificate lifetimes</strong></li><li>🔁 <strong>Reduced DCV (Domain Control Validation) reuse</strong></li><li>🪪 <strong>Reduced OV/EV identity reuse</strong></li></ul><h3>🚨 What This Means for DevOps &amp; Security</h3><h3>1. Manual Management Is Dead</h3><p>Renewing every <strong>6 weeks</strong> manually = impossible.<br> You’ll need:</p><ul><li>ACME automation (e.g., <strong>certbot</strong>, <strong>cert-manager</strong>)</li><li>CI/CD-integrated certificate renewals</li><li>Expiration monitoring + alerting</li><li>Infrastructure as Code for certs</li></ul><h3>2. Different Impact by Certificate Type</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/681/1*aYtsI61liWUqXGgydORcmA.png" /></figure><h3>3. DCV Reuse Shrinks</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/641/1*i1WlQmQQ1GWPgskLyF53Xg.png" /></figure><p>Even automated setups will need <strong>frequent revalidation</strong>.</p><h3>🧭 Your Action Plan</h3><h3>🚀 Immediate (Before Mar 15, 2026)</h3><ul><li>Audit all certificates</li><li>Test renewal automation</li><li>Plan for 200-day renewals</li><li>Ensure your CA supports new limits</li></ul><h3>🔧 Mid-Term (2026–2027)</h3><ul><li>Automate using <strong>cert-manager</strong> or <strong>ACME clients</strong></li><li>Add dashboards + alerts</li><li>Document and train your team</li></ul><h3>🧠 Long-Term (2027–2029)</h3><ul><li>Prepare for 100-day → 47-day cycles</li><li>Scale automation across all environments</li><li>Manage CA rate limits</li></ul><h3>🛠️ Tools to Use</h3><h3>For Kubernetes</h3><pre>apiVersion: cert-manager.io/v1<br>kind: Certificate<br>metadata:<br>  name: example-com<br>spec:<br>  secretName: example-com-tls<br>  issuerRef:<br>    name: letsencrypt-prod<br>  dnsNames:<br>  - example.com<br>  - www.example.com</pre><h3>For Traditional Infrastructure</h3><ul><li><strong>certbot</strong> — most popular</li><li><strong>acme.sh</strong> — shell-based</li><li><strong>lego</strong> — lightweight Go client</li></ul><p><strong>Enterprise options:</strong><br> HashiCorp Vault • AWS Certificate Manager • Azure Key Vault • Google Cloud Certificate Manager</p><h3>📈 Real-World Scenarios</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/862/1*kFZv7YqqQaJtTC2NbxiulQ.png" /></figure><h3>💡 Why These Changes?</h3><ol><li><strong>Reduce attack window</strong> — shorter certs = less risk</li><li><strong>Faster crypto upgrades</strong> — easier to deprecate old algorithms</li><li><strong>Improve key hygiene</strong> — more frequent rotation</li><li><strong>Modernize PKI</strong> — certificates become ephemeral</li></ol><h3>✅ Quick Checklist</h3><ul><li>Audit certificates</li><li>Automate renewals</li><li>Add monitoring</li><li>Document processes</li><li>Train team</li><li>Plan for 47-day renewals</li></ul><h3>🧩 Visual Summary</h3><p><strong>SSL/TLS Lifecycle Automation Overview</strong></p><p>🧑‍💻 Manual → 🤖 Automated → 📈 Monitored → 🧠 Documented</p><p>Your infrastructure should <strong>self-renew, self-monitor, and self-heal</strong>.<br> That’s the only way to stay compliant by 2029.</p><h3>🔗 References</h3><ul><li><a href="https://cabforum.org/">CA/Browser Forum Ballot SC-081v3</a></li><li><a href="https://letsencrypt.org/">Let’s Encrypt</a></li><li><a href="https://cert-manager.io/">cert-manager</a></li><li><a href="https://datatracker.ietf.org/doc/html/rfc8555">ACME Protocol (RFC 8555)</a></li></ul><h3>💬 Final Thought</h3><p>The question isn’t <em>if</em> this affects you — it’s <em>when</em>.<br> Start automating now — your <strong>future security posture</strong> depends on it.</p><p>#DevOps #Security #SSL #TLS #Certificates #PKI #Automation #InfrastructureAsCode #CloudSecurity #DevSecOps #CertificateManagement #TechLeadership #SecurityBestPractices</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=9b4f27969f6e" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ Running NVIDIA GPUs on Kubernetes: A Clean, Scalable Pattern]]></title>
            <link>https://venkatkapisetti.medium.com/running-nvidia-gpus-on-kubernetes-a-clean-scalable-pattern-2ff2dc68f273?source=rss-cca098fe9054------2</link>
            <guid isPermaLink="false">https://medium.com/p/2ff2dc68f273</guid>
            <dc:creator><![CDATA[Venkat Kapisetti]]></dc:creator>
            <pubDate>Sat, 10 Jan 2026 13:45:22 GMT</pubDate>
            <atom:updated>2026-01-16T22:06:44.239Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>GPUs on Kubernetes don’t need complexity.</strong><br> They need the <strong>right abstractions</strong>.</p><p>This post focuses purely on <strong>NVIDIA GPUs on Kubernetes</strong>, using operator-driven installs, driverless images, and on-demand GPU nodes — without tying it to any specific company or cloud environment.</p><h3>1️⃣ Treat GPUs as Platform Infrastructure</h3><p>The biggest mental shift:</p><blockquote><strong><em>GPUs are shared infrastructure, not application features.</em></strong></blockquote><p>When GPUs are treated like <strong>platform resources</strong>:</p><p>✅ Apps stay portable<br> ✅ Upgrades become predictable<br> ✅ Cost becomes controllable</p><p>Kubernetes already provides the primitives — you just have to use them correctly.</p><h3>2️⃣ GPU Nodes Should Be Explicit and Isolated</h3><p>GPU nodes must <strong>never be “accidentally usable.”</strong></p><p><strong>Label:</strong></p><pre>role: gpu-worker</pre><p><strong>Taint:</strong></p><pre>role=gpu-worker:NoSchedule</pre><p>Only workloads that explicitly <strong>opt in</strong> will ever land on GPU nodes.</p><h3>3️⃣ NVIDIA GPU Operator (Helm Install)</h3><p>Manually installing NVIDIA drivers does not scale.<br> The <strong>NVIDIA GPU Operator</strong> abstracts the entire GPU lifecycle.</p><p><strong>Install via Helm:</strong></p><pre>helm repo add nvidia https://helm.ngc.nvidia.com/nvidia<br>helm repo update</pre><pre>helm install gpu-operator nvidia/gpu-operator \<br>  --namespace gpu-operator \<br>  --create-namespace \<br>  --set driver.enabled=true \<br>  --set toolkit.enabled=true \<br>  --set devicePlugin.enabled=true \<br>  --set daemonsets.tolerations[0].key=role \<br>  --set daemonsets.tolerations[0].operator=Equal \<br>  --set daemonsets.tolerations[0].value=gpu-worker \<br>  --set daemonsets.tolerations[0].effect=NoSchedule \<br>  --set node-feature-discovery.worker.tolerations[0].key=role \<br>  --set node-feature-discovery.worker.tolerations[0].operator=Equal \<br>  --set node-feature-discovery.worker.tolerations[0].value=gpu-worker \<br>  --set node-feature-discovery.worker.tolerations[0].effect=NoSchedule</pre><p><strong>The Operator Manages:</strong></p><ul><li>NVIDIA drivers (on nodes)</li><li>Container runtime integration</li><li>Device plugins</li><li>GPU feature discovery</li><li>GPU metrics (DCGM)</li></ul><p>👉 <strong>Drivers live on the node. Containers stay clean.</strong></p><h3>4️⃣ Stop Baking Drivers into Images</h3><p>A common misconception:</p><blockquote><em>Containers </em><strong><em>do not need NVIDIA drivers inside them</em></strong><em>.</em></blockquote><p><strong>Correct model:</strong></p><ul><li><strong>Drivers → Node</strong> (via GPU Operator)</li><li><strong>CUDA runtime → Container image</strong></li></ul><p>This enables:</p><ul><li>Smaller images</li><li>Faster builds</li><li>Fewer rebuilds during upgrades</li><li>One image works across GPU types</li></ul><p><strong>This is the foundation of portable GPU workloads.</strong></p><h3>5️⃣ Minimal GPU Pod Spec (Explicit by Design)</h3><p>Every GPU workload should declare intent clearly:</p><pre>spec:<br>  nodeSelector:<br>    role: gpu-worker<br>  tolerations:<br>    - key: &quot;role&quot;<br>      operator: &quot;Equal&quot;<br>      value: &quot;gpu-worker&quot;<br>      effect: &quot;NoSchedule&quot;<br>  containers:<br>    - name: gpu-container<br>      resources:<br>        limits:<br>          nvidia.com/gpu: 1</pre><p>No selector = no GPU.<br> No toleration = no GPU.<br> <strong>Clarity beats cleverness.</strong></p><h3>6️⃣ The Clean Flow of GPU Scheduling</h3><p>Here’s the <strong>flow diagram</strong> of how GPU workloads move through Kubernetes — from pod creation to GPU assignment.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/315/1*P4-j1QK0zoj0psZ_kOTE9Q.png" /></figure><h3>7️⃣ Fractional GPU Usage (Optional but Powerful)</h3><p>For workloads that don’t need a full GPU:</p><pre># NVIDIA Device Plugin Configuration<br># This ConfigMap configures the NVIDIA GPU device plugin to enable GPU time-slicing<br># Time-slicing allows multiple pods to share a single physical GPU by dividing GPU time<br># among them, enabling better GPU utilization in Kubernetes clusters<br>apiVersion: v1<br>kind: ConfigMap<br>metadata:<br>  name: nvidia-device-plugin-config<br>  namespace: kube-system<br>data:<br>  # Configuration for GPU worker nodes<br>  # The key name (gpu-workers) should match the node selector/label used to identify GPU nodes<br>  gpu-workers: |<br>    version: v1<br>    sharing:<br>      # Enable time-slicing for GPU sharing<br>      timeSlicing:<br>        # Number of virtual GPU devices to create per physical GPU<br>        # This allows up to 10 pods to share a single physical GPU<br>        # Each pod will get time-sliced access to the GPU<br>        replicas: 10</pre><p><strong>Benefits:</strong></p><ul><li>Better utilization</li><li>Higher density</li><li>Lower cost per workload</li></ul><p>⚠️ Safe note: Requires proper plugin support and well-behaved workloads.</p><h3>8️⃣ Verification Should Be Simple</h3><p>Minimum validation steps:</p><pre>ls /dev/nvidia*<br>nvidia-smi</pre><p>✅ GPU memory and utilization visible<br> ✅ nvidia-smi runs successfully</p><p>If this fails, stop and fix it — everything else depends on it.</p><h3>💡 Final Thought</h3><p>Running NVIDIA GPUs on Kubernetes doesn’t require exotic tooling.<br> It requires:</p><ul><li>Operator-managed drivers</li><li>Explicit scheduling rules</li><li>Clean separation between node and container</li><li>Autoscaling discipline</li></ul><p>When done right, GPUs become just another <strong>reliable — and powerful — part of the platform</strong>.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2ff2dc68f273" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[⚡ Speed Meets Smarts: Cloudflare Load Balancer + Kubernetes]]></title>
            <link>https://venkatkapisetti.medium.com/speed-meets-smarts-cloudflare-load-balancer-kubernetes-c29c5854c2e0?source=rss-cca098fe9054------2</link>
            <guid isPermaLink="false">https://medium.com/p/c29c5854c2e0</guid>
            <category><![CDATA[cloudfare]]></category>
            <category><![CDATA[disaster-recovery]]></category>
            <category><![CDATA[multi-region]]></category>
            <category><![CDATA[k8s]]></category>
            <category><![CDATA[nginx]]></category>
            <dc:creator><![CDATA[Venkat Kapisetti]]></dc:creator>
            <pubDate>Wed, 31 Dec 2025 18:01:05 GMT</pubDate>
            <atom:updated>2025-12-31T18:01:05.342Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>Global speed. Zero downtime. One simple setup.</strong></p><h3>☁️ The Big Picture</h3><p>Your users are everywhere — New York, London, Tokyo.<br> You want them all to reach your app <strong>fast</strong>, <strong>securely</strong>, and <strong>without fail</strong>.</p><p>Enter <strong>Cloudflare Load Balancer</strong> ⚙️<br> It’s your global traffic director — deciding where each request goes, keeping everything smooth and online.</p><p>Behind the scenes?<br> <strong>Kubernetes clusters</strong> in multiple regions handle the heavy lifting — scalable, reliable, and self-healing. 💪</p><h3>🚦 How It Works (In a Nutshell)</h3><ol><li><strong>User Request → Cloudflare Edge</strong><br> The request first hits Cloudflare’s global edge network.</li><li><strong>Load Balancer Magic ✨</strong><br> Cloudflare checks:</li></ol><ul><li>Which region is closest?</li><li>Which one is healthiest?</li><li>Where’s the lowest latency?</li></ul><p><strong>3. Traffic Split → Two Regions</strong></p><ul><li>🌎 <strong>Region 1 (US-East)</strong></li><li>🌍 <strong>Region 2 (Europe)</strong></li></ul><p><strong>4. Kubernetes Power 🧱</strong><br> Each region runs its own K8s cluster with NGINX Ingress + backend pods.</p><p><strong>5. Global Sync 🔄</strong><br> Data stays consistent with replicated databases and shared storage.</p><h3>🗺️ Architecture Diagram</h3><h3>📊 Cloudflare Load Balancer with Multi-Region Kubernetes Backend</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*A4MsKhjptZbwtOasPdulCw.png" /></figure><h3>💡 Why This Setup Rocks</h3><ul><li>🌍 <strong>Global Reach:</strong> Users hit the nearest region automatically.</li><li>⚡ <strong>Low Latency:</strong> Cloudflare’s edge routing keeps responses fast.</li><li>🧠 <strong>Self-Healing:</strong> Kubernetes restarts broken pods automatically.</li><li>🔒 <strong>Secure:</strong> SSL, DDoS protection, and WAF built in.</li><li>🚀 <strong>Scalable:</strong> Add more pods or regions whenever you want.</li></ul><h3>🔄 A Simple Example</h3><p><strong>Traffic Flow in Action:</strong></p><ol><li>User from <strong>New York → US-East Cluster</strong></li><li>User from <strong>Paris → Europe Cluster</strong></li><li>US-East goes down → All traffic reroutes to Europe.<br> No downtime. No user notices. No panic. 🧘‍♂️</li></ol><h3>⚙️ What’s Inside</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/717/1*9i554g4QBtA_wwHYg3Anbg.png" /></figure><h3>🧰 Quick Setup Sketch</h3><pre># Deploy regional clusters<br>kubectl apply -f us-east.yaml<br>kubectl apply -f europe.yaml<br><br># Add NGINX ingress<br>helm install ingress-nginx ingress-nginx/ingress-nginx<br># Connect both clusters to Cloudflare Load Balancer<br>cloudflare load-balancer create \<br>  --name global-app \<br>  --origins us-east.example.com,europe.example.com \<br>  --steering-policy geo</pre><h3>🌎 The Payoff</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/636/1*N-UK5BgVXcUUus_EyXlAqg.png" /></figure><h3>🧭 Final Thoughts</h3><p>Cloudflare + Kubernetes = <strong>global apps done right</strong>.<br> You get the global reach of a CDN, the flexibility of containers, and the brains of smart routing — all without managing servers manually.</p><p>Simple. Powerful. Future-proof. 🚀</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c29c5854c2e0" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ Why Kubernetes Ingress-NGINX Retired — And How to Confirm Your Cluster Is Actually Safe]]></title>
            <link>https://venkatkapisetti.medium.com/why-kubernetes-ingress-nginx-retired-and-how-to-confirm-your-cluster-is-actually-safe-f36374f12225?source=rss-cca098fe9054------2</link>
            <guid isPermaLink="false">https://medium.com/p/f36374f12225</guid>
            <category><![CDATA[cloud]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[nginx-ingress]]></category>
            <category><![CDATA[cloud-native]]></category>
            <category><![CDATA[k8s-security]]></category>
            <dc:creator><![CDATA[Venkat Kapisetti]]></dc:creator>
            <pubDate>Sat, 22 Nov 2025 18:06:47 GMT</pubDate>
            <atom:updated>2025-11-22T18:06:47.180Z</atom:updated>
            <content:encoded><![CDATA[<h3>🚀 Why Kubernetes Ingress-NGINX Retired — And How to Confirm Your Cluster Is Actually Safe</h3><h3>(A Practical Guide for SREs, Platform Engineers, and Cloud Teams)</h3><p><strong>By Venkat Kapisetti</strong></p><h3>🧭 1️⃣ Context — What Really Happened With Ingress-NGINX?</h3><p>Over the last few years, Kubernetes has evolved rapidly — and one of the most impactful changes is the <strong>retirement of the community-maintained Ingress-NGINX Controller</strong> (k8s.io/ingress-nginx).</p><p>👉 <strong>Official CNCF &amp; Kubernetes Blog:</strong> <a href="https://kubernetes.io/blog/2025/11/11/ingress-nginx-retirement/?utm_source=chatgpt.com">Ingress NGINX Retirement — What You Need to Know</a></p><p>The controller that once powered <em>tens of thousands</em> of clusters is now in <strong>maintenance sunset</strong>, meaning:</p><ul><li>⚠️ No new features</li><li>⚠️ No bug fixes</li><li>⚠️ No security updates (after <strong>March 2026</strong>)</li></ul><h3>Why is this happening?</h3><p>As explained by Kubernetes maintainers and the CNCF:</p><blockquote><em>The project faced </em><strong><em>maintainer scarcity</em></strong><em>, heavy </em><strong><em>technical debt</em></strong><em> (e.g., complex annotation “snippets”), and insufficient contributor growth.<br> It became </em><strong><em>unsustainable</em></strong><em> for the small team maintaining it under the Kubernetes SIG Network umbrella.</em></blockquote><p>📘 Reference:</p><ul><li><a href="https://kubernetes.io/blog/2025/11/11/ingress-nginx-retirement/?utm_source=chatgpt.com">Official Retirement Announcement — kubernetes.io</a></li><li><a href="https://blog.nginx.org/blog/the-ingress-nginx-alternative-open-source-nginx-ingress-controller-for-the-long-term?utm_source=chatgpt.com">NGINX Blog — “The Ingress NGINX Alternative”</a></li><li><a href="https://jimmysong.io/en/blog/ingress-nginx-retirement-insights/?utm_source=chatgpt.com">Open Source Sustainability Commentary — Jimmy Song</a></li></ul><h3>🤔 2️⃣ The Confusion — Two NGINX Controllers With Similar Names</h3><p>Many engineers didn’t realize there were actually <strong>two different NGINX ingress controllers</strong> with very similar names:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/801/1*FzlpSU3FyP87dA_4S8apiw.png" /></figure><p>✅ If your controller is nginx.org/ingress-controller → you’re safe.<br> ❌ If it’s k8s.io/ingress-nginx → it’s time to migrate.</p><h3>🧩 3️⃣ A Clear Visual — What’s Deprecated vs What’s Supported</h3><p>🟥 <strong>Deprecated Path (Community)</strong><br> Ingress → IngressClass (nginx) → k8s.io/ingress-nginx → <em>Old Controller</em> → End-of-Life</p><p>🟩 <strong>Supported Path (F5 NGINX OSS)</strong><br> Ingress → IngressClass (nginx) → nginx.org/ingress-controller → <em>Fully Supported by F5</em></p><p>🟦 <strong>BIG-IP CIS Path</strong><br> Ingress → VirtualServer CRDs → f5-bigip-ctlr → <em>External BIG-IP Device</em></p><h3>🧱 4️⃣ Visual Architecture — The Routing Stack</h3><p>Here’s how the routing flow looks 👇</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/0*L1yjYcT4cs2i9RsR" /></figure><h3>🧠 5️⃣ How to Confirm Your Cluster Is Safe (with Script)</h3><p>If you’re unsure which ingress controller your cluster uses, here’s a <strong>verified Bash script</strong> that checks your entire environment and tells you <em>in seconds</em> whether you’re safe.</p><h3>🧩 Full Verification Script — Copy, Paste, Run</h3><pre>#!/bin/bash<br># Kubernetes Ingress Health &amp; Safety Check<br># Author: Venkat Kapisetti<br><br>set -e<br>echo &quot;==============================&quot;<br>echo &quot;🔎 Checking IngressClass&quot;<br>echo &quot;==============================&quot;<br>kubectl get ingressclass -o wide || echo &quot;No ingressclass found&quot;<br>echo<br>echo &quot;==============================&quot;<br>echo &quot;🔎 Checking IngressClass → Controller Mapping&quot;<br>echo &quot;==============================&quot;<br>kubectl get ingressclass -o jsonpath=&#39;{range .items[*]}{.metadata.name}{&quot; | &quot;}{.spec.controller}{&quot;\n&quot;}{end}&#39;<br>echo<br>echo &quot;==============================&quot;<br>echo &quot;🔎 Checking for DEPRECATED Community Ingress-NGINX&quot;<br>echo &quot;==============================&quot;<br>kubectl get deploy,ds -A | grep -Ei &quot;ingress-nginx|ingress-nginx-controller&quot; || echo &quot;✔️ No deprecated ingress-nginx detected&quot;<br>echo<br>echo &quot;==============================&quot;<br>echo &quot;🔎 Checking for Supported NGINX (nginx.org) or F5 Controllers&quot;<br>echo &quot;==============================&quot;<br>kubectl get deploy,ds -A | grep -Ei &quot;nginx.org|nginx|f5|plus&quot; || echo &quot;⚠️ No nginx/f5 deployments detected&quot;<br>echo<br>echo &quot;==============================&quot;<br>echo &quot;🔎 Listing All Ingress Objects Using Each Class&quot;<br>echo &quot;==============================&quot;<br>kubectl get ingress -A -o jsonpath=&#39;{range .items[*]}{.metadata.namespace}{&quot; | &quot;}{.metadata.name}{&quot; | &quot;}{.spec.ingressClassName}{&quot;\n&quot;}{end}&#39; || true<br>echo<br>echo &quot;==============================&quot;<br>echo &quot;🔎 Checking for NGINX Annotations (indicates active dependency)&quot;<br>echo &quot;==============================&quot;<br>kubectl get ingress -A -o yaml | grep -Ei &quot;nginx\\.org|nginx\\.ingress&quot; || echo &quot;No nginx annotations found&quot;<br>echo<br>echo &quot;==============================&quot;<br>echo &quot;🏁 RESULT&quot;<br>echo &quot;==============================&quot;<br>if kubectl get ingressclass -o jsonpath=&#39;{.items[*].spec.controller}&#39; | grep -q &quot;nginx.org/ingress-controller&quot;; then<br>    echo &quot;✔️ You are using SUPPORTED NGINX (nginx.org) from F5/NGINX Inc.&quot;<br>else<br>    echo &quot;❌ You are NOT using the supported nginx.org ingress controller&quot;<br>fi<br>echo<br>echo &quot;✅ Done.&quot;</pre><pre>==============================<br>🏁 RESULT<br>==============================<br>✔️ You are using SUPPORTED NGINX (nginx.org) from F5/NGINX Inc.</pre><h3>✅ 6️⃣ Results — What You Should Expect</h3><p>If your output shows something like this:</p><pre>nginx | nginx.org/ingress-controller</pre><p>🎉 Congratulations! You’re running the <strong>supported</strong> NGINX ingress.</p><p>✔️ Safe and supported<br> ✔️ Compatible with ArgoCD, Grafana, Kibana, etc.<br> ✔️ No migration needed (unless you move to BIG-IP CIS or Istio Gateway)</p><h3>🧭 7️⃣ When Should You Consider Migrating?</h3><p>You only need to migrate if:</p><ul><li>You want L4/L7 hardware acceleration (BIG-IP)</li><li>You want multi-cluster or mesh routing (Istio, Gateway API)</li><li>You want enterprise WAF/DDoS (NGINX Plus, BIG-IP ASM)</li><li>You’re consolidating ingress controllers across teams</li></ul><p>Otherwise, <strong>NGINX OSS (</strong><strong>nginx.org/ingress-controller)</strong> is the best choice for 90% of Kubernetes workloads.</p><h3>🧩 8️⃣ One-Glance Summary — Supported vs Deprecated</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/809/1*_Bk52hur5g2v4mKI9GNb_A.png" /></figure><h3>🧠 9️⃣ Closing Thoughts</h3><p>Ingress is one of the <strong>most critical layers</strong> in your Kubernetes environment.<br> Running a deprecated ingress controller is <strong>not just tech debt</strong> — it’s a <strong>security and reliability risk</strong>.</p><p>But if you’re already using <strong>F5 NGINX OSS</strong>, you’re on a modern, supported, and secure platform.</p><h3>✨ TL;DR</h3><ul><li>k8s.io/ingress-nginx → 🚫 Retired</li><li>nginx.org/ingress-controller → ✅ Supported</li><li>Verify with the script above</li><li>Migrate only if you need enterprise features</li></ul><h3>🔗 Official References</h3><ul><li><a href="https://kubernetes.io/blog/2025/11/11/ingress-nginx-retirement/?utm_source=chatgpt.com">Kubernetes Blog — Ingress NGINX Retirement</a></li><li><a href="https://blog.nginx.org/blog/the-ingress-nginx-alternative-open-source-nginx-ingress-controller-for-the-long-term?utm_source=chatgpt.com">NGINX Blog — The Ingress NGINX Alternative</a></li><li><a href="https://jimmysong.io/en/blog/ingress-nginx-retirement-insights/?utm_source=chatgpt.com">Jimmy Song — Ingress NGINX Retirement Insights</a></li></ul><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f36374f12225" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ Building Images Without Docker (Using Dockerfile)]]></title>
            <link>https://venkatkapisetti.medium.com/building-images-without-docker-using-dockerfile-dd2480a6b74b?source=rss-cca098fe9054------2</link>
            <guid isPermaLink="false">https://medium.com/p/dd2480a6b74b</guid>
            <category><![CDATA[cncf]]></category>
            <category><![CDATA[releases]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[k8s]]></category>
            <category><![CDATA[docker]]></category>
            <dc:creator><![CDATA[Venkat Kapisetti]]></dc:creator>
            <pubDate>Sat, 15 Nov 2025 19:43:56 GMT</pubDate>
            <atom:updated>2025-11-15T19:43:56.998Z</atom:updated>
            <content:encoded><![CDATA[<p>Sometimes, <strong>Docker isn’t available</strong> — maybe your CI/CD environment restricts privileged access, or your organization has moved to a <strong>containerd-based runtime</strong>.<br> But you still need to <strong>build container images from Dockerfiles</strong> for Kubernetes or container registries.</p><p>Luckily, tools like <strong>Podman</strong>, <strong>Buildah</strong>, and <strong>Kaniko</strong> let you build the same OCI-compliant images <strong>without Docker</strong> or a daemon.</p><h3>🧭 Flowchart Overview</h3><p>Here’s how you decide which tool to use when Docker isn’t available:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/847/0*MDqnrdYTqZxes34K" /></figure><h3>🔧 Option 1: Podman — Drop-in Replacement for Docker</h3><p>Podman works just like Docker but doesn’t need a daemon or root access.<br> It’s perfect for local builds or developer laptops.</p><h3>Install Podman</h3><p><strong>Fedora / RHEL / CentOS</strong></p><pre>sudo dnf install -y podman</pre><p><strong>Ubuntu / Debian</strong></p><pre>sudo apt update &amp;&amp; sudo apt install -y podman</pre><h3>Build the Image</h3><pre>podman build -t myapp:latest -f Dockerfile .</pre><p>✅ <strong>What Happens</strong></p><ul><li>Reads the same Dockerfile</li><li>Builds an OCI-compliant image</li><li>Stores it locally under your user session (no root needed)</li></ul><h3>Verify or Run</h3><pre>podman images<br>podman run --rm myapp:latest</pre><h3>🧱 Option 2: Buildah — Scriptable, Fine-Grained Builder</h3><p>Buildah is ideal for <strong>CI/CD pipelines</strong> or <strong>automated build systems</strong>.<br> It’s daemonless, rootless, and can build directly from Dockerfiles.</p><h3>Install Buildah</h3><pre>sudo apt install -y buildah</pre><h3>Build and Push</h3><pre>buildah bud -t myapp:latest -f Dockerfile .<br>buildah push myapp:latest docker://registry.example.com/myapp:latest</pre><p>⚠️ <strong>Note:</strong> You may need to log in before pushing:</p><pre>buildah login registry.example.com</pre><h3>☁️ Option 3: Kaniko — Best for CI/CD and Cloud Builds</h3><p>Kaniko builds images <strong>inside containers</strong> — no Docker daemon, no privileges.<br> It’s perfect for Kubernetes Jobs, Jenkins, or GitHub Actions.</p><h3>Run Kaniko in Kubernetes</h3><pre>kubectl run kaniko \<br>  --image=gcr.io/kaniko-project/executor:latest \<br>  --restart=Never \<br>  -- \<br>  --context=git://github.com/myorg/myrepo.git \<br>  --dockerfile=Dockerfile \<br>  --destination=registry.example.com/myapp:latest</pre><h3>Example for Private Registries</h3><pre>volumeMounts:<br>  - name: docker-config<br>    mountPath: /kaniko/.docker/<br>volumes:<br>  - name: docker-config<br>    secret:<br>      secretName: regcred</pre><h3>⚙️ Comparison Table</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/809/1*S8-0BjPHOOqMwDXlfHUflw.png" /></figure><h3>💡 Best Practices</h3><ul><li>For <strong>local builds</strong> → Use <strong>Podman</strong> (seamless Docker replacement).</li><li>For <strong>CI/CD pipelines</strong> → Use <strong>Buildah</strong> or <strong>Kaniko</strong> (secure and rootless).</li><li>Always push to <strong>OCI-compliant registries</strong> like ECR, GCR, or Harbor.</li><li>Integrate <strong>image scanning</strong> with tools like Trivy or Grype.</li></ul><h3>🧠 Insight</h3><blockquote><em>Docker was a great start, but not the only way.<br> Today, with Podman, Buildah, and Kaniko, you can </em><strong><em>build OCI images safely and reproducibly</em></strong><em> — all without Docker.</em></blockquote><p>These tools fit perfectly into environments running <strong>containerd</strong>, <strong>Kubernetes</strong>, or <strong>restricted CI/CD</strong> pipelines — giving you full flexibility and security.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=dd2480a6b74b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[StatefulSets just learned to clean up after themselves ]]></title>
            <link>https://venkatkapisetti.medium.com/statefulsets-just-learned-to-clean-up-after-themselves-0f724fb95002?source=rss-cca098fe9054------2</link>
            <guid isPermaLink="false">https://medium.com/p/0f724fb95002</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[cross-platform]]></category>
            <category><![CDATA[k8s]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[sre]]></category>
            <dc:creator><![CDATA[Venkat Kapisetti]]></dc:creator>
            <pubDate>Sun, 09 Nov 2025 16:39:17 GMT</pubDate>
            <atom:updated>2025-11-09T16:39:17.727Z</atom:updated>
            <content:encoded><![CDATA[<h3>Goodbye Orphaned Volumes: Kubernetes 1.32 Brings Auto-Deletion of PVCs for StatefulSets</h3><p>Managing state in Kubernetes has always been a nuanced task, especially when dealing with persistent volumes and StatefulSets. One of the most annoying issues for platform engineers is leftover PersistentVolumeClaims (PVCs) after StatefulSet pods are scaled down or deleted — cluttering your storage, increasing cost, and requiring manual cleanup.</p><p>Kubernetes 1.32 addresses this with a long-awaited improvement: <strong>auto-deletion of PVCs created by StatefulSets</strong>. Let’s break this down.</p><h3>🔍 1. Background: StatefulSets &amp; PVCs</h3><p><strong>StatefulSets</strong> manage stateful applications with predictable identities and stable storage. Each pod in a StatefulSet gets:</p><ul><li>A stable network identity</li><li>A persistent volume via PVC</li><li>Ordered, graceful deployment &amp; scaling</li></ul><p>Until now, when you scaled down a StatefulSet or deleted a pod, <strong>its associated PVC would stick around</strong>, even if you never needed it again. You had to manually clean them up — a risky and tedious process.</p><h3>💡 2. The Problem: Orphaned PVCs</h3><p>Imagine running a 10-replica StatefulSet for a Kafka cluster. If you scale it down to 5 replicas, the pods for replicas 5–9 go away, but the PVCs (data-kafka-5 to data-kafka-9) persist.</p><p>These leftover PVCs:</p><ul><li>Consume disk quota</li><li>Confuse monitoring</li><li>Lead to increased EBS/RBD costs</li><li>Require dangerous kubectl delete pvc ... scripts</li></ul><p>And worse, if left unchecked in multi-tenant clusters, it leads to noisy alerting and quota exhaustion.</p><h3>🚀 3. The Solution: persistentVolumeClaimRetentionPolicy</h3><p>Kubernetes 1.32 introduces a new spec field under StatefulSets:</p><pre>volumeClaimTemplates:<br>  - metadata:<br>      name: data<br>    spec:<br>      accessModes: [&quot;ReadWriteOnce&quot;]<br>      storageClassName: &quot;gp2&quot;<br>      resources:<br>        requests:<br>          storage: 10Gi</pre><pre>persistentVolumeClaimRetentionPolicy:<br>  whenDeleted: Delete<br>  whenScaled: Delete</pre><p>This is <strong>explicit opt-in</strong>. By default, behavior remains the same (PVCs are retained). But once enabled:</p><ul><li>whenDeleted: Delete – PVCs are deleted when the pod is deleted</li><li>whenScaled: Delete – PVCs are deleted when a StatefulSet is scaled down</li></ul><p>⚠️ Safe note: This <strong>only deletes PVCs that were created from </strong><strong>volumeClaimTemplates</strong> inside the StatefulSet. Any manually created PVCs are unaffected.</p><h3>🔁 4. Lifecycle Flow (Visual)</h3><p>Here’s the new PVC lifecycle:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/471/0*d1qB01OtWOZUaGaj" /></figure><ol><li>StatefulSet creates N pods.</li><li>Each pod binds to a PVC from volumeClaimTemplates.</li><li>PVC is bound to a PersistentVolume (EBS, Ceph, etc).</li><li>Pods run, read/write state.</li><li>When scaled down (or pod deleted), PVC is auto-removed.</li><li>PV gets recycled or deleted depending on its reclaim policy.</li></ol><p>This removes orphaned PVCs seamlessly — with no extra automation/scripts.</p><h3>⚙️ 5. Enabling It — A Real Example</h3><p>Suppose you have a Redis cluster deployed via StatefulSet:</p><pre>apiVersion: apps/v1<br>kind: StatefulSet<br>metadata:<br>  name: redis<br>spec:<br>  serviceName: &quot;redis&quot;<br>  replicas: 3<br>  selector:<br>    matchLabels:<br>      app: redis<br>  persistentVolumeClaimRetentionPolicy:<br>    whenDeleted: Delete<br>    whenScaled: Delete<br>  template:<br>    metadata:<br>      labels:<br>        app: redis<br>    spec:<br>      containers:<br>      - name: redis<br>        image: redis:7<br>        volumeMounts:<br>        - name: data<br>          mountPath: /data<br>  volumeClaimTemplates:<br>  - metadata:<br>      name: data<br>    spec:<br>      accessModes: [&quot;ReadWriteOnce&quot;]<br>      storageClassName: gp2<br>      resources:<br>        requests:<br>          storage: 1Gi</pre><p>Now, if you scale this down from 3 to 1:</p><pre>kubectl scale statefulset redis --replicas=1</pre><p>Then PVCs data-redis-1 and data-redis-2 will be <strong>automatically deleted</strong>.</p><p>This also works on full deletion of the StatefulSet — no need to manually remove volume resources.</p><h3>🧠 6. What’s Really Happening Under the Hood</h3><p>This feature is handled internally by the StatefulSet controller in the kube-controller-manager.</p><p>When you scale down or delete a StatefulSet:</p><ul><li>The controller checks the PVC retention policy</li><li>For each pod being terminated, it finds PVCs matching the template</li><li>If policy is Delete, it issues a deletion on the PVC</li><li>Finalizers and PV reclaim policies (Retain/Reclaim/Delete) are still respected</li></ul><p>💡 Tip: Combine this with storage classes that support reclaimPolicy: Delete if you want full automation of PVC + PV cleanup.</p><h3>📊 7. Real-World Impact</h3><p>For large clusters or SRE teams, this feature reduces:</p><ul><li>🧹 Manual cleanup burden</li><li>🔔 Storage alerting from forgotten PVCs</li><li>💸 Cloud costs from unused EBS volumes</li><li>🧪 Test environment hygiene issues</li><li>🔒 Human error when writing cleanup scripts</li></ul><p>Especially useful for:</p><ul><li>CI/CD test clusters with ephemeral stateful apps</li><li>Dev environments with dynamic scale</li><li>Multi-tenant platforms where quota enforcement is strict</li></ul><h3>🧩 8. Integration Ideas (Terraform / Helm)</h3><h3>Helm:</h3><p>Add these under statefulset.yaml:</p><pre>persistentVolumeClaimRetentionPolicy:<br>  whenDeleted: {{ .Values.pvc.whenDeleted }}<br>  whenScaled: {{ .Values.pvc.whenScaled }}</pre><p>In values.yaml:</p><pre>pvc:<br>  whenDeleted: Delete<br>  whenScaled: Delete</pre><h3>Terraform (with kubernetes provider):</h3><pre>spec {<br>  persistent_volume_claim_retention_policy {<br>    when_deleted = &quot;Delete&quot;<br>    when_scaled  = &quot;Delete&quot;<br>  }<br>}</pre><h3>📝 9. Final Thoughts</h3><p>Kubernetes 1.32’s StatefulSet PVC auto-deletion is a low-drama, high-impact quality-of-life improvement for ops teams. It removes one of the last bits of persistent storage management grunt work and is safe to enable in most modern stateful workloads.</p><p>It may look like a minor field, but it solves a <strong>decade-old pain point</strong>. Smart defaults, less cleanup, and fewer scripts? That’s a win.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0f724fb95002" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ Zero-Downtime Resource Updates in Kubernetes: In-Place CPU & Memory Scaling]]></title>
            <link>https://venkatkapisetti.medium.com/zero-downtime-resource-updates-in-kubernetes-in-place-cpu-memory-scaling-7a617a27eaef?source=rss-cca098fe9054------2</link>
            <guid isPermaLink="false">https://medium.com/p/7a617a27eaef</guid>
            <category><![CDATA[k8s]]></category>
            <category><![CDATA[sre]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[vmware]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Venkat Kapisetti]]></dc:creator>
            <pubDate>Sat, 18 Oct 2025 18:29:30 GMT</pubDate>
            <atom:updated>2025-10-18T18:29:30.323Z</atom:updated>
            <content:encoded><![CDATA[<h3>Kubernetes 1.31 introduced a quietly powerful change that unlocks a new level of flexibility and control: the ability to update CPU and memory resource limits in-place — without restarting pods.</h3><p>This upgrade represents a milestone for production environments, especially for workloads that are:</p><ul><li>🧠 Stateful or long-lived</li><li>🏃♂️ Performance-sensitive</li><li>🧪 Dynamic in their resource needs</li></ul><h3>🧠 What Is In-Place Vertical Scaling?</h3><p>In Kubernetes, vertical scaling refers to adjusting a pod’s resource requests or limits — typically CPU and memory. Until version 1.31, modifying these values required recreating the pod, which meant:</p><ul><li>⚠️ Service interruption</li><li>❌ Loss of ephemeral state</li><li>⏱ Operational overhead</li></ul><p>With Kubernetes 1.31, you can now update resource specs on a running pod without triggering a restart. This change happens in-place via the Kubelet and the container runtime (e.g., containerd, CRI-O), and it works for both:</p><ul><li>CPU: requests and limits</li><li>Memory: requests and limits</li></ul><blockquote><em>✅ No restart. No rescheduling. No downtime.</em></blockquote><h3>🧪 Real Example: Updating a Pod’s Resources In-Place</h3><h3>Step 1: Original Pod Spec</h3><pre>apiVersion: v1<br>kind: Pod<br>metadata:<br>  name: app-pod<br>spec:<br>  containers:<br>  - name: web<br>    image: nginx<br>    resources:<br>      requests:<br>        cpu: &quot;250m&quot;<br>        memory: &quot;256Mi&quot;<br>      limits:<br>        cpu: &quot;500m&quot;<br>        memory: &quot;512Mi&quot;</pre><h3>Step 2: Patch the Resources In-Place</h3><pre>kubectl patch pod app-pod -p &#39;{<br>  &quot;spec&quot;: {<br>    &quot;containers&quot;: [{<br>      &quot;name&quot;: &quot;web&quot;,<br>      &quot;resources&quot;: {<br>        &quot;limits&quot;: {<br>          &quot;cpu&quot;: &quot;1&quot;,<br>          &quot;memory&quot;: &quot;1Gi&quot;<br>        }<br>      }<br>    }]<br>  }<br>}&#39;</pre><p>✅ Result:</p><ul><li>The pod continues running.</li><li>No restart occurs.</li><li>The container’s resource limits are updated live.</li></ul><h3>📊 Visualizing the Lifecycle Change</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/461/0*-T7e8WY3fCSDW4_6" /></figure><h3>🧠 Real-World Use Cases</h3><h3>🔄 Autoscaling With Stability</h3><ul><li>Combine with Horizontal Pod Autoscaler (HPA) for replicas</li><li>Use Vertical Pod Autoscaler (VPA) to recommend or apply vertical adjustments</li></ul><h3>🛠 CI/CD Pipelines</h3><ul><li>Reduce complexity by adjusting resources between builds without pod restarts</li></ul><h3>⚙️ ML Workloads</h3><ul><li>Dynamically scale resource limits for training and inferencing stages within the same pod</li></ul><h3>🆚 Compared to VM Resource Scaling (e.g., VMware)</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/782/0*ciBoeco13zePGXyX" /></figure><p>Kubernetes wins in terms of agility and granularity, while VMs are still viable for monolithic or legacy systems.</p><h3>✅ Summary</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/739/0*88M7SVm0QkfdPlCn" /></figure><h3>🏁 Final Thoughts</h3><p>Kubernetes finally delivers what many teams have been waiting for: true, in-place CPU and memory scaling. It’s a crucial enabler for:</p><ul><li>🕒 Long-running workloads</li><li>🚫 Zero-downtime SLOs</li><li>⚙️ Performance-tuned pipelines</li><li>🧠 Intelligent autoscaling</li></ul><blockquote><em>With this update, Kubernetes becomes not just an orchestrator — but a precision tool for production-grade infrastructure.</em></blockquote><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=7a617a27eaef" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[⚠️ Your App Is Under Attack. Will It Survive?]]></title>
            <link>https://venkatkapisetti.medium.com/%EF%B8%8F-your-app-is-under-attack-will-it-survive-4a740e2af729?source=rss-cca098fe9054------2</link>
            <guid isPermaLink="false">https://medium.com/p/4a740e2af729</guid>
            <category><![CDATA[sre]]></category>
            <category><![CDATA[cloud-services]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[k8s]]></category>
            <category><![CDATA[autoscaling]]></category>
            <dc:creator><![CDATA[Venkat Kapisetti]]></dc:creator>
            <pubDate>Sun, 05 Oct 2025 17:49:31 GMT</pubDate>
            <atom:updated>2025-10-05T17:49:31.227Z</atom:updated>
            <content:encoded><![CDATA[<h3><strong><em>Scaling Kubernetes the smart way with Horizontal Pod Autoscaler (HPA)</em></strong></h3><h3>🚨 It Starts with a Spike…</h3><p>You’ve just deployed your app.</p><p>It’s live.<br> It’s stable.<br> You’re proud.</p><p>Then suddenly…</p><p><em>🚀 It goes viral.</em></p><p><em>🤖 Bots hit your endpoint.</em></p><p><em>📈 CPU usage spikes.</em></p><p><em>🧊 Pods freeze.</em></p><p><strong>What happens next?</strong></p><p>If you’re relying on <strong>manual scaling</strong>, you’re in trouble.<br> If you’ve set up <strong>HPA</strong> (Horizontal Pod Autoscaler), you’re already safe.</p><h3>🤖 What Is HPA?</h3><p>Kubernetes’ <strong>Horizontal Pod Autoscaler</strong> is an intelligent controller that adjusts the number of pods in your deployment based on real-time demand.</p><p>It reacts to:</p><ul><li>🔥 CPU or memory thresholds</li><li>📊 Custom metrics (via Prometheus)</li><li>📈 Request rate, latency, or queue depth</li></ul><p>In short:<br><strong>HPA adds pods when you need them, and removes them when you don’t.</strong></p><h3>📦 Why Manual Scaling Fails</h3><ul><li>You can’t predict every spike.</li><li>Manual scaling is slow.</li><li>Over-provisioning is wasteful.</li><li>Under-provisioning causes downtime.</li></ul><h3>🔁 How HPA Actually Works</h3><p>Here’s a simplified flowchart to show you how HPA processes metrics and decides to scale your app:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/632/0*rVRSZntXqeO_1Rfp" /></figure><p><em>1. Metrics Server (or Prometheus Adapter) collects data</em></p><p><em>2. HPA Controller compares current load to target threshold</em></p><p><em>3. If load &gt; threshold, more pods are deployed</em></p><p><em>4. If load &lt; threshold (and stable), pods are scaled down</em></p><p>This loop runs every 15 seconds by default.</p><h3>💥 Visualizing an Attack: HPA Logic in Action</h3><p>To really understand the benefit of HPA, visualize this:</p><h3>Let’s break it down:</h3><ul><li>Your app gets hit by a surge of traffic</li><li>CPU or request count increases</li><li>HPA kicks in and begins scaling your pods</li><li>New pods spin up → traffic gets distributed</li><li>No downtime. No meltdown.</li></ul><h3>🍪 But What About Sticky Sessions?</h3><p>One major caveat of autoscaling is <strong>session stickiness</strong>.</p><p>If users are “stuck” to a specific pod (via cookies or IP hash), and that pod dies or is scaled down…</p><p>👉 Sessions break<br> 👉 Users get kicked out<br> 👉 You get complaints</p><h3>How to handle it:</h3><p>✅ Store session data externally (e.g., Redis)<br> ✅ Use sticky ingress (NGINX annotations, ALB affinity)<br> ✅ Or better: design <strong>stateless services</strong></p><h3>📊 What Metrics Can You Use?</h3><h3>Default (with Metrics Server):</h3><ul><li>CPU Utilization</li><li>Memory (with v2 HPA API)</li></ul><h3>Advanced (with Prometheus Adapter):</h3><pre>metrics:<br>- type: Pods<br>  pods:<br>    metric:<br>      name: http_requests_per_second<br>    target:<br>      type: AverageValue<br>      averageValue: &quot;200&quot;</pre><p>Use custom metrics to scale based on <strong>real user demand</strong>.</p><h3>⏱️ How Fast Is HPA?</h3><p>ActionDefault TimeMetrics checkEvery 15sScale-upImmediate on breachScale-downAfter 300s (stabilization)</p><h3>Configuration Snippet:</h3><pre>behavior:<br>  scaleUp:<br>    stabilizationWindowSeconds: 0<br>  scaleDown:<br>    stabilizationWindowSeconds: 300</pre><p>Scale-down delay prevents <strong>flapping</strong> (rapid up/down scaling).</p><h3>📈 What to Monitor (With Grafana)</h3><p>Monitor these metrics to keep tabs on your autoscaler:</p><ul><li>kube_hpa_status_current_replicas</li><li>kube_hpa_status_desired_replicas</li><li>container_cpu_usage_seconds_total</li><li>http_requests_total (via Prometheus)</li></ul><p>📌 Bonus: Build a Grafana dashboard using these to track pod behavior and scaling events.</p><h3>🧠 Quick Recap: HPA Best Practices</h3><ul><li>✅ Use autoscaling/v2 API for custom metrics</li><li>✅ Connect Prometheus for full visibility</li><li>✅ Externalize sticky sessions</li><li>✅ Set proper readiness/liveness probes</li><li>✅ Monitor real-time metrics and cost impact</li></ul><h3>📚 References</h3><ul><li><a href="https://kubernetes.io/docs/tasks/run-application/horizontal-pod-autoscale/">Official Kubernetes HPA Docs</a></li><li><a href="https://github.com/kubernetes-sigs/prometheus-adapter">Prometheus Adapter GitHub</a></li><li><a href="https://grafana.com/grafana/dashboards/">Grafana Dashboards for K8s</a></li></ul><h3>🔚 Final Thoughts</h3><p>Autoscaling is not a luxury — it’s a necessity in today’s unpredictable traffic environment.</p><p>Whether you’re getting:</p><ul><li>💎 viral traction</li><li>⚔️ traffic attacks</li><li>🧪 load-testing stress</li></ul><p><strong>HPA will keep your app alive, stable, and cost-effective</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4a740e2af729" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ K9s — The Terminal UI That Turns Kubernetes Debugging from Chaos to Clarity]]></title>
            <link>https://venkatkapisetti.medium.com/k9s-the-terminal-ui-that-turns-kubernetes-debugging-from-chaos-to-clarity-8d54f0769dd9?source=rss-cca098fe9054------2</link>
            <guid isPermaLink="false">https://medium.com/p/8d54f0769dd9</guid>
            <category><![CDATA[sre]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[productivity]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Venkat Kapisetti]]></dc:creator>
            <pubDate>Thu, 25 Sep 2025 18:14:21 GMT</pubDate>
            <atom:updated>2025-09-25T18:14:21.314Z</atom:updated>
            <content:encoded><![CDATA[<h3>🐶 K9s — The Terminal UI That Turns Kubernetes Debugging from Chaos to Clarity</h3><blockquote><em>“When debugging Kubernetes feels like chasing your tail, K9s is the leash you actually need.”</em></blockquote><h3>📸 Get Oriented Fast</h3><h3>🔷 Main Dashboard View</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/816/1*SB7XEdPR-hhN8QoD-v-Wag.png" /></figure><p><em>The K9s dashboard gives you a command center for your cluster — real-time updates, pod status, and contextual navigation.</em></p><h3>✨ Why K9s is a Game-Changer for Kubernetes</h3><h3>1. One Interface to Rule Them All</h3><ul><li>Explore resources with :po, :svc, :ns</li><li>Drill into logs, shell into pods, or edit configs</li><li>A single view replaces dozens of kubectl commands</li></ul><h3>2. Lightning-Fast Debugging</h3><p>No more switching windows or copying pod names:</p><ul><li>l – Logs</li><li>s – Shell into Pod</li><li>d – Describe</li><li>e – Edit manifests</li><li>r – Restart pods</li></ul><h3>3. Real-Life Use Case: CrashLoopBackOff</h3><p>Here’s a common scenario simplified with K9s:</p><pre>1. Open K9s<br>2. Go to :po (pods)<br>3. Filter `/Crash`<br>4. Hit `l` for logs<br>5. Hit `s` to exec into the pod<br>6. Press `e` to fix config issues<br>7. Press `r` or `d` to restart or delete</pre><h3>🧠 K9s Debugging Flowchart</h3><p>Visual summary of the debugging process:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/430/0*htozI234Wjqa6pQt" /></figure><h3>⚙️ Quick Install</h3><pre>brew install derailed/k9s/k9s  # macOS<br>choco install k9s              # Windows<br>snap install k9s               # Linux</pre><p>Or grab the binary from <a href="https://github.com/derailed/k9s/releases">K9s GitHub Releases</a></p><h3>🎯 Pro Tips</h3><ul><li>? — Show keybindings</li><li>:ns — Switch namespaces</li><li>/ — Filter in real time</li><li>q — Exit views quickly</li></ul><h3>📚 Resources</h3><ul><li><a href="https://github.com/derailed/k9s">K9s GitHub</a></li><li><a href="https://github.com/derailed/k9s/blob/master/README.md#shortcuts">Cheat Sheet</a></li><li><a href="https://github.com/derailed/k9s/releases">Releases</a></li></ul><h3>🧩 Final Thoughts</h3><p>K9s doesn’t just make Kubernetes easier — it makes it intuitive. Whether you’re new to DevOps or a seasoned SRE, K9s gives you the clarity and speed you need to debug smarter.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=8d54f0769dd9" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ Kyverno Policy in Action: Practical Kubernetes Governance with Real Examples]]></title>
            <link>https://venkatkapisetti.medium.com/kyverno-policy-in-action-practical-kubernetes-governance-with-real-examples-a00533d02e7a?source=rss-cca098fe9054------2</link>
            <guid isPermaLink="false">https://medium.com/p/a00533d02e7a</guid>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[cncf]]></category>
            <category><![CDATA[sre]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[governance]]></category>
            <dc:creator><![CDATA[Venkat Kapisetti]]></dc:creator>
            <pubDate>Sun, 21 Sep 2025 23:45:47 GMT</pubDate>
            <atom:updated>2025-09-21T23:45:47.128Z</atom:updated>
            <content:encoded><![CDATA[<h3>📌 Introduction</h3><p><strong>Kyverno</strong> is a Kubernetes-native policy engine that helps define, enforce, and automate governance rules across the cluster. It works by intercepting API server requests and applying user-defined policies to validate, mutate, or generate resources.</p><p>This article outlines real, practical Kyverno policies applied in real Kubernetes environments — covering security, automation, and standardization use cases.</p><h3>📊 How Kyverno Works</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*S-sMPI_Eobx3x8SDZ8TVbA.png" /></figure><h3>1️⃣ Disallow Privileged Containers</h3><p>Prevent the deployment of containers with elevated privileges (privileged: true), which could compromise node security.</p><h3>✅ Policy</h3><pre>apiVersion: kyverno.io/v1<br>kind: ClusterPolicy<br>metadata:<br>  name: disallow-privileged<br>spec:<br>  validationFailureAction: enforce<br>  rules:<br>    - name: deny-privileged<br>      match:<br>        resources:<br>          kinds:<br>            - Pod<br>      validate:<br>        message: &quot;Privileged containers are not allowed.&quot;<br>        pattern:<br>          spec:<br>            containers:<br>              - securityContext:<br>                  privileged: false</pre><p>This ensures all containers explicitly declare and enforce non-privileged execution.</p><h3>2️⃣ Enforce Internal Image Registry</h3><p>Enforce usage of trusted internal image registries for better supply chain control.</p><h3>✅ Policy</h3><pre>apiVersion: kyverno.io/v1<br>kind: ClusterPolicy<br>metadata:<br>  name: enforce-internal-registry<br>spec:<br>  validationFailureAction: enforce<br>  rules:<br>    - name: image-check<br>      match:<br>        resources:<br>          kinds:<br>            - Pod<br>      validate:<br>        message: &quot;Only images from registry.example.io are allowed.&quot;<br>        pattern:<br>          spec:<br>            containers:<br>              - image: &quot;registry.example.io/*&quot;</pre><p>Blocks workloads from using public registries unless explicitly allowed.</p><h3>3️⃣ Auto-Label Workloads</h3><p>Add required labels like environment, team, or owner automatically to help with monitoring, cost allocation, and querying.</p><h3>✅ Policy</h3><pre>apiVersion: kyverno.io/v1<br>kind: ClusterPolicy<br>metadata:<br>  name: add-dynamic-labels<br>spec:<br>  rules:<br>    - name: auto-label-based-on-namespace<br>      match:<br>        resources:<br>          kinds:<br>            - Deployment<br>      mutate:<br>        patchStrategicMerge:<br>          metadata:<br>            labels:<br>              environment: &quot;{{ request.namespace }}&quot;<br>              owner: &quot;{{ request.object.metadata.labels.team | default(&#39;unknown&#39;) }}&quot;<br>              cluster: &quot;{{ request.object.metadata.annotations.cluster | default(&#39;generic-cluster&#39;) }}&quot;</pre><p>This improves consistency without relying on developer input.</p><h3>4️⃣ Block HostPath Volume Mounts</h3><p>Prevent access to sensitive host paths by disallowing hostPath volume types.</p><h3>✅ Policy</h3><pre>apiVersion: kyverno.io/v1<br>kind: ClusterPolicy<br>metadata:<br>  name: restrict-hostpath<br>spec:<br>  validationFailureAction: enforce<br>  rules:<br>    - name: deny-hostpath<br>      match:<br>        resources:<br>          kinds:<br>            - Pod<br>      validate:<br>        message: &quot;hostPath volumes are not permitted.&quot;<br>        anyPattern:<br>          - spec:<br>              volumes:<br>                - hostPath: &quot;*&quot;</pre><p>Protects the host file system from container workloads.</p><h3>5️⃣ Generate Secret per Namespace</h3><p>Automatically generate a default secret when a new namespace is created.</p><h3>✅ Policy</h3><pre>apiVersion: kyverno.io/v1<br>kind: ClusterPolicy<br>metadata:<br>  name: generate-vault-injected-secret<br>spec:<br>  generateExisting: true<br>  rules:<br>    - name: create-vault-managed-secret<br>      match:<br>        resources:<br>          kinds:<br>            - Namespace<br>      generate:<br>        apiVersion: v1<br>        kind: Secret<br>        name: app-token<br>        namespace: &quot;{{request.object.metadata.name}}&quot;<br>        synchronize: true<br>        data: {} # Don&#39;t hardcode<br>        metadata:<br>          annotations:<br>            vault.hashicorp.com/agent-inject: &quot;true&quot;<br>            vault.hashicorp.com/agent-inject-secret-token: &quot;secret/data/namespaces/{{request.object.metadata.name}}/app-token&quot;<br>            vault.hashicorp.com/agent-inject-template-token: |<br>              {{- with secret &quot;secret/data/namespaces/{{request.object.metadata.name}}/app-token&quot; -}}<br>              {{ .Data.data.token }}<br>              {{- end }}<br>            vault.hashicorp.com/role: &quot;default&quot;<br>            vault.hashicorp.com/agent-inject-secret-output-path: &quot;/vault/secrets&quot;</pre><p>Useful in staging or test environments where a default bootstrap secret is required.</p><h3>🔁 GitOps Integration</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*oK0_knRFB1H_8IHQs4cFGQ.png" /></figure><p>Policies can be managed entirely in Git repositories and deployed via continuous delivery pipelines.</p><h3>📋 Summary of Policies Used</h3><pre>| Policy Name                | Type     | Description                                |<br>|---------------------------|----------|--------------------------------------------|<br>| Disallow Privileged        | Validate | Blocks containers with `privileged: true`  |<br>| Internal Registry Enforced | Validate | Ensures images are from internal registry  |<br>| Add Standard Labels        | Mutate   | Adds required labels on workloads          |<br>| Block HostPath             | Validate | Prevents direct access to host file system |<br>| Generate Namespace Secret  | Generate | Creates secret when namespace is created   |</pre><h3>✅ Final Notes</h3><p>Kyverno offers a declarative and Kubernetes-native way to:</p><ul><li>Enforce best practices</li><li>Improve cluster governance</li><li>Automate repetitive configuration</li><li>Simplify policy-as-code for teams</li></ul><p>These example policies demonstrate how Kyverno can be used effectively to secure, standardize, and streamline Kubernetes operations.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=a00533d02e7a" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>