<?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 Nilkanth mistry on Medium]]></title>
        <description><![CDATA[Stories by Nilkanth mistry on Medium]]></description>
        <link>https://medium.com/@nilkanthmistry?source=rss-ba98c4dde7c0------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*zDweG9GDgFzw0QaB04fKeA.png</url>
            <title>Stories by Nilkanth mistry on Medium</title>
            <link>https://medium.com/@nilkanthmistry?source=rss-ba98c4dde7c0------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Tue, 24 Nov 2026 09:23:01 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@nilkanthmistry/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[ Kubernetes Common Issues #32: High CPU Usage]]></title>
            <link>https://medium.com/@nilkanthmistry/kubernetes-common-issues-32-high-cpu-usage-5547991eb39b?source=rss-ba98c4dde7c0------2</link>
            <guid isPermaLink="false">https://medium.com/p/5547991eb39b</guid>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[kubernetes]]></category>
            <dc:creator><![CDATA[Nilkanth mistry]]></dc:creator>
            <pubDate>Tue, 21 Apr 2026 15:33:53 GMT</pubDate>
            <atom:updated>2026-04-21T15:33:53.919Z</atom:updated>
            <content:encoded><![CDATA[<h3>🎯 Introduction</h3><p>In Kubernetes, performance issues often start with one key signal:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*TKiBUkTRdpptDmYCm8NiVQ.png" /></figure><p>👉 <strong>High CPU Usage</strong></p><p>If not handled properly, it can lead to:</p><ul><li>❌ Application slowdowns</li><li>❌ Pod throttling</li><li>❌ Autoscaling instability</li><li>❌ Increased costs</li></ul><p>For DevOps engineers, identifying and fixing CPU issues quickly is critical.</p><h3>🔍 What Is High CPU Usage?</h3><p>High CPU usage occurs when:</p><ul><li>Pods consume excessive CPU resources</li><li>Nodes reach CPU limits</li><li>Workloads become inefficient</li></ul><p>You may notice:</p><pre>kubectl top pods</pre><p>Showing CPU usage near or above limits.</p><h3>🧠 Real Production Scenario</h3><p>Your application is running fine…</p><p>But suddenly:</p><ul><li>Response time increases</li><li>Pods become slow</li><li>CPU usage spikes</li></ul><p>After checking:</p><p>❌ High traffic<br>❌ Inefficient code<br>❌ Misconfigured resources</p><h3>🚩 Common Symptoms</h3><ul><li>High CPU utilization</li><li>Slow application response</li><li>Pod throttling</li><li>Autoscaling triggered frequently</li><li>Node overload</li></ul><h3>🔎 Step-by-Step Troubleshooting</h3><h3>✅ Step 1 — Check Pod Usage</h3><pre>kubectl top pods -A</pre><h3>✅ Step 2 — Check Node Usage</h3><pre>kubectl top nodes</pre><h3>✅ Step 3 — Identify Heavy Pods</h3><p>Find:</p><ul><li>High CPU consumers</li></ul><h3>✅ Step 4 — Check Resource Limits</h3><pre>kubectl describe pod &lt;pod-name&gt;</pre><h3>✅ Step 5 — Analyze Application</h3><p>Check:</p><ul><li>Code efficiency</li><li>Loops / queries</li></ul><h3>🛠️ Common Root Causes</h3><p>From real-world experience:</p><ol><li>❌ High traffic load</li><li>❌ Inefficient code</li><li>❌ Missing CPU limits</li><li>❌ Infinite loops</li><li>❌ Poor query performance</li><li>❌ Background jobs overload</li></ol><h3>✅ Production Fix Strategies</h3><h3>✔️ Fix 1 — Set Resource Limits</h3><pre>resources:<br>  requests:<br>    cpu: &quot;200m&quot;<br>  limits:<br>    cpu: &quot;500m&quot;</pre><h3>✔️ Fix 2 — Enable HPA</h3><p>Autoscale based on CPU:</p><pre>kubectl autoscale deployment &lt;name&gt; --cpu-percent=70 --min=2 --max=10</pre><h3>✔️ Fix 3 — Optimize Code</h3><ul><li>Reduce loops</li><li>Optimize queries</li><li>Improve caching</li></ul><h3>✔️ Fix 4 — Scale Horizontally</h3><p>Add more pods.</p><h3>✔️ Fix 5 — Monitor Continuously</h3><p>Use:</p><ul><li>Prometheus</li><li>Grafana</li></ul><h3>🚨 Senior DevOps Tips</h3><p>✅ Always define CPU requests &amp; limits<br>✅ Keep CPU utilization below ~70%<br>✅ Monitor CPU trends<br>✅ Use autoscaling wisely<br>✅ Optimize before scaling</p><h3>🎯 Final Thoughts</h3><p>High CPU usage is not always bad — but unmanaged, it becomes dangerous.</p><p>Smart monitoring and optimization are the key.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=5547991eb39b" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ Kubernetes Common Issues #31: Crash Looping]]></title>
            <link>https://medium.com/@nilkanthmistry/kubernetes-common-issues-31-crash-looping-ff3a021adc47?source=rss-ba98c4dde7c0------2</link>
            <guid isPermaLink="false">https://medium.com/p/ff3a021adc47</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[kubernetes]]></category>
            <dc:creator><![CDATA[Nilkanth mistry]]></dc:creator>
            <pubDate>Wed, 15 Apr 2026 15:05:08 GMT</pubDate>
            <atom:updated>2026-04-15T15:05:08.364Z</atom:updated>
            <content:encoded><![CDATA[<h3>🎯 Introduction</h3><p>In Kubernetes, one of the most frustrating issues is:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*hoZQdfqV9gddreAQUP3_0Q.png" /></figure><p>👉 <strong>Crash Looping</strong></p><p>Your container starts… crashes… restarts… and repeats 🔁</p><p>This leads to:</p><ul><li>❌ Application downtime</li><li>❌ Unstable deployments</li><li>❌ High restart counts</li><li>❌ Production alerts</li></ul><h3>🔍 What Is Crash Looping?</h3><p>Crash Looping occurs when a container:</p><ol><li>Starts</li><li>Fails quickly</li><li>Kubernetes restarts it</li><li>Process repeats continuously</li></ol><p>You will see:</p><pre>STATUS: CrashLoopBackOff</pre><p>👉 It’s not the root cause — it’s a <strong>symptom of failure</strong>.</p><h3>🧠 Real Production Scenario</h3><p>A new deployment goes live.</p><p>But:</p><ul><li>Pods keep restarting</li><li>App is not stable</li><li>Traffic starts failing</li></ul><p>Root cause:</p><p>❌ App crash<br>❌ Misconfiguration<br>❌ Dependency failure</p><h3>🚩 Common Symptoms</h3><ul><li>Pod status = CrashLoopBackOff</li><li>Restart count increasing</li><li>Application not stable</li><li>Logs showing errors</li><li>Readiness/liveness probe failures</li></ul><h3>🔎 Step-by-Step Troubleshooting</h3><h3>✅ Step 1 — Check Pod Status</h3><pre>kubectl get pods</pre><h3>✅ Step 2 — Check Logs (MOST IMPORTANT)</h3><pre>kubectl logs &lt;pod-name&gt; --previous</pre><h3>✅ Step 3 — Describe Pod</h3><pre>kubectl describe pod &lt;pod-name&gt;</pre><h3>✅ Step 4 — Check Probes</h3><p>Look for:</p><ul><li>livenessProbe</li><li>readinessProbe</li></ul><h3>🛠️ Common Root Causes</h3><p>From real-world experience:</p><ol><li>❌ Application bug</li><li>❌ Wrong environment variables</li><li>❌ Database connection failure</li><li>❌ Port mismatch</li><li>❌ Liveness probe too aggressive</li><li>❌ Missing config/secrets</li><li>❌ OOMKilled (memory issue)</li></ol><h3>✅ Production Fix Strategies</h3><h3>✔️ Fix 1 — Check Logs First</h3><pre>kubectl logs &lt;pod&gt; --previous</pre><h3>✔️ Fix 2 — Fix Configuration</h3><ul><li>Environment variables</li><li>Secrets</li><li>ConfigMaps</li></ul><h3>✔️ Fix 3 — Adjust Probes</h3><pre>initialDelaySeconds: 30</pre><h3>✔️ Fix 4 — Fix Resource Limits</h3><p>Avoid OOMKilled.</p><h3>✔️ Fix 5 — Test Locally</h3><p>Run container before deploying.</p><h3>🚨 Senior DevOps Tips</h3><p>✅ Always check logs first<br>✅ Avoid aggressive probes<br>✅ Monitor restart count<br>✅ Use proper health checks<br>✅ Validate configs before deploy</p><h3>🎯 Final Thoughts</h3><p>Crash looping is not the problem — it’s a signal.</p><p>Fix the root cause, and the loop stops.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=ff3a021adc47" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ Kubernetes Common Issues #30: Volume Mount Failed]]></title>
            <link>https://medium.com/@nilkanthmistry/kubernetes-common-issues-30-volume-mount-failed-2d937aa68c05?source=rss-ba98c4dde7c0------2</link>
            <guid isPermaLink="false">https://medium.com/p/2d937aa68c05</guid>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[kubernetes]]></category>
            <dc:creator><![CDATA[Nilkanth mistry]]></dc:creator>
            <pubDate>Tue, 14 Apr 2026 16:07:54 GMT</pubDate>
            <atom:updated>2026-04-14T16:07:54.623Z</atom:updated>
            <content:encoded><![CDATA[<h3>🎯 Introduction</h3><p>In Kubernetes, volumes are used to provide storage to containers.</p><p>But sometimes pods fail to start with:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*UvWsaXrVM5wPUppvKCRwKg.png" /></figure><p>👉 <strong>Volume Mount Failed</strong></p><p>This issue can completely block your application and cause:</p><ul><li>❌ Pod stuck in ContainerCreating</li><li>❌ Application not starting</li><li>❌ Storage not accessible</li><li>❌ Production downtime</li></ul><h3>🔍 What Does “Volume Mount Failed” Mean?</h3><p>This error occurs when Kubernetes cannot mount a volume into a pod.</p><p>You may see:</p><pre>MountVolume.SetUp failed for volume</pre><p>or:</p><pre>Unable to attach or mount volumes</pre><p>👉 Meaning:<br><strong>The storage cannot be attached or mounted to the container.</strong></p><h3>🧠 Real Production Scenario</h3><p>You deploy a stateful app.</p><p>But:</p><ul><li>Pod stuck in ContainerCreating</li><li>Volume not mounted</li><li>App not starting</li></ul><p>After debugging:</p><p>❌ PVC not bound<br>❌ Wrong mount path<br>❌ Storage issue</p><p>Production blocked 🚨</p><h3>🚩 Common Symptoms</h3><ul><li>Pod stuck in <strong>ContainerCreating</strong></li><li>Volume mount errors in events</li><li>Application not starting</li><li>PVC/PV issues</li><li>Timeout during mount</li></ul><h3>🔎 Step-by-Step Troubleshooting</h3><h3>✅ Step 1 — Describe Pod</h3><pre>kubectl describe pod &lt;pod-name&gt;</pre><p>Check:</p><ul><li>Events</li><li>Mount errors</li></ul><h3>✅ Step 2 — Check PVC</h3><pre>kubectl get pvc</pre><p>Ensure:</p><ul><li>STATUS = Bound</li></ul><h3>✅ Step 3 — Check PV</h3><pre>kubectl get pv</pre><h3>✅ Step 4 — Check StorageClass</h3><pre>kubectl get sc</pre><h3>✅ Step 5 — Check Node Issues</h3><pre>kubectl describe node &lt;node-name&gt;</pre><h3>🛠️ Common Root Causes</h3><p>From real-world cases:</p><ol><li>❌ PVC not bound</li><li>❌ Wrong volume name</li><li>❌ StorageClass issues</li><li>❌ Permission problems</li><li>❌ Node storage issues</li><li>❌ CSI driver failure</li></ol><h3>✅ Production Fix Strategies</h3><h3>✔️ Fix 1 — Ensure PVC is Bound</h3><pre>kubectl get pvc</pre><h3>✔️ Fix 2 — Fix Volume Configuration</h3><p>Match:</p><ul><li>Volume name</li><li>Mount path</li></ul><h3>✔️ Fix 3 — Check Storage Backend</h3><p>Ensure storage is available.</p><h3>✔️ Fix 4 — Restart Pod</h3><pre>kubectl delete pod &lt;pod-name&gt;</pre><h3>✔️ Fix 5 — Check Permissions</h3><p>Ensure proper access rights.</p><h3>🚨 Senior DevOps Tips</h3><p>✅ Always verify PVC binding<br>✅ Use correct mount paths<br>✅ Monitor storage health<br>✅ Avoid manual misconfiguration<br>✅ Test storage before production</p><h3>🎯 Final Thoughts</h3><p>Volume mount issues can completely block your workloads.</p><p>But with proper debugging, they are quick to fix.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2d937aa68c05" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ Kubernetes Common Issues #29: DNS Resolution Failed]]></title>
            <link>https://medium.com/@nilkanthmistry/kubernetes-common-issues-29-dns-resolution-failed-cf9d375b2898?source=rss-ba98c4dde7c0------2</link>
            <guid isPermaLink="false">https://medium.com/p/cf9d375b2898</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Nilkanth mistry]]></dc:creator>
            <pubDate>Sat, 11 Apr 2026 11:30:34 GMT</pubDate>
            <atom:updated>2026-04-11T11:30:34.262Z</atom:updated>
            <content:encoded><![CDATA[<h3>🎯 Introduction</h3><p>In Kubernetes, services communicate using <strong>DNS names</strong>.</p><p>But when DNS fails, everything breaks silently.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*4HfF0zZOcr4EeFqyHB_brA.png" /></figure><p>👉 <strong>DNS Resolution Failed</strong> is one of the most dangerous issues because:</p><ul><li>❌ Services cannot communicate</li><li>❌ Applications fail internally</li><li>❌ APIs become unreachable</li><li>❌ Microservices architecture collapses</li></ul><h3>🔍 What Is DNS Resolution in Kubernetes?</h3><p>Kubernetes uses <strong>CoreDNS</strong> to resolve service names like:</p><pre>my-service.default.svc.cluster.local</pre><p>👉 DNS resolution allows pods to talk to each other using names instead of IPs.</p><h3>🚨 What Does “DNS Resolution Failed” Mean?</h3><p>This error occurs when a pod cannot resolve a service name.</p><p>You may see:</p><pre>nslookup: can&#39;t resolve &#39;service-name&#39;</pre><p>or:</p><pre>Temporary failure in name resolution</pre><p>👉 Meaning:<br><strong>DNS system is not working correctly.</strong></p><h3>🧠 Real Production Scenario</h3><p>Your microservice tries to call another service:</p><p>But:</p><ul><li>Connection fails</li><li>Timeout errors</li><li>No response</li></ul><p>After debugging:</p><p>❌ DNS resolution is failing</p><p>System-wide failure 🚨</p><h3>🚩 Common Symptoms</h3><ul><li>Services cannot connect</li><li>nslookup fails</li><li>Internal APIs unreachable</li><li>Timeout errors</li><li>CoreDNS issues</li></ul><h3>🔎 Step-by-Step Troubleshooting</h3><h3>✅ Step 1 — Test DNS Inside Pod</h3><pre>kubectl exec -it &lt;pod&gt; -- nslookup kubernetes.default</pre><h3>✅ Step 2 — Check CoreDNS Pods</h3><pre>kubectl get pods -n kube-system</pre><p>Look for:</p><ul><li>coredns pods running</li></ul><h3>✅ Step 3 — Check CoreDNS Logs</h3><pre>kubectl logs -n kube-system &lt;coredns-pod&gt;</pre><h3>✅ Step 4 — Check Service</h3><pre>kubectl get svc</pre><p>Verify service exists.</p><h3>✅ Step 5 — Check Network Policy</h3><p>Ensure DNS traffic is allowed.</p><h3>🛠️ Common Root Causes</h3><p>From real-world experience:</p><ol><li>❌ CoreDNS not running</li><li>❌ Network issues</li><li>❌ Wrong service name</li><li>❌ DNS misconfiguration</li><li>❌ Network policies blocking DNS</li><li>❌ Cluster DNS config broken</li></ol><h3>✅ Production Fix Strategies</h3><h3>✔️ Fix 1 — Restart CoreDNS</h3><pre>kubectl rollout restart deployment coredns -n kube-system</pre><h3>✔️ Fix 2 — Fix Service Name</h3><p>Ensure correct DNS format.</p><h3>✔️ Fix 3 — Check Network Policies</h3><p>Allow DNS (port 53).</p><h3>✔️ Fix 4 — Verify Cluster DNS Config</h3><p>Check kubelet settings.</p><h3>✔️ Fix 5 — Debug with BusyBox</h3><pre>kubectl run -it --rm debug --image=busybox -- sh</pre><h3>🚨 Senior DevOps Tips</h3><p>✅ Always monitor CoreDNS health<br>✅ Use proper service naming<br>✅ Allow DNS traffic in network policies<br>✅ Test DNS regularly<br>✅ Keep DNS configs simple</p><h3>🎯 Final Thoughts</h3><p>DNS issues can silently break your entire system.</p><p>If services cannot talk — your system is effectively down.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=cf9d375b2898" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ Kubernetes Common Issues #28: Inconsistent State]]></title>
            <link>https://medium.com/@nilkanthmistry/kubernetes-common-issues-28-inconsistent-state-0e557d1567fe?source=rss-ba98c4dde7c0------2</link>
            <guid isPermaLink="false">https://medium.com/p/0e557d1567fe</guid>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[learning]]></category>
            <dc:creator><![CDATA[Nilkanth mistry]]></dc:creator>
            <pubDate>Wed, 08 Apr 2026 16:26:02 GMT</pubDate>
            <atom:updated>2026-04-08T16:26:02.099Z</atom:updated>
            <content:encoded><![CDATA[<h3>🎯 Introduction</h3><p>Kubernetes is designed to maintain the <strong>desired state</strong> of your system.</p><p>But sometimes, the cluster enters a situation where:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*sdfpoWtg6wmy1UIPhgJzPQ.png" /></figure><p>👉 <strong>Actual state ≠ Desired state</strong></p><p>This is called an <strong>Inconsistent State</strong>.</p><p>In production, this can cause:</p><ul><li>❌ Unexpected behavior</li><li>❌ Pods not matching configuration</li><li>❌ Deployment inconsistencies</li><li>❌ Hard-to-debug issues</li></ul><h3>🔍 What Is “Inconsistent State”?</h3><p>Kubernetes continuously tries to match the <strong>desired state (YAML)</strong> with the <strong>actual running state</strong>.</p><p>👉 Inconsistent State occurs when:</p><ul><li>Changes are partially applied</li><li>Controllers fail to sync</li><li>Resources are out of alignment</li></ul><h3>🧠 Real Production Scenario</h3><p>You update a deployment:</p><ul><li>New version applied</li><li>Some pods updated</li><li>Some still running old version</li></ul><p>Or:</p><ul><li>Service points to wrong pods</li><li>ConfigMap updated but not reflected</li></ul><p>System becomes unpredictable 🚨</p><h3>🚩 Common Symptoms</h3><ul><li>Different pod versions running</li><li>Config not reflected in pods</li><li>Unexpected routing behavior</li><li>Rolling updates stuck</li><li>State mismatch between resources</li></ul><h3>🔎 Step-by-Step Troubleshooting</h3><h3>✅ Step 1 — Check Resource Status</h3><pre>kubectl get all</pre><h3>✅ Step 2 — Describe Deployment</h3><pre>kubectl describe deployment &lt;name&gt;</pre><p>Check:</p><ul><li>Replica status</li><li>Update progress</li></ul><h3>✅ Step 3 — Check ReplicaSets</h3><pre>kubectl get rs</pre><p>Look for:</p><ul><li>Multiple versions running</li></ul><h3>✅ Step 4 — Compare Desired vs Actual</h3><pre>kubectl get deployment &lt;name&gt; -o yaml</pre><p>Compare with running pods.</p><h3>✅ Step 5 — Restart Controllers (if needed)</h3><p>Sometimes reconciliation needs help.</p><h3>🛠️ Common Root Causes</h3><p>From real-world experience:</p><ol><li>❌ Failed rolling update</li><li>❌ Controller sync issues</li><li>❌ Manual changes outside Kubernetes</li><li>❌ Partial deployment failures</li><li>❌ ConfigMap/Secret not reloaded</li><li>❌ Network or API issues</li></ol><h3>✅ Production Fix Strategies</h3><h3>✔️ Fix 1 — Force Redeployment</h3><pre>kubectl rollout restart deployment &lt;name&gt;</pre><h3>✔️ Fix 2 — Delete Stale Pods</h3><pre>kubectl delete pod &lt;pod-name&gt;</pre><h3>✔️ Fix 3 — Sync Configuration</h3><p>Ensure:</p><ul><li>YAML matches running state</li></ul><h3>✔️ Fix 4 — Fix Rolling Updates</h3><pre>kubectl rollout status deployment &lt;name&gt;</pre><h3>✔️ Fix 5 — Avoid Manual Changes</h3><p>Always use declarative approach.</p><h3>🚨 Senior DevOps Tips</h3><p>✅ Always use declarative configs<br>✅ Avoid manual kubectl edits in production<br>✅ Monitor rollout status<br>✅ Use GitOps (ArgoCD / Flux)<br>✅ Ensure consistent deployment pipelines</p><h3>🎯 Final Thoughts</h3><p>Inconsistent state is one of the hardest issues to debug.</p><p>But once you understand Kubernetes reconciliation, it becomes manageable.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=0e557d1567fe" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ Kubernetes Common Issues #27: Invalid PodSpec]]></title>
            <link>https://medium.com/@nilkanthmistry/kubernetes-common-issues-27-invalid-podspec-16c23f873877?source=rss-ba98c4dde7c0------2</link>
            <guid isPermaLink="false">https://medium.com/p/16c23f873877</guid>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[learning]]></category>
            <dc:creator><![CDATA[Nilkanth mistry]]></dc:creator>
            <pubDate>Tue, 07 Apr 2026 16:20:33 GMT</pubDate>
            <atom:updated>2026-04-07T16:20:33.550Z</atom:updated>
            <content:encoded><![CDATA[<h3>🎯 Introduction</h3><p>In Kubernetes, every workload runs based on a <strong>PodSpec</strong> — the core configuration that defines how containers should run.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*royQ5gJqLqAS_cBjtC7uOw.png" /></figure><p>But even a small mistake in PodSpec can lead to:</p><p>👉 <strong>Invalid PodSpec</strong></p><p>This issue can completely block deployments and cause:</p><ul><li>❌ Pods not created</li><li>❌ Deployment failures</li><li>❌ CI/CD pipeline errors</li><li>❌ Production delays</li></ul><h3>🔍 What Does “Invalid PodSpec” Mean?</h3><p><strong>Invalid PodSpec</strong> means Kubernetes cannot accept or process the pod configuration due to invalid fields or values.</p><p>You may see errors like:</p><pre>error validating data: ValidationError(Pod.spec)</pre><p>or</p><pre>spec.containers[0].image: Required value</pre><p>👉 Meaning:<br><strong>Your pod definition is incorrect.</strong></p><h3>🧠 Real Production Scenario</h3><p>You deploy a new application.</p><p>But:</p><ul><li>Pods are not created</li><li>Deployment fails instantly</li><li>CI/CD pipeline stops</li></ul><p>After checking:</p><p>❌ Missing container image<br>❌ Wrong field name<br>❌ Invalid configuration</p><h3>🚩 Common Symptoms</h3><ul><li>Error during kubectl apply</li><li>Pods not created</li><li>Deployment stuck</li><li>Validation errors</li><li>CI/CD failure</li></ul><h3>🔎 Step-by-Step Troubleshooting</h3><h3>✅ Step 1 — Validate YAML</h3><pre>kubectl apply --dry-run=client -f pod.yaml</pre><h3>✅ Step 2 — Check Error Message</h3><p>Kubernetes tells exact issue:</p><ul><li>Missing field</li><li>Invalid value</li></ul><h3>✅ Step 3 — Review PodSpec</h3><p>Example:</p><pre>spec:<br>  containers:<br>  - name: app<br>    image: nginx</pre><h3>✅ Step 4 — Describe Deployment</h3><pre>kubectl describe deployment &lt;name&gt;</pre><h3>🛠️ Common Root Causes</h3><p>From real-world cases:</p><ol><li>❌ Missing container image</li><li>❌ Wrong field names</li><li>❌ Invalid resource values</li><li>❌ Missing required fields</li><li>❌ YAML indentation issues</li><li>❌ Invalid environment variables</li></ol><h3>✅ Production Fix Strategies</h3><h3>✔️ Fix 1 — Define Required Fields</h3><pre>containers:<br>- name: app<br>  image: nginx</pre><h3>✔️ Fix 2 — Validate YAML Before Apply</h3><pre>kubectl apply --dry-run=client -f file.yaml</pre><h3>✔️ Fix 3 — Use Official Documentation</h3><p>Always follow correct schema.</p><h3>✔️ Fix 4 — Use Templates</h3><ul><li>Helm</li><li>Kustomize</li></ul><h3>✔️ Fix 5 — Use CI Validation</h3><p>Prevent errors before deployment.</p><h3>🚨 Senior DevOps Tips</h3><p>✅ Always validate PodSpec before deployment<br>✅ Never skip required fields<br>✅ Use linting tools<br>✅ Avoid manual YAML errors<br>✅ Automate validation in CI/CD</p><h3>🎯 Final Thoughts</h3><p>Invalid PodSpec errors are simple but critical.</p><p>They block deployments completely — but are easy to fix with proper validation.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=16c23f873877" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ Kubernetes Common Issues #26: Config Invalid]]></title>
            <link>https://medium.com/@nilkanthmistry/kubernetes-common-issues-26-config-invalid-4e039ecfbc52?source=rss-ba98c4dde7c0------2</link>
            <guid isPermaLink="false">https://medium.com/p/4e039ecfbc52</guid>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <dc:creator><![CDATA[Nilkanth mistry]]></dc:creator>
            <pubDate>Mon, 06 Apr 2026 16:48:20 GMT</pubDate>
            <atom:updated>2026-04-06T16:48:20.518Z</atom:updated>
            <content:encoded><![CDATA[<h3>🎯 Introduction</h3><p>In Kubernetes, everything is driven by configuration — YAML files define how your applications run.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*m-dtB-9vCzlRLf1hSy8kbA.png" /></figure><p>But even a small mistake can lead to:</p><p>👉 <strong>Config Invalid</strong></p><p>This issue can break deployments and cause:</p><ul><li>❌ Application not starting</li><li>❌ Deployment failure</li><li>❌ Pods stuck in error state</li><li>❌ Production outages</li></ul><h3>🔍 What Does “Config Invalid” Mean?</h3><p><strong>Config Invalid</strong> means Kubernetes cannot process your configuration file due to errors.</p><p>You may see:</p><pre>error: error validating data</pre><p>or</p><pre>Invalid value in configuration</pre><p>👉 Meaning:<br><strong>Your YAML or configuration is incorrect.</strong></p><h3>🧠 Real Production Scenario</h3><p>You deploy a new update.</p><p>But:</p><ul><li>Pods fail to start</li><li>Deployment fails instantly</li><li>Errors appear in CI/CD</li></ul><p>After checking:</p><p>❌ Typo in YAML<br>❌ Wrong field name<br>❌ Invalid structure</p><p>Production rollout fails 🚨</p><h3>🚩 Common Symptoms</h3><ul><li>Deployment fails immediately</li><li>Error during kubectl apply</li><li>Pods not created</li><li>YAML validation errors</li><li>CI/CD pipeline failure</li></ul><h3>🔎 Step-by-Step Troubleshooting</h3><h3>✅ Step 1 — Validate YAML</h3><pre>kubectl apply --dry-run=client -f deployment.yaml</pre><h3>✅ Step 2 — Check Syntax</h3><p>Use tools:</p><ul><li>YAML linters</li><li>IDE validation</li></ul><h3>✅ Step 3 — Describe Resource</h3><pre>kubectl describe deployment &lt;name&gt;</pre><h3>✅ Step 4 — Check Logs</h3><pre>kubectl logs &lt;pod&gt;</pre><h3>🛠️ Common Root Causes</h3><p>From real-world experience:</p><ol><li>❌ YAML syntax error (indentation)</li><li>❌ Wrong field names</li><li>❌ Invalid resource values</li><li>❌ Missing required fields</li><li>❌ API version mismatch</li><li>❌ Typo in keys</li></ol><h3>✅ Production Fix Strategies</h3><h3>✔️ Fix 1 — Validate Before Deploy</h3><pre>kubectl apply --dry-run=client -f file.yaml</pre><h3>✔️ Fix 2 — Use Correct API Version</h3><p>Example:</p><pre>apiVersion: apps/v1</pre><h3>✔️ Fix 3 — Fix YAML Indentation</h3><p>YAML is strict — spacing matters.</p><h3>✔️ Fix 4 — Use Templates</h3><ul><li>Helm</li><li>Kustomize</li></ul><h3>✔️ Fix 5 — Use CI Validation</h3><p>Add validation step before deployment.</p><h3>🚨 Senior DevOps Tips</h3><p>✅ Always validate YAML before applying<br>✅ Use version control for configs<br>✅ Avoid manual editing in production<br>✅ Use automation tools (Helm, Terraform)<br>✅ Follow standard templates</p><h3>🎯 Final Thoughts</h3><p>Config errors are small but powerful.</p><p>One wrong indentation can break your entire system.</p><p>Always validate before deploying.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=4e039ecfbc52" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ Kubernetes Common Issues #25: Ingress Not Found]]></title>
            <link>https://medium.com/@nilkanthmistry/kubernetes-common-issues-25-ingress-not-found-3a2b8ee465c7?source=rss-ba98c4dde7c0------2</link>
            <guid isPermaLink="false">https://medium.com/p/3a2b8ee465c7</guid>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[aws]]></category>
            <dc:creator><![CDATA[Nilkanth mistry]]></dc:creator>
            <pubDate>Sun, 05 Apr 2026 06:27:58 GMT</pubDate>
            <atom:updated>2026-04-05T06:27:58.164Z</atom:updated>
            <content:encoded><![CDATA[<h3>🎯 Introduction</h3><p>In Kubernetes, <strong>Ingress</strong> is responsible for exposing your applications to the outside world.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*0buvQhigiUbJl15JHJhZUA.png" /></figure><p>But sometimes, you may face:</p><p>👉 <strong>Ingress Not Found</strong></p><p>This issue can completely break access to your application and lead to:</p><ul><li>❌ Website not accessible</li><li>❌ API endpoints failing</li><li>❌ 404 / 503 errors</li><li>❌ Production downtime</li></ul><h3>🔍 What Does “Ingress Not Found” Mean?</h3><p>This error occurs when Kubernetes cannot locate or route traffic through an Ingress resource.</p><p>You may see:</p><pre>Error from server (NotFound): ingresses not found</pre><p>or:</p><ul><li>Domain not resolving</li><li>404 Not Found from ingress controller</li></ul><p>👉 Meaning:<br><strong>Ingress resource is missing or not configured properly.</strong></p><h3>🧠 Real Production Scenario</h3><p>You deploy your application and create an Ingress.</p><p>But:</p><ul><li>Domain returns 404</li><li>API is unreachable</li><li>Everything works internally</li></ul><p>After debugging:</p><p>❌ Ingress resource missing<br>❌ Wrong host/path configuration</p><h3>🚩 Common Symptoms</h3><ul><li>Domain not accessible</li><li>404 / 503 errors</li><li>kubectl get ingress returns empty</li><li>Ingress exists but not routing</li><li>TLS/SSL issues</li></ul><h3>🔎 Step-by-Step Troubleshooting</h3><h3>✅ Step 1 — Check Ingress</h3><pre>kubectl get ingress -A</pre><h3>✅ Step 2 — Describe Ingress</h3><pre>kubectl describe ingress &lt;name&gt;</pre><p>Check:</p><ul><li>Rules</li><li>Backend service</li></ul><h3>✅ Step 3 — Verify Service</h3><pre>kubectl get svc</pre><p>Ensure:</p><ul><li>Service exists</li><li>Correct port</li></ul><h3>✅ Step 4 — Check Ingress Controller</h3><pre>kubectl get pods -n ingress-nginx</pre><p>Verify:</p><ul><li>Controller is running</li></ul><h3>✅ Step 5 — Check DNS</h3><p>Ensure:</p><ul><li>Domain points to correct IP</li></ul><h3>🛠️ Common Root Causes</h3><p>From real production cases:</p><ol><li>❌ Ingress resource not created</li><li>❌ Wrong service name/port</li><li>❌ Ingress controller not installed</li><li>❌ DNS misconfiguration</li><li>❌ Incorrect host/path rules</li><li>❌ TLS misconfiguration</li></ol><h3>✅ Production Fix Strategies</h3><h3>✔️ Fix 1 — Create Ingress Resource</h3><pre>kubectl apply -f ingress.yaml</pre><h3>✔️ Fix 2 — Verify Backend Service</h3><p>Ensure:</p><ul><li>Service name correct</li><li>Port matches</li></ul><h3>✔️ Fix 3 — Install Ingress Controller</h3><p>Example:</p><ul><li>NGINX Ingress Controller</li></ul><h3>✔️ Fix 4 — Fix DNS</h3><p>Point domain to:</p><ul><li>LoadBalancer IP</li></ul><h3>✔️ Fix 5 — Validate YAML</h3><pre>kubectl apply --dry-run=client -f ingress.yaml</pre><h3>🚨 Senior DevOps Tips</h3><p>✅ Always verify ingress controller health<br>✅ Use proper domain + DNS setup<br>✅ Monitor ingress logs<br>✅ Test routes before production<br>✅ Use HTTPS properly</p><h3>🎯 Final Thoughts</h3><p>Ingress issues are often configuration mistakes — but their impact is huge.</p><p>A small misconfiguration can take your entire application offline.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=3a2b8ee465c7" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ Kubernetes Common Issues #24: Insufficient Pod CIDR]]></title>
            <link>https://medium.com/@nilkanthmistry/kubernetes-common-issues-24-insufficient-pod-cidr-91961fa8c2dd?source=rss-ba98c4dde7c0------2</link>
            <guid isPermaLink="false">https://medium.com/p/91961fa8c2dd</guid>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[devops]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[kubernetes]]></category>
            <dc:creator><![CDATA[Nilkanth mistry]]></dc:creator>
            <pubDate>Sat, 04 Apr 2026 17:36:26 GMT</pubDate>
            <atom:updated>2026-04-04T17:36:26.588Z</atom:updated>
            <content:encoded><![CDATA[<h3>🎯 Introduction</h3><p>Kubernetes networking is powerful — but sometimes it fails in unexpected ways.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*yraDWI3ROPPAie4l4Y4l0Q.png" /></figure><p>One such issue is:</p><p>👉 <strong>Insufficient Pod CIDR</strong></p><p>This happens when your cluster runs out of IP addresses for pods.</p><p>And in production, it can cause:</p><ul><li>❌ Pods stuck in Pending</li><li>❌ New deployments failing</li><li>❌ Autoscaling issues</li><li>❌ Cluster capacity limits</li></ul><h3>🔍 What Is Pod CIDR?</h3><p>Each Kubernetes node gets a <strong>CIDR range (IP block)</strong> to assign IPs to pods.</p><p>Example:</p><ul><li>Node CIDR: 10.244.1.0/24</li><li>Total IPs: ~256</li></ul><p>👉 If all IPs are used → <strong>no new pods can be created</strong></p><h3>🚨 What Does “Insufficient Pod CIDR” Mean?</h3><p>This error occurs when:</p><ul><li>Node has no free IPs</li><li>Cluster CIDR range is exhausted</li></ul><p>You may see:</p><pre>Failed to allocate IP for pod</pre><p>or</p><pre>Insufficient pod CIDR</pre><h3>🧠 Real Production Scenario</h3><p>Your application scales during high traffic.</p><p>But suddenly:</p><ul><li>New pods remain in Pending</li><li>Autoscaler adds nodes but still fails</li><li>No clear CPU/memory issue</li></ul><p>Root cause:</p><p>❌ No available IP addresses</p><h3>🚩 Common Symptoms</h3><ul><li>Pods stuck in <strong>Pending</strong></li><li>Error: failed to assign IP</li><li>Node running out of pod IPs</li><li>Network plugin errors</li><li>Scaling not working</li></ul><h3>🔎 Step-by-Step Troubleshooting</h3><h3>✅ Step 1 — Check Pod Status</h3><pre>kubectl get pods -A</pre><h3>✅ Step 2 — Describe Pod</h3><pre>kubectl describe pod &lt;pod-name&gt;</pre><p>Look for:</p><ul><li>IP allocation errors</li></ul><h3>✅ Step 3 — Check Node CIDR</h3><pre>kubectl describe node &lt;node-name&gt;</pre><p>Check:</p><ul><li>PodCIDR range</li></ul><h3>✅ Step 4 — Check CNI Plugin Logs</h3><p>Example:</p><ul><li>Calico</li><li>Flannel</li></ul><p>Logs will show IP exhaustion.</p><h3>🛠️ Common Root Causes</h3><p>From real-world cases:</p><ol><li>❌ Small Pod CIDR range</li><li>❌ Too many pods per node</li><li>❌ Improper cluster network design</li><li>❌ Autoscaling without CIDR expansion</li><li>❌ CNI misconfiguration</li></ol><h3>✅ Production Fix Strategies</h3><h3>✔️ Fix 1 — Increase Pod CIDR Range</h3><p>Update cluster configuration:</p><ul><li>Larger CIDR block</li></ul><h3>✔️ Fix 2 — Add More Nodes</h3><p>Distribute pods across nodes.</p><h3>✔️ Fix 3 — Reduce Pods per Node</h3><p>Limit pod density.</p><h3>✔️ Fix 4 — Use Better CNI Plugin</h3><p>Example:</p><ul><li>Calico with IPAM optimization</li></ul><h3>✔️ Fix 5 — Plan Network Properly</h3><p>Design CIDR ranges before scaling.</p><h3>🚨 Senior DevOps Tips</h3><p>✅ Always plan CIDR ranges for future scale<br>✅ Monitor IP usage per node<br>✅ Avoid maxing out pod density<br>✅ Use scalable CNI plugins<br>✅ Test scaling scenarios</p><h3>🎯 Final Thoughts</h3><p>Insufficient Pod CIDR is not a simple bug — it’s a <strong>cluster design limitation</strong>.</p><p>Proper planning can completely avoid this issue.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=91961fa8c2dd" width="1" height="1" alt="">]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[ Kubernetes Common Issues #23: PVC Quota Exceeded]]></title>
            <link>https://medium.com/@nilkanthmistry/kubernetes-common-issues-23-pvc-quota-exceeded-c9e4752b36d9?source=rss-ba98c4dde7c0------2</link>
            <guid isPermaLink="false">https://medium.com/p/c9e4752b36d9</guid>
            <category><![CDATA[learning]]></category>
            <category><![CDATA[kubernetes]]></category>
            <category><![CDATA[aws]]></category>
            <category><![CDATA[cloud-computing]]></category>
            <category><![CDATA[devops]]></category>
            <dc:creator><![CDATA[Nilkanth mistry]]></dc:creator>
            <pubDate>Fri, 03 Apr 2026 15:40:32 GMT</pubDate>
            <atom:updated>2026-04-03T15:40:32.589Z</atom:updated>
            <content:encoded><![CDATA[<h3>🎯 Introduction</h3><p>In Kubernetes, resource quotas are used to control how much storage a namespace can consume.</p><p>But when limits are reached, you may face:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*IoPSKtd3FpbiDr5b3sZCnQ.png" /></figure><p>👉 <strong>PVC Quota Exceeded</strong></p><p>This can completely block deployments and cause:</p><ul><li>❌ New pods not starting</li><li>❌ PVC creation failure</li><li>❌ Storage allocation blocked</li><li>❌ Production delays</li></ul><h3>🔍 What Does “PVC Quota Exceeded” Mean?</h3><p>This error occurs when your namespace has reached its <strong>maximum allowed storage quota</strong>.</p><p>You may see errors like:</p><pre>exceeded quota: storage quota limit reached</pre><p>or</p><pre>requested storage exceeds quota</pre><p>👉 Meaning:<br><strong>You have no more storage available under current quota limits.</strong></p><h3>🧠 Real Production Scenario</h3><p>You deploy a new application with storage.</p><p>But:</p><ul><li>PVC creation fails</li><li>Pods stay in Pending</li><li>Deployment does not proceed</li></ul><p>After checking:</p><p>❌ Namespace storage quota already exhausted</p><p>Production rollout stops 🚨</p><h3>🚩 Common Symptoms</h3><ul><li>PVC stuck in Pending</li><li>Error: quota exceeded</li><li>New deployments failing</li><li>Storage not provisioned</li><li>Namespace hitting limits</li></ul><h3>🔎 Step-by-Step Troubleshooting</h3><h3>✅ Step 1 — Check PVC Status</h3><pre>kubectl get pvc</pre><h3>✅ Step 2 — Check Resource Quota</h3><pre>kubectl get resourcequota -n &lt;namespace&gt;</pre><h3>✅ Step 3 — Describe Quota</h3><pre>kubectl describe resourcequota &lt;quota-name&gt; -n &lt;namespace&gt;</pre><p>Check:</p><ul><li>Used vs Hard limits</li></ul><h3>✅ Step 4 — Check Storage Usage</h3><p>Identify:</p><ul><li>Existing PVC sizes</li><li>Total allocated storage</li></ul><h3>🛠️ Common Root Causes</h3><p>From real production cases:</p><ol><li>❌ Namespace quota too low</li><li>❌ Too many PVCs created</li><li>❌ Large storage requests</li><li>❌ Unused PVCs not deleted</li><li>❌ Poor storage planning</li></ol><h3>✅ Production Fix Strategies</h3><h3>✔️ Fix 1 — Increase Quota</h3><p>Update ResourceQuota:</p><pre>spec:<br>  hard:<br>    requests.storage: 100Gi</pre><h3>✔️ Fix 2 — Delete Unused PVCs</h3><pre>kubectl delete pvc &lt;pvc-name&gt;</pre><h3>✔️ Fix 3 — Optimize Storage Usage</h3><ul><li>Reduce unnecessary volume sizes</li><li>Use efficient storage</li></ul><h3>✔️ Fix 4 — Use Multiple Namespaces</h3><p>Distribute workloads across namespaces.</p><h3>✔️ Fix 5 — Monitor Storage Proactively</h3><p>Avoid hitting limits suddenly.</p><h3>🚨 Senior DevOps Tips</h3><p>✅ Always monitor quota usage<br>✅ Clean unused PVCs regularly<br>✅ Set alerts for quota thresholds<br>✅ Plan storage capacity in advance<br>✅ Avoid over-provisioning</p><h3>🎯 Final Thoughts</h3><p>PVC quota exceeded is not a bug — it’s a <strong>governance mechanism</strong>.</p><p>But without monitoring, it can break your production pipelines instantly.</p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=c9e4752b36d9" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>