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
    • Cloud Desktop
    • SourceCraft Code Assistant
    • Container Registry
    • Managed Service for GitLab
    • Managed Service for Prometheus®
    • Cloud Functions
    • API Gateway
    • Yandex Cloud Postbox
    • Message Queue
    • Serverless Integrations
    • IoT Core
    • Data Streams
    • Serverless Containers
    • Cloud Notification Service
    • Yandex Query
    • 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 Cloud Stackland
  • What's new
  • Installation
    • All tutorials
    • Installing Stackland on Yandex BareMetal
    • Installing Stackland on Yandex BareMetal via PXE
    • Installing Stackland on Yandex Cloud VMs
    • Setting up external access to a pod in a cluster
    • All guides
        • Activate YTsaurus
        • Updating cluster settings
        • Getting an administrator password and token
        • Opening the web UI
        • Connecting to the HTTP proxy
        • Disabling YTsaurus
    • Projects
    • Resource model
    • Scaling a cluster
  • Access management
  • Pricing policy
  • Diagnostics and troubleshooting

In this article:

  • Using the CLI
  • Basic configuration
  • Cluster core resources and replicas
  • Updating data node groups
  • Updating exec nodes groups
  • Updating tablet nodes groups
  • Managing additional subcomponents
  • Cron jobs
  • What's next
  1. Step-by-step guides
  2. Databases
  3. YTsaurus
  4. Updating cluster settings

Updating YTsaurus cluster settings

Written by
Yandex Cloud
Updated at July 24, 2026
View in Markdown
  • Using the CLI
  • Basic configuration
  • Cluster core resources and replicas
  • Updating data node groups
  • Updating exec nodes groups
  • Updating tablet nodes groups
  • Managing additional subcomponents
  • Cron jobs
  • What's next

If the YTsaurus component is enabled, you can edit cluster settings through the YTsaurusConfig main resource. The platform allows only one instance of the resource; its name is fixed: main.

Warning

  • Do not update multiple cluster subcomponents in a single edit: there is no guarantee that the cluster will return to Ready after such an update. Apply your updates one subcomponent at a time and wait till the cluster is ready before the next update.
  • When you update resources, replicas, and the composition of subcomponents, the YTsaurus operator restarts the relevant pods. While the new configuration is being applied, some requests get interrupted.
  • storage.size for primaryMasters, dataNodes, and execNodes can be only increased. Kubernetes validation will reject downsizing.
  • Storage class (storage.storageClass) is hardcoded into the PVC when the pod is first created. Once a PVC class is created, you cannot change it; to change to a different class, delete the group in question and recreate it with a new class: the group's data will be deleted.
  • In the dataNodes[], execNodes[], and tabletNodes[] lists, the name field is the immutable group key. Changing name deletes the old group along with its data and creates a new group.
  • The execNodes group named default is required; you cannot delete or rename it.
  • To disable the entire component, see Disabling YTsaurus.

Using the CLIUsing the CLI

  1. Upload the current YTsaurusConfig main resource to a file:

    kubectl get ytsaurusconfig main -o yaml > ytsaurusconfig.yaml
    

    An alternative option is to open the resource for interactive editing: kubectl edit ytsaurusconfig main.

  2. Edit the settings in one of the sections below.

  3. Apply the manifest:

    kubectl apply -f ytsaurusconfig.yaml
    
  4. Wait for the component to enter the ready state:

    kubectl get componentinstallation ytsaurus-main -w
    

    While the new configuration is being applied, status.phase is Updating; after the configuration is successfully applied it turns to Ready. If there is an error, the diagnostic text is available in status.message.

  5. Additionally, monitor the YTsaurus cluster status:

    kubectl -n stackland-ytsaurus get ytsaurus cluster -w
    

    The resource name matches spec.clusterName in YTsaurusConfig. Major changes (such as increasing primaryMasters.storage.size or adding a new node group) take several minutes to complete: the operator restarts the components one by one.

Basic configurationBasic configuration

  • spec.enabled: Component enabled flag. false disables the component and deletes the cluster together with its data. For more information, see Enabling YTsaurus and Disabling YTsaurus.
  • spec.clusterName: YTsaurus cluster name; displayed in the web interface and used to address resources in the stackland-ytsaurus namespace.

Cluster core resources and replicasCluster core resources and replicas

For each block in spec.cluster, you can change the number of the instanceCount pods and resources (cpu, memory). The instanceCount ranges are set by the YTsaurusConfig validation schema.

  • spec.cluster.discovery.instanceCount: 1–50.
  • spec.cluster.discovery.resources.cpu, spec.cluster.discovery.resources.memory.
  • spec.cluster.primaryMasters.instanceCount: 1–50.
  • spec.cluster.primaryMasters.resources.cpu, spec.cluster.primaryMasters.resources.memory.
  • spec.cluster.primaryMasters.storage.size: Metadata disk size. You can only increase this size.
  • spec.cluster.primaryMasters.storage.storageClass: Storage class. Once a PVC is created, it cannot be changed.
  • spec.cluster.httpProxies.instanceCount: 1–3.
  • spec.cluster.httpProxies.resources.cpu, spec.cluster.httpProxies.resources.memory.
  • spec.cluster.schedulers.instanceCount: 1–10.
  • spec.cluster.schedulers.resources.cpu, spec.cluster.schedulers.resources.memory.
  • spec.cluster.controllerAgents.instanceCount: 1–10.
  • spec.cluster.controllerAgents.resources.cpu, spec.cluster.controllerAgents.resources.memory.
  • spec.cluster.queryTrackers.instanceCount: 1–10.
  • spec.cluster.queryTrackers.resources.cpu, spec.cluster.queryTrackers.resources.memory.
  • spec.cluster.queueAgents.instanceCount: 1–10.
  • spec.cluster.queueAgents.resources.cpu, spec.cluster.queueAgents.resources.memory.
  • spec.cluster.rpcProxies.instanceCount: 1–3.
  • spec.cluster.rpcProxies.resources.cpu, spec.cluster.rpcProxies.resources.memory.
  • spec.cluster.yqlAgents.instanceCount: 1–3.
  • spec.cluster.yqlAgents.resources.cpu, spec.cluster.yqlAgents.resources.memory.
  • spec.cluster.bundleController.enabled: Flag enabling the tablet bundle controller.

