TechOps Examples

Hey — It's Govardhana MK 👋

Welcome to another technical edition.

Every Tuesday – You’ll receive a free edition with a byte-size use case, remote job opportunities, top news, tools, and articles.

Every Thursday and Saturday – You’ll receive a special edition with a deep dive use case, remote job opportunities, and articles.

Your pricing page says the free trial lasts 14 days. Your help center says 30. Customers, employees, and AI tools end up with conflicting answers.

With Lens, you can:

→ Unify knowledge across websites, docs, and wikis.
→ Identify contradictions across your content.
→ Review conflicting passages side by side.
→ Deliver consistent answers across connected tools.

Looking to promote your company, product, service, or event to 50,000+ Cloud Native Professionals? Let's work together. Advertise With Us

🧠 DEEP DIVE USE CASE

Kubernetes Services and Application Exposure Patterns

If you ever…

  • deployed an application and needed a single, reliable way to access it

  • wanted multiple replicas to receive traffic without managing them individually

  • needed to expose the same app differently for internal traffic, node level access, or external users

Kubernetes Services are built for this purpose.

A Service acts as a stable access layer in front of your pods.

Before getting into today’s context, you need to understand a few basics.

How Kubernetes Services Work

A Service defines how traffic reaches your application, without worrying about individual pods, their IPs, or where they are running.

  • Traffic always reaches the Service first, never the pod directly

  • The Service exposes a fixed endpoint, even though pods are ephemeral

  • One Service can route traffic to a single pod or multiple pods

  • Different Services can exist for different versions of the same app

  • Clients do not need to know how many pods exist or where they run

This is what makes application access predictable in Kubernetes.

How It Does That?

A Service relies entirely on labels attached to pods at creation time.

When a Service is created, it declares a selector that describes the kind of pods it wants to target. Any pod whose labels match that selector automatically becomes part of the Service. Pods that do not match are ignored, even if they are healthy and running in the same cluster.

This is why traffic flows only to pods marked app=prod, while the app=dev pod remains isolated.

What this design enables in practice:

  • One Service can front multiple pod replicas without extra configuration

  • New pods start receiving traffic the moment they appear

  • Removed or failed pods stop receiving traffic automatically

  • Different environments can coexist using different labels

  • Traffic control stays declarative, not procedural

Note: Labels define identity. Services use that identity to route traffic.

With this understanding, let’s look at how applications are exposed using different Kubernetes Service types.

  1. ClusterIP

  2. NodePort

  3. LoadBalancer

🔴 Get my DevOps & Kubernetes ebooks! (free for Premium Club and Personal Tier newsletter subscribers)

logo

Upgrade to Paid to read the rest.

Become a paying subscriber to get access to this post and other subscriber-only content.

Upgrade

Already a subscriber? Sign in

Paid subscriptions get you:

  • Access to archive of 250+ use cases
  • Deep Dive use case editions (Thursdays and Saturdays)
  • Access to Private Discord Community
  • Invitations to monthly Zoom calls for use case discussions and industry leaders meetups
  • Quarterly 1:1 'Ask Me Anything' power session