From 617dcf7c720102dd24ddfb2025aca5ded0b79b65 Mon Sep 17 00:00:00 2001 From: tei-k Date: Thu, 5 Nov 2020 12:05:32 +0900 Subject: [PATCH 1/2] Fix to use standard ssd for azure scalardl --- modules/azure/scalardl/cluster/main.tf | 1 + modules/azure/scalardl/envoy.tf | 1 + 2 files changed, 2 insertions(+) diff --git a/modules/azure/scalardl/cluster/main.tf b/modules/azure/scalardl/cluster/main.tf index 80ac5515b..4bf81aa8f 100644 --- a/modules/azure/scalardl/cluster/main.tf +++ b/modules/azure/scalardl/cluster/main.tf @@ -12,6 +12,7 @@ module "cluster" { vnet_subnet_id = var.subnet_id vm_size = var.resource_type ssh_key = var.public_key_path + storage_account_type = "Standard_LRS" storage_os_disk_size = var.resource_root_volume_size availability_set_id = var.availability_set_id delete_os_disk_on_termination = true diff --git a/modules/azure/scalardl/envoy.tf b/modules/azure/scalardl/envoy.tf index 4ce4190d0..d8429953f 100644 --- a/modules/azure/scalardl/envoy.tf +++ b/modules/azure/scalardl/envoy.tf @@ -18,6 +18,7 @@ module "envoy_cluster" { vnet_subnet_id = local.envoy.subnet_id vm_size = local.envoy.resource_type ssh_key = local.public_key_path + storage_account_type = "Standard_LRS" storage_os_disk_size = local.envoy.resource_root_volume_size delete_os_disk_on_termination = true remote_port = local.envoy.target_port From 45081284c9d75830e64c939d174431fde23d0c8b Mon Sep 17 00:00:00 2001 From: tei-k Date: Thu, 5 Nov 2020 14:13:36 +0900 Subject: [PATCH 2/2] Fix to use StandardSSD_LRS --- modules/azure/scalardl/cluster/main.tf | 2 +- modules/azure/scalardl/envoy.tf | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/modules/azure/scalardl/cluster/main.tf b/modules/azure/scalardl/cluster/main.tf index 4bf81aa8f..6b8adb99d 100644 --- a/modules/azure/scalardl/cluster/main.tf +++ b/modules/azure/scalardl/cluster/main.tf @@ -12,7 +12,7 @@ module "cluster" { vnet_subnet_id = var.subnet_id vm_size = var.resource_type ssh_key = var.public_key_path - storage_account_type = "Standard_LRS" + storage_account_type = "StandardSSD_LRS" storage_os_disk_size = var.resource_root_volume_size availability_set_id = var.availability_set_id delete_os_disk_on_termination = true diff --git a/modules/azure/scalardl/envoy.tf b/modules/azure/scalardl/envoy.tf index d8429953f..8429abd78 100644 --- a/modules/azure/scalardl/envoy.tf +++ b/modules/azure/scalardl/envoy.tf @@ -18,7 +18,7 @@ module "envoy_cluster" { vnet_subnet_id = local.envoy.subnet_id vm_size = local.envoy.resource_type ssh_key = local.public_key_path - storage_account_type = "Standard_LRS" + storage_account_type = "StandardSSD_LRS" storage_os_disk_size = local.envoy.resource_root_volume_size delete_os_disk_on_termination = true remote_port = local.envoy.target_port