From d4b4a484f65ad219f786939c3e19f43410b83680 Mon Sep 17 00:00:00 2001 From: Kay0k1 Date: Fri, 20 Mar 2026 18:39:29 +0300 Subject: [PATCH 1/8] Update Kubernetes version in cloud-init script --- .../operations/vm-create/create-with-cloud-init-scripts.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en/compute/operations/vm-create/create-with-cloud-init-scripts.md b/en/compute/operations/vm-create/create-with-cloud-init-scripts.md index 676d4aae6d..63ebfdb512 100644 --- a/en/compute/operations/vm-create/create-with-cloud-init-scripts.md +++ b/en/compute/operations/vm-create/create-with-cloud-init-scripts.md @@ -48,7 +48,7 @@ To create a VM with a custom configuration script: ```bash yc compute instance create \ --name my-sample-instance \ - --zone {{ region-id}}-a \ + --zone {{ region-id }}-a \ --network-interface subnet-name=,nat-ip-version=ipv4,security-group-ids= \ --create-boot-disk image-folder-id=standard-images,image-family=ubuntu-2204-lts,kms-key-id= \ --metadata-from-file user-data="" @@ -383,7 +383,7 @@ To make sure the configuration scripts ran successfully, [get the serial port ou --silent \ --show-error \ --location \ - https://dl.k8s.io/release/v1.3.0/bin/linux/amd64/kubectl \ + https://dl.k8s.io/release/v1.31.0/bin/linux/amd64/kubectl \ --output /usr/local/etc/kubectl sudo install -o root -g root -m 0755 /usr/local/etc/kubectl /usr/local/bin/kubectl sudo rm -rf /usr/local/etc/kubectl From d2e322038c5ff519a7c6fe1c7bdbb938e4c2d2a1 Mon Sep 17 00:00:00 2001 From: Kay0k1 Date: Fri, 20 Mar 2026 18:43:37 +0300 Subject: [PATCH 2/8] Update create-with-cloud-init-scripts.md --- .../operations/vm-create/create-with-cloud-init-scripts.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ru/compute/operations/vm-create/create-with-cloud-init-scripts.md b/ru/compute/operations/vm-create/create-with-cloud-init-scripts.md index 34de4750c1..79f85017b8 100644 --- a/ru/compute/operations/vm-create/create-with-cloud-init-scripts.md +++ b/ru/compute/operations/vm-create/create-with-cloud-init-scripts.md @@ -48,7 +48,7 @@ description: Следуя данной инструкции, вы сможете ```bash yc compute instance create \ --name my-sample-instance \ - --zone {{ region-id}}-a \ + --zone {{ region-id }}-a \ --network-interface subnet-name=<имя_подсети>,nat-ip-version=ipv4,security-group-ids=<идентификатор_группы_безопасности> \ --create-boot-disk image-folder-id=standard-images,image-family=ubuntu-2204-lts,kms-key-id=<идентификатор_ключа> \ --metadata-from-file user-data="<путь_к_файлу_конфигурации>" @@ -383,7 +383,7 @@ description: Следуя данной инструкции, вы сможете --silent \ --show-error \ --location \ - https://dl.k8s.io/release/v1.3.0/bin/linux/amd64/kubectl \ + https://dl.k8s.io/release/v1.31.0/bin/linux/amd64/kubectl \ --output /usr/local/etc/kubectl sudo install -o root -g root -m 0755 /usr/local/etc/kubectl /usr/local/bin/kubectl sudo rm -rf /usr/local/etc/kubectl From 96213c47bc641e9776849b18f76a36471341d63f Mon Sep 17 00:00:00 2001 From: Kay0k1 Date: Fri, 20 Mar 2026 18:46:27 +0300 Subject: [PATCH 3/8] Fix typo in resourceSpec to resourcesSpec --- ru/compute/operations/vm-create/create-linux-vm.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ru/compute/operations/vm-create/create-linux-vm.md b/ru/compute/operations/vm-create/create-linux-vm.md index a5abc66436..d42593c9d7 100644 --- a/ru/compute/operations/vm-create/create-linux-vm.md +++ b/ru/compute/operations/vm-create/create-linux-vm.md @@ -287,7 +287,7 @@ description: Следуя данной инструкции, вы сможете * `name` — имя, которое будет присвоено ВМ при создании. * `zoneId` — зона доступности, которая соответствует выбранной подсети. * `platformId` — [платформа](../../concepts/vm-platforms.md). - * `resourceSpec` — ресурсы, доступные ВМ. Значения должны соответствовать выбранной платформе. + * `resourcesSpec` — ресурсы, доступные ВМ. Значения должны соответствовать выбранной платформе. * `metadata` — в метаданных необходимо передать открытый ключ для SSH-доступа на ВМ. Подробнее в разделе [{#T}](../../concepts/vm-metadata.md). * `bootDiskSpec` — настройки загрузочного диска. Укажите идентификатор выбранного образа и размер диска. * `autoDelete` — настройка автоудаления загрузочного диска вместе с ВМ. См. [{#T}](../../concepts/disk.md#autodelete-disks). @@ -327,4 +327,4 @@ description: Следуя данной инструкции, вы сможете #### См. также {#see-also} -* [{#T}](../vm-connect/ssh.md). \ No newline at end of file +* [{#T}](../vm-connect/ssh.md). From f9fa2d4caa89b6e3a7ef713c4656fd492fda296e Mon Sep 17 00:00:00 2001 From: Kay0k1 Date: Fri, 20 Mar 2026 18:49:14 +0300 Subject: [PATCH 4/8] Fix typo in resourceSpec to resourcesSpec --- en/compute/operations/vm-create/create-linux-vm.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/en/compute/operations/vm-create/create-linux-vm.md b/en/compute/operations/vm-create/create-linux-vm.md index 38ecdeb27d..6750acc173 100644 --- a/en/compute/operations/vm-create/create-linux-vm.md +++ b/en/compute/operations/vm-create/create-linux-vm.md @@ -282,7 +282,7 @@ description: Use this tutorial to create a Linux VM. * `name`: Name the VM will get when created. * `zoneId`: Availability zone matching the selected subnet. * `platformId`: [Platform](../../concepts/vm-platforms.md). - * `resourceSpec`: Resources available to the VM. The values must match the selected platform. + * `resourcesSpec`: Resources available to the VM. The values must match the selected platform. * `metadata`: In metadata, provide the public key for accessing the VM via SSH. Learn more in [{#T}](../../concepts/vm-metadata.md). * `bootDiskSpec`: Boot disk settings. Specify the selected image ID and disk size. * `autoDelete`: Auto-delete the boot disk together with the VM. See [{#T}](../../concepts/disk.md#autodelete-disks). @@ -322,4 +322,4 @@ description: Use this tutorial to create a Linux VM. #### See also {#see-also} -* [{#T}](../vm-connect/ssh.md) \ No newline at end of file +* [{#T}](../vm-connect/ssh.md) From 4174060905922cfb07800ef619a9dd0578850aef Mon Sep 17 00:00:00 2001 From: Kay0k1 Date: Fri, 20 Mar 2026 18:50:44 +0300 Subject: [PATCH 5/8] Fix title for VM creation with Lockbox secret --- ru/compute/operations/vm-create/create-with-lockbox-secret.md | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/ru/compute/operations/vm-create/create-with-lockbox-secret.md b/ru/compute/operations/vm-create/create-with-lockbox-secret.md index 97829bd9d0..a5e608317b 100644 --- a/ru/compute/operations/vm-create/create-with-lockbox-secret.md +++ b/ru/compute/operations/vm-create/create-with-lockbox-secret.md @@ -1,5 +1,5 @@ --- -title: Как создать виртуальную машину с доступом в секрету {{ lockbox-name }} +title: Как создать виртуальную машину с доступом к секрету {{ lockbox-name }} description: Следуя данной инструкции, вы сможете получить изнутри виртуальной машины значение секрета {{ lockbox-full-name }}, переданного через метаданные при создании ВМ. --- @@ -257,4 +257,4 @@ description: Следуя данной инструкции, вы сможете * [{#T}](../../concepts/vm-metadata.md) * [{#T}](./create-with-env-variables.md) -* [{#T}](./create-with-cloud-init-scripts.md) \ No newline at end of file +* [{#T}](./create-with-cloud-init-scripts.md) From 5cbb3ff4eb976a0ea8b4ed6a8905f57f68129b0a Mon Sep 17 00:00:00 2001 From: Kay0k1 Date: Fri, 20 Mar 2026 18:52:56 +0300 Subject: [PATCH 6/8] Add v4_cidr_blocks to subnet resource --- ru/compute/operations/vm-create/create-vm-with-gpu.md | 9 +++++---- 1 file changed, 5 insertions(+), 4 deletions(-) diff --git a/ru/compute/operations/vm-create/create-vm-with-gpu.md b/ru/compute/operations/vm-create/create-vm-with-gpu.md index e83fa4bd9b..4d416c4aa4 100644 --- a/ru/compute/operations/vm-create/create-vm-with-gpu.md +++ b/ru/compute/operations/vm-create/create-vm-with-gpu.md @@ -164,9 +164,10 @@ description: Следуя данной инструкции, вы сможете } resource "yandex_vpc_subnet" "subnet-1" { - name = "subnet1" - zone = "<зона_доступности>" - network_id = "${yandex_vpc_network.network-1.id}" + name = "subnet1" + zone = "<зона_доступности>" + v4_cidr_blocks = ["192.168.1.0/24"] + network_id = "${yandex_vpc_network.network-1.id}" } ``` @@ -225,4 +226,4 @@ description: Следуя данной инструкции, вы сможете #### См. также {#see-also} -* Узнайте, как [изменить конфигурацию ВМ](../vm-control/vm-update-resources.md). \ No newline at end of file +* Узнайте, как [изменить конфигурацию ВМ](../vm-control/vm-update-resources.md). From 2bbf5989dcbb693ca8c64efd127aeabdab51f88a Mon Sep 17 00:00:00 2001 From: Kay0k1 Date: Fri, 20 Mar 2026 19:11:52 +0300 Subject: [PATCH 7/8] Update subnet resource to include v4_cidr_blocks Added v4_cidr_blocks to subnet resource for better configuration. --- en/compute/operations/vm-create/create-vm-with-gpu.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/en/compute/operations/vm-create/create-vm-with-gpu.md b/en/compute/operations/vm-create/create-vm-with-gpu.md index 78d71a286a..a1c72e2f1c 100644 --- a/en/compute/operations/vm-create/create-vm-with-gpu.md +++ b/en/compute/operations/vm-create/create-vm-with-gpu.md @@ -159,9 +159,10 @@ By default, a [cloud](../../../resource-manager/concepts/resources-hierarchy.md# } resource "yandex_vpc_subnet" "subnet-1" { - name = "subnet1" - zone = "" - network_id = "${yandex_vpc_network.network-1.id}" + name = "subnet1" + zone = "" + v4_cidr_blocks = ["192.168.1.0/24"] + network_id = "${yandex_vpc_network.network-1.id}" } ``` @@ -178,7 +179,6 @@ By default, a [cloud](../../../resource-manager/concepts/resources-hierarchy.md# * `yandex_compute_instance`: VM description: * `name`: VM name. * {% include [terraform-allow-stopping](../../../_includes/compute/terraform-allow-stopping.md) %} - * `platform_id`: [Platform](../../concepts/vm-platforms.md) ID: * `zone`: Availability zone the VM will reside in. {% include [gpu-zones](../../../_includes/compute/gpu-zones.md) %} @@ -220,4 +220,4 @@ By default, a [cloud](../../../resource-manager/concepts/resources-hierarchy.md# #### See also {#see-also} -* Learn how to update the VM configuration [here](../vm-control/vm-update-resources.md). \ No newline at end of file +* Learn how to update the VM configuration [here](../vm-control/vm-update-resources.md). From ee9a51cbff6a4284b2dbf44dc4431305424eb2fb Mon Sep 17 00:00:00 2001 From: Kay0k1 Date: Fri, 20 Mar 2026 19:14:40 +0300 Subject: [PATCH 8/8] Remove platform_id description from create-vm doc Remove platform_id description from VM creation documentation. --- ru/compute/operations/vm-create/create-vm-with-gpu.md | 1 - 1 file changed, 1 deletion(-) diff --git a/ru/compute/operations/vm-create/create-vm-with-gpu.md b/ru/compute/operations/vm-create/create-vm-with-gpu.md index 4d416c4aa4..a68d343426 100644 --- a/ru/compute/operations/vm-create/create-vm-with-gpu.md +++ b/ru/compute/operations/vm-create/create-vm-with-gpu.md @@ -184,7 +184,6 @@ description: Следуя данной инструкции, вы сможете * `yandex_compute_instance` — описание ВМ: * `name` — имя ВМ. * {% include [terraform-allow-stopping](../../../_includes/compute/terraform-allow-stopping.md) %} - * `platform_id` — идентификатор [платформы](../../concepts/vm-platforms.md): * `zone` — зона доступности, в которой будет находиться ВМ. {% include [gpu-zones](../../../_includes/compute/gpu-zones.md) %}