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
    • Yandex SIEM
    • 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.
Terraform in Yandex Cloud
  • Getting started
  • Setting up Yandex Cloud Terraform provider authentication
  • Solution library
    • Overview
    • Release notes
          • kubernetes_cluster
          • kubernetes_node_group

In this article:

  • Example usage
  • Arguments & Attributes Reference
  1. Terraform reference
  2. Resources
  3. Managed Services for Kubernetes
  4. Data Sources
  5. kubernetes_node_group

yandex_kubernetes_node_group (DataSource)

Written by
Yandex Cloud
Updated at September 23, 2026
View in Markdown
  • Example usage
  • Arguments & Attributes Reference

Get information about a Yandex Kubernetes Node Group. For more information, see the official documentation.

Warning

One of node_group_id or name should be specified.

Example usageExample usage

//
// Get information about existing Managed Kubernetes Node Group.
//
data "yandex_kubernetes_node_group" "my_node_group" {
  node_group_id = "some_k8s_node_group_id"
}

output "my_node_group.status" {
  value = data.yandex_kubernetes_node_group.my_node_group.status
}

Arguments & Attributes ReferenceArguments & Attributes Reference

  • allocation_policy (Read-Only) (List Of Object). This argument specify subnets (zones), that will be used by node group compute instances.
    • location .
      • subnet_id .
      • zone .
  • allowed_unsafe_sysctls (Read-Only) (List Of String). A list of allowed unsafe sysctl parameters for this node group. For more details see documentation.
  • cluster_id (Read-Only) (String). The ID of the Kubernetes cluster that this node group belongs to.
  • created_at (Read-Only) (String). The creation timestamp of the resource.
  • deploy_policy (Read-Only) (List Of Object). Deploy policy of the node group.
    • max_expansion .
    • max_unavailable .
  • description (Read-Only) (String). The resource description.
  • folder_id (String). The folder identifier that resource belongs to. If it is not provided, the default provider folder-id is used.
  • id (String).
  • instance_group_id (Read-Only) (String). ID of instance group that is used to manage this Kubernetes node group.
  • instance_template (Read-Only) (List Of Object). Template used to create compute instances in this Kubernetes node group.
    • boot_disk .
      • size .
      • type .
    • container_network .
      • pod_mtu .
    • container_runtime .
      • type .
    • gpu_settings .
      • gpu_cluster_id .
      • gpu_environment .
    • labels .
    • metadata .
    • name .
    • nat .
    • network_acceleration_type .
    • network_interface .
      • ipv4 .
      • ipv4_dns_records .
        • dns_zone_id .
        • fqdn .
        • ptr .
        • ttl .
      • ipv6 .
      • ipv6_dns_records .
        • dns_zone_id .
        • fqdn .
        • ptr .
        • ttl .
      • nat .
      • security_group_ids .
      • subnet_ids .
    • placement_policy .
      • placement_group_id .
    • platform_id .
    • reserved_instance_pool_id .
    • resources .
      • core_fraction .
      • cores .
      • gpus .
      • memory .
    • scheduling_policy .
      • preemptible .
  • labels (Read-Only) (Map Of String). A set of key/value label pairs which assigned to resource.
  • maintenance_policy (Read-Only) (List Of Object). Maintenance policy for this Kubernetes node group. If policy is omitted, automatic revision upgrades are enabled and could happen at any time. Revision upgrades are performed only within the same minor version, e.g. 1.29. Minor version upgrades (e.g. 1.29->1.30) should be performed manually.
    • auto_repair .
    • auto_upgrade .
    • maintenance_window .
      • day .
      • duration .
      • start_time .
  • name (String). The resource name.
  • node_group_id (String). ID of a specific Kubernetes node group.
  • node_labels (Read-Only) (Map Of String). A set of key/value label pairs, that are assigned to all the nodes of this Kubernetes node group.
  • node_taints (Read-Only) (List Of String). A list of Kubernetes taints, that are applied to all the nodes of this Kubernetes node group.
  • scale_policy (Read-Only) (List Of Object). Scale policy of the node group.
    • auto_scale .
      • initial .
      • max .
      • min .
    • fixed_scale .
      • size .
  • status (Read-Only) (String). Status of the Kubernetes node group.
  • variables (Read-Only) (Map Of String). Variables for templating as key/value pairs.
  • version_info (Read-Only) (List Of Object). Information about Kubernetes node group version.
    • current_version .
    • new_revision_available .
    • new_revision_summary .
    • version_deprecated .
  • workload_identity_federation (Read-Only) (List Of Object). Workload Identity Federation configuration.
    • enabled .

Was the article helpful?

Previous
kubernetes_cluster
Next
kubernetes_cluster
© 2026 Direct Cursus Technology L.L.C.