<?xml version="1.0" encoding="UTF-8"?>
<rss version="2.0" xmlns:atom="http://www.w3.org/2005/Atom" xmlns:dc="http://purl.org/dc/elements/1.1/">
  <channel>
    <title>DEV Community: Linta Paul</title>
    <description>The latest articles on DEV Community by Linta Paul (@linta_paul_31a3ca2bb8c0fb).</description>
    <link>https://dev.to/linta_paul_31a3ca2bb8c0fb</link>
    <image>
      <url>https://media2.dev.to/dynamic/image/width=90,height=90,fit=cover,gravity=auto,format=auto/https:%2F%2Fdev-to-uploads.s3.amazonaws.com%2Fuploads%2Fuser%2Fprofile_image%2F1567347%2F4b857e12-0188-4d4e-bbeb-24177e2526f2.png</url>
      <title>DEV Community: Linta Paul</title>
      <link>https://dev.to/linta_paul_31a3ca2bb8c0fb</link>
    </image>
    <atom:link rel="self" type="application/rss+xml" href="https://dev.to/feed/linta_paul_31a3ca2bb8c0fb"/>
    <language>en</language>
    <item>
      <title>Kubernetes Services — How Your App Finally Talks to the World</title>
      <dc:creator>Linta Paul</dc:creator>
      <pubDate>Mon, 11 May 2026 17:56:20 +0000</pubDate>
      <link>https://dev.to/linta_paul_31a3ca2bb8c0fb/kubernetes-services-how-your-app-finally-talks-to-the-world-5ck6</link>
      <guid>https://dev.to/linta_paul_31a3ca2bb8c0fb/kubernetes-services-how-your-app-finally-talks-to-the-world-5ck6</guid>
      <description>&lt;h2&gt;
  
  
  The Problem — Your App is Invisible
&lt;/h2&gt;

&lt;p&gt;You deployed your app in Kubernetes. Pods are running.&lt;br&gt;
But open a browser — nothing loads.&lt;/p&gt;

&lt;p&gt;Why? Pods are isolated by default. They have internal IPs &lt;br&gt;
that the outside world cannot reach. And those IPs change &lt;br&gt;
every time a Pod restarts.&lt;/p&gt;

&lt;h2&gt;
  
  
  What a Kubernetes Service Does
&lt;/h2&gt;

&lt;p&gt;A Service gives your app a stable, permanent endpoint — &lt;br&gt;
a fixed IP and port that stays the same no matter what &lt;br&gt;
happens to your Pods.&lt;/p&gt;

&lt;p&gt;It does three things:&lt;/p&gt;

&lt;ul&gt;
&lt;li&gt;Exposes a stable IP and port&lt;/li&gt;
&lt;li&gt;Groups the right Pods using &lt;strong&gt;selectors&lt;/strong&gt; (labels)&lt;/li&gt;
&lt;li&gt;Automatically reroutes traffic if a Pod crashes&lt;/li&gt;
&lt;/ul&gt;

&lt;h2&gt;
  
  
  The 3 Types of Services
&lt;/h2&gt;

&lt;div class="table-wrapper-paragraph"&gt;&lt;table&gt;
&lt;thead&gt;
&lt;tr&gt;
&lt;th&gt;Type&lt;/th&gt;
&lt;th&gt;Who Can Access&lt;/th&gt;
&lt;th&gt;Use Case&lt;/th&gt;
&lt;/tr&gt;
&lt;/thead&gt;
&lt;tbody&gt;
&lt;tr&gt;
&lt;td&gt;ClusterIP&lt;/td&gt;
&lt;td&gt;Inside cluster only&lt;/td&gt;
&lt;td&gt;Microservices&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;NodePort&lt;/td&gt;
&lt;td&gt;Same network&lt;/td&gt;
&lt;td&gt;Local testing&lt;/td&gt;
&lt;/tr&gt;
&lt;tr&gt;
&lt;td&gt;LoadBalancer&lt;/td&gt;
&lt;td&gt;The internet&lt;/td&gt;
&lt;td&gt;Production&lt;/td&gt;
&lt;/tr&gt;
&lt;/tbody&gt;
&lt;/table&gt;&lt;/div&gt;

&lt;h2&gt;
  
  
  A Real Service YAML
&lt;/h2&gt;



&lt;div class="highlight js-code-highlight"&gt;
&lt;pre class="highlight yaml"&gt;&lt;code&gt;&lt;span class="na"&gt;apiVersion&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;v1&lt;/span&gt;
&lt;span class="na"&gt;kind&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;Service&lt;/span&gt;
&lt;span class="na"&gt;metadata&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;name&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;my-web-service&lt;/span&gt;
&lt;span class="na"&gt;spec&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
  &lt;span class="na"&gt;type&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;LoadBalancer&lt;/span&gt;
  &lt;span class="na"&gt;selector&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="na"&gt;app&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="s"&gt;my-web-app&lt;/span&gt;      &lt;span class="c1"&gt;# finds pods with this label&lt;/span&gt;
  &lt;span class="na"&gt;ports&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt;
    &lt;span class="pi"&gt;-&lt;/span&gt; &lt;span class="na"&gt;port&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="m"&gt;80&lt;/span&gt;
      &lt;span class="na"&gt;targetPort&lt;/span&gt;&lt;span class="pi"&gt;:&lt;/span&gt; &lt;span class="m"&gt;8080&lt;/span&gt;
&lt;/code&gt;&lt;/pre&gt;

&lt;/div&gt;



&lt;h2&gt;
  
  
  The Key Insight
&lt;/h2&gt;

&lt;p&gt;Services find Pods by &lt;strong&gt;label, not IP address&lt;/strong&gt;.&lt;br&gt;
Pods can crash, restart, scale — the Service always finds them.&lt;br&gt;
Your users never notice anything happening in the backend.&lt;/p&gt;




&lt;p&gt;&lt;em&gt;This is Lesson 5 of my  Inside Kubernetes series.&lt;/em&gt;&lt;/p&gt;

&lt;p&gt;&lt;em&gt;Get all 10 lessons as a structured PDF → [coming soon on Gumroad]&lt;/em&gt;&lt;/p&gt;

</description>
      <category>kubernetes</category>
      <category>devops</category>
      <category>beginners</category>
      <category>cloudnative</category>
    </item>
  </channel>
</rss>
