Yandex.Cloud
  • Services
  • Why Yandex.Cloud
  • Solutions
  • Pricing
  • Documentation
  • Contact us
Get started
Yandex Managed Service for Kubernetes
  • Getting started
  • Step-by-step instructions
    • All instructions
    • Connecting to a node over SSH
    • Creating a configuration file
    • Configuring a Kubernetes cluster network
      • Granting access to an app running in a Kubernetes cluster
      • Using Kubernetes cluster network policies
    • Encrypting secrets
    • Using persistent volumes
      • Dynamically preparing volumes
      • Statically preparing volumes
      • Managing storage classes
      • Expanding a volume
      • Mounting a volume in Block mode
    • Managing a Kubernetes cluster
      • Adding Kubernetes cluster credentials to the kubectl configuration file
      • Getting information about a Kubernetes cluster
      • Creating a Kubernetes cluster
      • Editing a Kubernetes cluster
      • Deleting a Kubernetes cluster
    • Managing a node group
      • Getting information about a node group
      • Creating a node group
      • Editing a node group
      • Deleting a node group
  • Solutions
    • All solutions
    • Integration with Container Registry
    • Running workloads with GPUs
    • Installing the NGINX Ingress Controller with Let's Encrypt®
    • Making backups to Object Storage
  • Concepts
    • Relationship between service resources
    • Release channels and updates
    • Using Kubernetes API objects
      • Volume
      • Service
    • Node group
      • Autoscaling node groups
      • Evicting pods from a node
      • Dynamic resource allocation for a node
      • Node groups with GPUs
    • Kubernetes cluster network policies
    • Quotas and limits
  • Access management
  • Pricing policy
  • API reference
    • Authentication in the API
    • gRPC
      • Overview
      • ClusterService
      • NodeGroupService
      • VersionService
      • OperationService
    • REST
      • Overview
      • Cluster
        • Overview
        • create
        • delete
        • get
        • list
        • listNodeGroups
        • listNodes
        • listOperations
        • start
        • stop
        • update
      • NodeGroup
        • Overview
        • create
        • delete
        • get
        • list
        • listNodes
        • listOperations
        • update
      • Version
        • Overview
        • list
  • Questions and answers
  1. Concepts
  2. Node group
  3. Dynamic resource allocation for a node

Dynamic resource allocation

  • Amount of allocated RAM and CPU resources
    • RAM resource allocation
    • CPU resource allocation

Nodes need resources to run the Kubernetes components in charge of running the node as part of the Kubernetes cluster. This is why the resulting amount of node resources may not match the resources allocated for the jobs in the Kubernetes cluster.

Some nodes need more resources:

  • Nodes with a more powerful configuration, which can run more containers and more pods, need more resources allocated to them.
  • Nodes running Windows Server. These nodes need more resources than Linux nodes, since they need more resources to support the Windows and Windows Server components that can't run in containers.

To view the node resources allocated to the Kubernetes components, run the command:

kubectl describe node <node name> | grep Allocatable -B 4 -A 3

Amount of allocated RAM and CPU resources

RAM resource allocation

For RAM, the following resources are allocated:

  • 255 MB of RAM for nodes with less than 1 GB of RAM.
  • 25% from the first 4 GB of RAM.
  • 20% from the next 4 GB of RAM (up to 8 GB).
  • 10% from the next 8 GB of RAM (up to 16 GB).
  • 6% from the next 112 GB (up to 128 GB).
  • 2% from RAM over 128 GB.

100 MB of RAM is additionally reserved on each node for kubelet eviction.

CPU resource allocation

For processors, the following resources are allocated:

  • 6% from the first core.
  • 1% from the next core (up to 2 cores inclusive).
  • 0.5% from the next two cores (up to 4 cores inclusive).
  • 0.25% from 5 and more cores.
Language / Region
Careers
Privacy policy
Terms of use
Brandbook
© 2021 Yandex.Cloud LLC