안녕하세요, 김예건입니다.
다름이 아니라 회사에서 클라우드 인프라를 구축하고 있는데 질문이 있어 글을 남깁니다.
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를 사용하고 있다는 걸 발견했습니다.
이걸 Standard SSD LRS로 변경하고 싶은데 어떻게 하면 좋을지 몰라서 질문을 올립니다.