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) 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). 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 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). 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..a68d343426 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}" } ``` @@ -183,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) %} @@ -225,4 +225,4 @@ description: Следуя данной инструкции, вы сможете #### См. также {#see-also} -* Узнайте, как [изменить конфигурацию ВМ](../vm-control/vm-update-resources.md). \ No newline at end of file +* Узнайте, как [изменить конфигурацию ВМ](../vm-control/vm-update-resources.md). 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 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)