Yandex Cloud
Search
Contact UsGet started
  • Blog
  • Pricing
  • Documentation
  • All Services
  • System Status
    • Featured
    • Infrastructure & Network
    • Data Platform
    • Containers
    • Developer tools
    • Serverless
    • Security
    • Monitoring & Resources
    • ML & AI
    • Business tools
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Customer Stories
    • Gateway to Russia
    • Cloud for Startups
    • Education and Science
  • Blog
  • Pricing
  • Documentation
Yandex project
© 2025 Yandex.Cloud LLC
Yandex Managed Service for Kubernetes
  • Comparison with other Yandex Cloud services
  • Getting started
    • Resource relationships
    • Release channels and updates
    • Encryption
      • Volume
      • Service
    • Networking in Managed Service for Kubernetes
    • Network settings and cluster policies
    • Automatic scaling
    • Audit policy
    • External cluster nodes
    • Quotas and limits
    • Managed Service for Kubernetes usage recommendations
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Release notes

In this article:

  • Service types
  • Use cases
  1. Concepts
  2. Using Kubernetes API objects
  3. Service

Service

Written by
Yandex Cloud
Updated at April 18, 2025
  • Service types
  • Use cases

Each pod in the Kubernetes cluster is assigned an internal IP address. Since pods are created and deleted and their IP addresses change, it makes no sense to use IP addresses for pods directly. Use services to get permanent access to the pods and stop using internal IP addresses.

A service is a Kubernetes API object (Service) designed to provide access to an app running as a set of pods in a Kubernetes cluster.

If you use a service, you get a permanent IP address that exists throughout the service lifecycle, even if pods change their IP addresses. It also provides load balancing. Clients send requests to a single IP address, and their requests are balanced between the pods belonging to the service.

The set of pods belonging to the service is defined by a selector. The selector is configured by the user when creating the pod and allows filtering the list of resources based on labels (key-value pairs assigned to the resource). The pod belongs to the service if it has all the Kubernetes labels specified in the selector.

Depending on your task, you can use different types of services.

Service typesService types

You can use various types of services in your Kubernetes clusters, including:

  • ClusterIP
    • The service is accessible only within the Kubernetes cluster network via an internal IP address.
    • Requires no additional cloud resources.
  • NodePort: A ClusterIP type extension.
    • Provides access to the service via internal or public Kubernetes cluster node IP addresses.
    • Requires no additional cloud resources.
  • LoadBalancer: A NodePort type extension.
    • Provides access to the service via a cloud network load balancer you create.
    • Requires additional cloud resources (network load balancer).

To publish your app, use a LoadBalancer service based on a network load balancer with a public or internal IP address.

If DDoS protection is required, reserve a public IP address with protection enabled and specify it using the loadBalancerIP option.

Read more about types of services in the Kubernetes documentation.

Use casesUse cases

  • Using Jaeger to trace requests in Managed Service for YDB

See alsoSee also

  • Granting access to an app running in a Kubernetes cluster

Was the article helpful?

Previous
Volume
Next
Cluster autoscaler
Yandex project
© 2025 Yandex.Cloud LLC