Skip to content

Commit fb4a854

Browse files
Merge pull request #239204 from Padmalathas/Padmalathas-patch-3-1
Updating EOLd Linux Distros
2 parents 5798bbb + 4b6d50a commit fb4a854

5 files changed

+17
-17
lines changed

articles/batch/automatic-certificate-rotation.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Enable automatic certificate rotation in a Batch pool
33
description: You can create a Batch pool with a managed identity and a certificate that will automatically be renewed.
44
ms.topic: conceptual
5-
ms.date: 07/16/2021
5+
ms.date: 05/24/2023
66

77
---
88
# Enable automatic certificate rotation in a Batch pool
@@ -61,10 +61,10 @@ Request Body
6161
"imageReference": {
6262
"publisher": "canonical",
6363
"offer": "ubuntuserver",
64-
"sku": "18.04-lts",
64+
"sku": "20.04-lts",
6565
"version": "latest"
6666
},
67-
"nodeAgentSkuId": "batch.node.ubuntu 18.04",
67+
"nodeAgentSkuId": "batch.node.ubuntu 20.04",
6868
"extensions": [
6969
{
7070
"name": "KVExtensions",

articles/batch/batch-parallel-node-tasks.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Run tasks concurrently to maximize usage of Batch compute nodes
33
description: Learn how to increase efficiency and lower costs by using fewer compute nodes and parallelism in an Azure Batch pool.
44
ms.topic: how-to
5-
ms.date: 04/10/2023
5+
ms.date: 05/24/2023
66
ms.custom: "H1Hack27Feb2017, devx-track-csharp"
77
ms.devlang: csharp
88
---
@@ -143,9 +143,9 @@ For more information on adding pools by using the REST API, see [Add a pool to a
143143
"imageReference": {
144144
"publisher": "canonical",
145145
"offer": "ubuntuserver",
146-
"sku": "18.04-lts"
146+
"sku": "20.04-lts"
147147
},
148-
"nodeAgentSKUId": "batch.node.ubuntu 18.04"
148+
"nodeAgentSKUId": "batch.node.ubuntu 20.04"
149149
},
150150
"targetDedicatedComputeNodes":2,
151151
"taskSlotsPerNode":4,

articles/batch/batch-powershell-cmdlets-get-started.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Get started with PowerShell
33
description: A quick introduction to the Azure PowerShell cmdlets you can use to manage Batch resources.
44
ms.topic: how-to
5-
ms.date: 01/21/2021
5+
ms.date: 05/24/2023
66
ms.custom: seodec18, devx-track-azurepowershell
77
---
88

@@ -111,12 +111,12 @@ When using many of these cmdlets, in addition to passing a BatchContext object,
111111

112112
When creating or updating a Batch pool, you specify a [configuration](nodes-and-pools.md#configurations). Pools should generally be configured with Virtual Machine Configuration, which lets you either specify one of the supported Linux or Windows VM images listed in the [Azure Virtual Machines Marketplace](https://azuremarketplace.microsoft.com/marketplace/apps/category/compute?filters=virtual-machine-images&page=1), or provide a custom image that you have prepared. Cloud Services Configuration pools provide only Windows compute nodes and do not support all Batch features.
113113

114-
When you run **New-AzBatchPool**, pass the operating system settings in a PSVirtualMachineConfiguration or PSCloudServiceConfiguration object. For example, the following snippet creates a Batch pool with size Standard_A1 compute nodes in the virtual machine configuration, imaged with Ubuntu Server 18.04-LTS. Here, the **VirtualMachineConfiguration** parameter specifies the *$configuration* variable as the PSVirtualMachineConfiguration object. The **BatchContext** parameter specifies a previously defined variable *$context* as the BatchAccountContext object.
114+
When you run **New-AzBatchPool**, pass the operating system settings in a PSVirtualMachineConfiguration or PSCloudServiceConfiguration object. For example, the following snippet creates a Batch pool with size Standard_A1 compute nodes in the virtual machine configuration, imaged with Ubuntu Server 20.04-LTS. Here, the **VirtualMachineConfiguration** parameter specifies the *$configuration* variable as the PSVirtualMachineConfiguration object. The **BatchContext** parameter specifies a previously defined variable *$context* as the BatchAccountContext object.
115115

116116
```powershell
117-
$imageRef = New-Object -TypeName "Microsoft.Azure.Commands.Batch.Models.PSImageReference" -ArgumentList @("UbuntuServer","Canonical","18.04-LTS")
117+
$imageRef = New-Object -TypeName "Microsoft.Azure.Commands.Batch.Models.PSImageReference" -ArgumentList @("UbuntuServer","Canonical","20.04-LTS")
118118
119-
$configuration = New-Object -TypeName "Microsoft.Azure.Commands.Batch.Models.PSVirtualMachineConfiguration" -ArgumentList @($imageRef, "batch.node.ubuntu 18.04")
119+
$configuration = New-Object -TypeName "Microsoft.Azure.Commands.Batch.Models.PSVirtualMachineConfiguration" -ArgumentList @($imageRef, "batch.node.ubuntu 20.04")
120120
121121
New-AzBatchPool -Id "mypspool" -VirtualMachineSize "Standard_a1" -VirtualMachineConfiguration $configuration -AutoScaleFormula '$TargetDedicated=4;' -BatchContext $context
122122
```

articles/batch/create-pool-availability-zones.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
title: Create a pool across availability zones
33
description: Learn how to create a Batch pool with zonal policy to help protect against failures.
44
ms.topic: how-to
5-
ms.date: 08/06/2021
5+
ms.date: 05/25/2023
66
ms.devlang: csharp
77
---
88

@@ -58,12 +58,12 @@ Request body
5858
"imageReference": {
5959
"publisher": "Canonical",
6060
"offer": "UbuntuServer",
61-
"sku": "18.04-lts"
61+
"sku": "20.04-lts"
6262
},
6363
"nodePlacementConfiguration": {
6464
"policy": "Zonal"
6565
}
66-
"nodeAgentSKUId": "batch.node.ubuntu 18.04"
66+
"nodeAgentSKUId": "batch.node.ubuntu 20.04"
6767
},
6868
"resizeTimeout": "PT15M",
6969
"targetDedicatedNodes": 5,

articles/batch/tutorial-parallel-python.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ title: "Tutorial: Run a parallel workload using the Python API"
33
description: Learn how to process media files in parallel using ffmpeg in Azure Batch with the Batch Python client library.
44
ms.devlang: python
55
ms.topic: tutorial
6-
ms.date: 04/19/2023
6+
ms.date: 05/25/2023
77
ms.custom: mvc, devx-track-python
88
---
99

@@ -155,7 +155,7 @@ input_files = [
155155

156156
### Create a pool of compute nodes
157157

158-
Next, the sample creates a pool of compute nodes in the Batch account with a call to `create_pool`. This defined function uses the Batch [PoolAddParameter](/python/api/azure-batch/azure.batch.models.pooladdparameter) class to set the number of nodes, VM size, and a pool configuration. Here, a [VirtualMachineConfiguration](/python/api/azure-batch/azure.batch.models.virtualmachineconfiguration) object specifies an [ImageReference](/python/api/azure-batch/azure.batch.models.imagereference) to an Ubuntu Server 18.04 LTS image published in the Azure Marketplace. Batch supports a wide range of VM images in the Azure Marketplace, as well as custom VM images.
158+
Next, the sample creates a pool of compute nodes in the Batch account with a call to `create_pool`. This defined function uses the Batch [PoolAddParameter](/python/api/azure-batch/azure.batch.models.pooladdparameter) class to set the number of nodes, VM size, and a pool configuration. Here, a [VirtualMachineConfiguration](/python/api/azure-batch/azure.batch.models.virtualmachineconfiguration) object specifies an [ImageReference](/python/api/azure-batch/azure.batch.models.imagereference) to an Ubuntu Server 20.04 LTS image published in the Azure Marketplace. Batch supports a wide range of VM images in the Azure Marketplace, as well as custom VM images.
159159

160160
The number of nodes and VM size are set using defined constants. Batch supports dedicated nodes and [Spot nodes](batch-spot-vms.md), and you can use either or both in your pools. Dedicated nodes are reserved for your pool. Spot nodes are offered at a reduced price from surplus VM capacity in Azure. Spot nodes become unavailable if Azure doesn't have enough capacity. The sample by default creates a pool containing only five Spot nodes in size *Standard_A1_v2*.
161161

@@ -170,10 +170,10 @@ new_pool = batch.models.PoolAddParameter(
170170
image_reference=batchmodels.ImageReference(
171171
publisher="Canonical",
172172
offer="UbuntuServer",
173-
sku="18.04-LTS",
173+
sku="20.04-LTS",
174174
version="latest"
175175
),
176-
node_agent_sku_id="batch.node.ubuntu 18.04"),
176+
node_agent_sku_id="batch.node.ubuntu 20.04"),
177177
vm_size=_POOL_VM_SIZE,
178178
target_dedicated_nodes=_DEDICATED_POOL_NODE_COUNT,
179179
target_low_priority_nodes=_LOW_PRIORITY_POOL_NODE_COUNT,

0 commit comments

Comments
 (0)