Yandex Cloud
Search
Discuss with expertTry it for free
  • Customer Stories
  • Documentation
  • Blog
  • All Services
    • Cloud Interconnect
    • Cloud Backup
    • Cloud Registry
    • Yandex AI Studio
    • Compute Cloud
    • Object Storage
    • Managed Service for Kubernetes®
    • Yandex BareMetal
    • Smart Web Security
    • Security Deck
    • Managed Service for PostgreSQL
    • Managed Service for ClickHouse®
    • Monium
    • Cloud CDN
    • Network Load Balancer
    • Virtual Private Cloud
    • Cloud DNS
    • Application Load Balancer
    • Yandex Cloud Video
    • Stackland
    • Yandex Cloud Router
    • Yandex Managed Service for Trino
    • Managed Service for MySQL®
    • Managed Service for Valkey™
    • Managed Service for Apache Spark™
    • Yandex StoreDoc
    • Managed Service for OpenSearch
    • Managed Service for Apache Kafka®
    • Data Transfer
    • Yandex MPP Analytics Engine for PostgreSQL
    • Yandex Managed Service for Apache Airflow®
    • Data Processing
    • Yandex MetaData Hub
    • Managed Service for YDB
    • Managed Service for Sharded PostgreSQL
    • Managed Service for YTsaurus
    • Yandex WebSQL
    • DataLens
    • Yandex Search API
    • SpeechSense
    • SpeechKit
    • DataSphere
    • Vision OCR
    • Translate
    • Yandex Identity Hub
    • Key Management Service
    • Certificate Manager
    • Yandex Lockbox
    • Audit Trails
    • SmartCaptcha
    • Yandex SIEM
    • SourceCraft Code Assistant
    • Container Registry
    • Managed Service for GitLab
    • Managed Service for Prometheus®
    • Cloud Functions
    • API Gateway
    • Yandex Cloud Postbox
    • Message Queue
    • IoT Core
    • Data Streams
    • Serverless Containers
    • Cloud Notification Service
    • Identity and Access Management
    • Yandex Cloud Console
    • Resource Manager
    • Yandex Cloud Billing
    • Yandex Cloud Quota Manager
    • Cloud Apps
  • System Status
  • Marketplace
    • Featured
    • Infrastructure & Network
    • Data Platform
    • AI for business
    • Security
    • DevOps tools
    • Serverless
    • Monitoring & Resources
  • All Solutions
    • By industry
    • By use case
    • Economics and Pricing
    • Security
    • Technical Support
    • Start testing with double trial credits
    • Cloud credits to scale your IT product
    • Gateway to Russia
    • Cloud for Startups
    • Center for Technologies and Society
    • Yandex Cloud Partner program
    • Price calculator
    • Pricing plans
  • Customer Stories
  • Documentation
  • Blog
© 2026 Direct Cursus Technology L.L.C.
Yandex Managed Service for Kubernetes
  • Comparing with other Yandex Cloud services
  • Getting started
    • Resource relationships
    • Large clusters
    • Release channels and updates
    • Support for Kubernetes versions
    • Zones of control in Managed Service for Kubernetes
    • Updating node group OS
    • Encryption
    • Networking in Managed Service for Kubernetes
    • Clusters with multiple ranges of pod IP addresses
    • Load balancer target groups
    • Network settings and cluster policies
    • Clusters without a preinstalled CNI
    • Autoscaling
    • Audit policy
    • External cluster nodes
    • Quotas and limits
    • Recommendations on using Managed Service for Kubernetes
    • Recommended master configurations
  • Access management
  • Pricing policy
  • Terraform reference
  • Monitoring metrics
  • Audit Trails events
  • Release notes

In this article:

  • Allocating IP addresses to pods
  • Range requirements
  • How to add a new range of pod IP addresses
  1. Concepts
  2. Clusters with multiple ranges of pod IP addresses

Clusters with multiple ranges of pod IP addresses

