Azure Kubernetes Service로 만든 Virtual Machine Scale Set에서 OS Disk 의 SKU를 Standard SSD LRS로 변경하는 방법이 있을까요?

안녕하세요, 김예건입니다.
다름이 아니라 회사에서 클라우드 인프라를 구축하고 있는데 질문이 있어 글을 남깁니다.

Azure Kubernetes Service를 다음 Bicep 파일로 배포한 뒤 한 달 후에 비용 청구를 받았습니다.

@description('Azure Kubernetes Service (AKS) 이름.')
param clusterName string = 'kubernetes'

@description('Azure Kubernetes Service (AKS) 배포 위치.')
param location string = resourceGroup().location

resource aksCluster 'Microsoft.ContainerService/managedClusters@2022-02-01' = {
  name: clusterName
  location: location
  sku: {
    name: 'Basic'
    tier: 'Free'
  }
  identity: {
    type: 'SystemAssigned'
  }
  properties: {
    kubernetesVersion: '1.23.5'
    enableRBAC: true
    agentPoolProfiles: [
      {
        name: 'agentpool'
        mode: 'System'
        type:'VirtualMachineScaleSets'
        orchestratorVersion: '1.23.5'
        enableAutoScaling: false
        enableFIPS: false
        maxPods: 110
        count: 1
        vmSize: 'Standard_B2s'
        osType:'Linux'
        osSKU:'Ubuntu'
        osDiskType: 'Managed'
        osDiskSizeGB: 30
        enableUltraSSD: false
        enableNodePublicIP: false
      }
    ]
    dnsPrefix: 'kubernetes-cluster-dns'
    networkProfile: {
      loadBalancerSku: 'basic'
      networkPlugin: 'kubenet'
    }
  }
}

비용이 어떻게 나오나 Cost Management를 분석해보니 예상치 못한 Premium SSD Managed Disk - P10 - Korea Central 비용이 나왔습니다.

그래서 찾아보니, AKS(Azure Kubernetes Service)가 만든 VMSS(Virtual Machine Scale Set)에서 OS Disk SKU로 Premium SSD LRS를 사용하고 있다는 걸 발견했습니다.

image

이걸 Standard SSD LRS로 변경하고 싶은데 어떻게 하면 좋을지 몰라서 질문을 올립니다.

참고 자료

1개의 좋아요

MS 직원인 @Prrudram-MSFT 이 아래와 같이 답변을 해줬습니다.

I have tried to repro this using portal method and created an AKS cluster. Strangely there was no choice for the selection of storage type for the OS disk, it selected the Premium LRS only. I have reached out to internal teams to understand if this is the default behavior for the AKS cluster.
Though when we just spin a VMSS, it does give us the choice of selection for OS disk storage type. I will get back after checking with the concerned team.

현재 AKS가 만든 VMSS는 OS disk로 Premium LRS 만 선택이 가능한가 봅니다.

4개의 좋아요