Skip to content

Commit

Permalink
fix: enable accelerated networking as a flag in azure vms
Browse files Browse the repository at this point in the history
Signed-off-by: bthananjeyan <[email protected]>
  • Loading branch information
bthananjeyan committed Oct 17, 2024
1 parent d5fa9a0 commit a69267d
Showing 1 changed file with 11 additions and 2 deletions.
13 changes: 11 additions & 2 deletions python/ray/autoscaler/_private/_azure/azure-vm-template.json
Original file line number Diff line number Diff line change
Expand Up @@ -107,6 +107,13 @@
"metadata": {
"descriptions": "Subnet resource id."
}
},
"enableAcceleratedNetworking": {
"type": "bool",
"defaultValue": false,
"metadata": {
"descriptions": "Whether to enable accelerated networking."
}
}
},
"variables": {
Expand Down Expand Up @@ -148,7 +155,8 @@
],
"networkSecurityGroup": {
"id": "[parameters('nsg')]"
}
},
"enableAcceleratedNetworking": "[parameters('enableAcceleratedNetworking')]"
},
"condition": "[parameters('provisionPublicIp')]"
},
Expand All @@ -175,7 +183,8 @@
],
"networkSecurityGroup": {
"id": "[parameters('nsg')]"
}
},
"enableAcceleratedNetworking": "[parameters('enableAcceleratedNetworking')]"
},
"condition": "[not(parameters('provisionPublicIp'))]"
},
Expand Down

0 comments on commit a69267d

Please sign in to comment.