Updating data node groupsUpdating data node groups

Storage node groups are described by the spec.cluster.dataNodes array. Each array entry is identified by the name field (^[a-z][a-z0-9-]*$ pattern).

  • spec.cluster.dataNodes[].instanceCount: 3–10. Minimum three nodes per group.
  • spec.cluster.dataNodes[].storage.size: Disk size. You can only increase this size.
  • spec.cluster.dataNodes[].storage.storageClass: Storage class. Once a PVC is created, it cannot be changed.
  • spec.cluster.dataNodes[].resources.cpu, spec.cluster.dataNodes[].resources.memory.

To add a new group, add an element to the array with a unique name. The operator will create new pods and PVCs for the group.

To delete a group, remove the relevant element from the array. This deletes the group's pods; the PVCs and the data stored in them get deleted together with the pod because they are originally created from volumeClaimTemplates. Delete the group only if you no longer need the data.

Updating exec nodes groupsUpdating exec nodes groups

Execution node groups are described by the spec.cluster.execNodes array. This array must contain an entry with name: default, otherwise the operator will reject the configuration without this group.

  • spec.cluster.execNodes[].name: ^[a-z][a-z0-9-]*$ pattern. Immutable group key.
  • spec.cluster.execNodes[].instanceCount: 1–50.
  • spec.cluster.execNodes[].storage.size: Disk size for slots and caches. You can only increase this size.
  • spec.cluster.execNodes[].storage.storageClass: Storage class. Once a PVC is created, it cannot be changed.
  • spec.cluster.execNodes[].resources.cpu, spec.cluster.execNodes[].resources.memory.
  • spec.cluster.execNodes[].resources.gpu: Number of GPUs per pod. The NVIDIA® GPU Support component must be enabled, and the cluster nodes must have a GPU.

The rules for adding and removing groups are the same as for dataNodes. You cannot delete the default group.

Updating tablet nodes groupsUpdating tablet nodes groups

The spec.cluster.tabletNodes list is optional; you can leave it empty if not using dynamic tables.

  • spec.cluster.tabletNodes[].name: ^[a-z][a-z0-9-]*$ pattern. Immutable group key.
  • spec.cluster.tabletNodes[].instanceCount: 1–50.
  • spec.cluster.tabletNodes[].resources.cpu, spec.cluster.tabletNodes[].resources.memory.

Dynamic table nodes do not use individual PVCs, so deleting a group only deletes the pods.

Managing additional subcomponentsManaging additional subcomponents

Additional subcomponents are enabled and disabled via the enabled flags in relevant spec.cluster fields. When you change a flag, the operator creates or deletes the helm release and associated Kubernetes resources.

  • spec.cluster.ui.enabled: YTsaurus web UI.
  • spec.cluster.ui.ingressEnabled: Publishing an Ingress at ytsaurus.<system_domain>. Makes sense only if ui.enabled: true.
  • spec.cluster.ui.resources.cpu, spec.cluster.ui.resources.memory: Web interface pod resources.
  • spec.cluster.strawberry.enabled: Strawberry controller. Required if you plan to use CHYT or SPYT.
  • spec.cluster.strawberry.resources.cpu, spec.cluster.strawberry.resources.memory.
  • spec.cluster.chyt.enabled: CHYT, a ClickHouse® engine on top of YTsaurus. Before turning it on, make sure strawberry is on.
  • spec.cluster.spyt.enabled: SPYT, an Apache Spark™ engine on top of YTsaurus. Before turning it on, make sure strawberry is on.
  • spec.cluster.taskProxy.enabled: Task Proxy used to run external tasks.
  • spec.cluster.taskProxy.instanceCount: 1–10.
  • spec.cluster.tutorial.enabled: Built-in YTsaurus tutorial. Creates a folder named //home/tutorial with examples.
  • spec.cluster.odin.enabled: Odin monitoring service. Once enabled, odin-alerts rules are activated.

Cron jobsCron jobs

You can set up regular //tmp folder cleanup in spec.cluster.cron.clear_tmp:

  • spec.cluster.cron.clear_tmp.enabled: Cleanup enabled flag.
  • spec.cluster.cron.clear_tmp.interval: Cleanup frequency. ^[0-9]+[hms]$ format, e.g., 15m, 1h, 30s. The default value is 15m.
  • spec.cluster.cron.clear_tmp.account_usage_percent_save_total: Total account quota usage threshold up to which cleanup is performed. From 0 to 100. The default value is 50.
  • spec.cluster.cron.clear_tmp.account_usage_percent_save_per_owner: Quota usage threshold per owner. From 0 to 100. The default value is 10.
  • spec.cluster.cron.clear_tmp.max_dir_node_count: Maximum number of nodes in the //tmp folder to activate cleanup. The default value is 100000.

What's nextWhat's next

  • Getting an administrator password and token
  • Opening the YTsaurus web UI
  • Connecting to the YTsaurus HTTP proxy
  • Disabling YTsaurus

Was the article helpful?

Previous
Activate YTsaurus
Next
Getting an administrator password and token
© 2026 Direct Cursus Technology L.L.C.