Written by
Yandex Cloud
Updated at October 29, 2026
View in Markdown
  • Allocating IP addresses to pods
  • Range requirements
  • How to add a new range of pod IP addresses

Support for multiple ranges of pod IP addresses (Cluster Multi-CIDR) allows you to assign multiple ranges of non-overlapping IP address to a cluster and add new ones without stopping or recreating the cluster. This feature allows you to create large clusters and scale existing ones, as well as to flexibly manage the address space within the overall network architecture.

Note

Support for multiple ranges of pod IP addresses is available only for clusters in the RAPID release channel. You can use no more than eight ranges in a single cluster.

Allocating IP addresses to podsAllocating IP addresses to pods

Ranges form a common pool of cluster IP addresses. You can set ranges when creating the cluster or add them later without stopping or recreating the cluster.

Each range is divided into blocks for nodes. Each node gets one block of IP addresses for pods. Therefore, the number of nodes a range can accommodate is determined by the number of such blocks.

The block size is determined by the node subnet mask in the cluster's network settings. When a node is added, the service allocates a free block to it, from which pods get their IP addresses on that node.

For example, a node gets the 10.1.128.0/24 block from the 10.1.0.0/16 range. This block is written to the spec.podCIDR field of the Node-type Kubernetes object representing the node. This node's pods get IP addresses from a dedicated block, e.g., 10.1.128.2 and 10.1.128.3.

If the current range runs out of free address blocks for new nodes, you can add another range to the cluster. New nodes will be getting blocks from available ranges. The IP addresses of existing nodes and pods do not change.

A cluster can have no more than eight ranges of pod IP addresses. You can add ranges but you cannot modify or delete them. Adding ranges does not increase quotas for nodes and other resources.

Range requirementsRange requirements

When planning address space, consider the following requirements:

  • Your cluster uses the RAPID release channel.
  • The number of pod IP address ranges is 8 or less.
  • Ranges do not overlap with each other.
  • Ranges do not overlap with the service range, master and node subnets, networks connected via VPN, Cloud Interconnect, and Cloud Router, and peer-to-peer networks.
  • The range accommodates at least one block of IP addresses for the node's pods. The block size is determined by the node subnet mask in the cluster's network settings.
  • Before adding a range, check the control mode for the masquerading settings. It determines whether the new range will be added to the exclusions automatically or you will have to add it manually.

How to add a new range of pod IP addressesHow to add a new range of pod IP addresses

To expand the pod address space:

  1. Select a range that meets the requirements and accommodates the necessary number of nodes.

    Each node gets one block of IP addresses for pods. The block size is determined by the node subnet mask in the cluster's network settings.

    To calculate the number of blocks in a range, use the numbers following /:

    Number of blocks = 2^(node subnet mask – range mask)
    

    For example, the 10.1.0.0/16 range with the /24 subnet mask contains 2^(24 − 16) = 256 blocks, from 10.1.0.0/24 to 10.1.255.0/24. This calculation does not consider the possible reservation of blocks by Managed Service for Kubernetes.

    Adding a range increases the number of blocks for new nodes. The size of blocks already allocated to existing nodes does not change. The actual number of nodes is also limited by quotas and limits.

  2. Add a new range to the cluster settings while preserving the existing ranges and wait for the operation to complete.

  3. If automatic masquerading management is disabled, manually add the new range to the masquerading exceptions.

  4. Check that the range has been added to the cluster settings.

    Warning

    Do not change or delete Virtual Private Cloud resources used by the Managed Service for Kubernetes cluster. This may cause cluster errors or make it impossible to delete later.

  5. Expand the node group and check the address blocks assigned to the new nodes.

Useful linksUseful links

  • Networking in Managed Service for Kubernetes
  • Quotas and limits in Managed Service for Kubernetes
  • Configuring masquerading in clusters with multiple ranges of pod IP addresses

Was the article helpful?

Previous
Networking in Managed Service for Kubernetes
Next
Load balancer target groups
© 2026 Direct Cursus Technology L.L.C.