mindit.io logo
    • retail
      • / retail

        Retail industry, mindit.io

        In the intricate world of retail, mindit.io stands out as your strategic ally.

    • banking
      • / banking
        Woman using a card payment terminal, retail sector, mindit.io

        We partner with European banks on AI transformation, data-platform modernization, and regulatory-grade integration across Benelux, DACH, and UK.

    • financial services
      • / financial services

        Financial services: mindit.io data and AI

        Custom software and data platforms for asset managers, payments providers, and insurers across DACH and the US.

    • healthcare
      • / healthcare

        Doctor with digital tablet in hospital, healthcare sector, mindit.io

        ML and integration solutions for hospitals, health-tech platforms, and national health systems, including Switzerland’s national health sector.

    • hospitality
      • / hospitality
        Hospitality: mindit.io data and AI

        Operational and guest-experience software for hotels, restaurants, and global travel groups.

    • foodtech
      • / foodtech
        Burger and fresh salad, food and beverage sector, mindit.io

        Product engineering for the food industry: from plant-based configurators to supply-chain analytics.

    • manufacturing
      • / manufacturing
        Aerial view of industrial conveyor belt, manufacturing sector, mindit.io

        Industrial software, IoT integration, and data platforms for manufacturers modernizing operations.

    • publishing
      • / publishing
        Publishing: mindit.io AI solutions

        ML platforms and editorial workflow systems for publishers, including Izzard Ink Publishing.

    • real estate
      • / real estate
        Modern residential buildings at dusk, real estate sector, mindit.io

        Property tech and data analytics for real-estate operators and asset managers.

    • telco
      • / telco
        Person using smartphone, telecom sector, mindit.io

        Telecom-grade software for network optimization, customer-facing apps, and AI-driven insights.

    • / company
    • about us
      • / about us

        mindit.io partners and people
        The partner of choice for data & product engineering to drive business growth & deliver an impact within your organization
    • product engineering
      • / product engineering
        We specialize in Software Product Engineering, transforming your concepts into impactful products.
    • technology
      • / technology
        mindit.io AI Native company
        250+ specialists skilled in software, BI, integration, offering end-to-end services from research to ongoing maintenance.
    • methodology
      • / methodology
        Custom software solutions, mindit.io
        We specialize in software product engineering, transforming your concepts into impactful products.
    • careers
      • / careers
        Careers at mindit.io
        Our team needs one more awesome person, like you. Let’s grow together! Why not give it a try?
    • do good
      • / do good
        mindit.io team member do good ESG initiatives by the sea
        We’re a team devoted to making the world better with small acts. We get involved and always stand for kindness.
    • events
      • / events
        From Databricks’ Data + AI Summit to Day-to-Day: How the Latest Announcements Impact Real Deployments – Live Webinar
    • blog
      • / blog
        Databricks Just Moved the Goalposts. Here’s What That Means for Your Team.
        Databricks just rebuilt the data stack for AI agents. Here is what Retail and Banking should do about it.
    • contact us
      • / contact us
        Request a mindit.io webinar
        We would love to hear from you! We have offices and teams in Romania and Switzerland. How can we make your business thrive?
  • / get in touch

helping enterprises become AI-native organizations

Kubernetes 101 – Services

Intro

How do components interact with each other inside a Kubernetes cluster?

There are different types of communication in Kubernetes:

container-to-container (inside a pod)
pod-to-pod
pod-to-service
external-to-service

Service

A service is an abstraction which defines a set of pods and a policy by which to access them.

The set of pods targeted by a service is usually determined by a selector.

apiVersion: v1

kind: Service

metadata:

name: service

spec:

type: ClusterIP

selector:

app: pod

ports:

– protocol: TCP

port: 80

The above example suggests that this service applies to all pods with the label app:pod.

In this post we’ll talk about the most common types of services:

ClusterIP
NodePort
LoadBalancer

ClusterIP

This is the default service type.

It makes components reachable only from within the cluster.

If you still want to access it from outside the cluster, you can do it through a proxy.

NodePort

This type of service exposes pods on each node’s IP at a specific port.

apiVersion: v1

kind: Service

metadata:

name: node-service spec:

type: NodePort

selector:

app: pod

ports:

– name: http

protocol: TCP

targetPort: 80

nodePort: 30000

Still, there are a few downsides to this method:

You can only have one service per port
You can only use ports 30000–32767
If your Node/VM IP address change, you need to deal with that

LoadBalancer

This one exposes pods externally using a cloud provider’s load balancer.

If you want to send outside traffic to a pod, this is the default method.

apiVersion: v1

kind: Service

metadata:

name: service

spec:

type: LoadBalancer

clusterIP: 10.0.171.239

selector:

app: pod

ports:

– protocol: TCP

port: 80
Follow the Kubernetes 101 series on mindit.io.
Check out new-spike.net for other articles on Kubernetes and much more!

Distribute:

/turn your vision into reality

The best way to start a long-term collaboration is with a Pilot project. Let’s talk.