Lewati Navigasi

Templat Azure Quickstart saat ini tersedia dalam bahasa Inggris

Azure Container Service (AKS) with Helm

Terakhir diperbarui: 25/07/2022

Deploy a managed cluster with Azure Container Service (AKS) with Helm

Templat Azure Resource Manager ini dibuat oleh anggota komunitas dan bukan oleh Microsoft. Setiap templat Resource Manager dilisensikan kepada Anda berdasarkan perjanjian lisensi oleh pemiliknya, bukan Microsoft. Microsoft tidak bertanggung jawab atas templat Resource Manager yang disediakan dan dilisensikan oleh anggota komunitas dan tidak menyaring keamanan, kompatibilitas, atau performa. Templat Community Resource Manager tidak didukung di bawah program atau layanan dukungan Microsoft apa pun, dan tersedia SEBAGAIMANA ADANYA tanpa jaminan apa pun.

Parameter

Nama Parameter Deskripsi
clusterName The name of the Managed Cluster resource.
location The location of the Managed Cluster resource.
dnsPrefix Optional DNS prefix to use with hosted Kubernetes API server FQDN.
osDiskSizeGB Disk size (in GB) to provision for each of the agent pool nodes. This value ranges from 0 to 1023. Specifying 0 will apply the default disk size for that agentVMSize.
agentCount The number of nodes for the cluster.
agentVMSize The size of the Virtual Machine.
linuxAdminUsername User name for the Linux Virtual Machines.
sshRSAPublicKey Configure all linux machines with the SSH RSA public key string. Your key should include three parts, for example 'ssh-rsa AAAAB...snip...UcyupgH azureuser@linuxvm'
_artifactsLocation The base URI where artifacts required by this template are located
_artifactsLocationSasToken The sasToken required to access artifacts
helmRepo Public Helm Repo Name
helmRepoURL Public Helm Repo URL
helmApp Public Helm App
helmAppName Public Helm App Name

Menggunakan templat

Windows PowerShell

New-AzResourceGroup -Name <resource-group-name> -Location <resource-group-location> #use this command when you need to create a new resource group for your deployment
New-AzResourceGroupDeployment -ResourceGroupName <resource-group-name> -TemplateUri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/quickstarts/microsoft.kubernetes/aks-helm/azuredeploy.json
Menginstal dan mengonfigurasi Azure PowerShell

Baris perintah

az group create --name <resource-group-name> --location <resource-group-location> #use this command when you need to create a new resource group for your deployment
az group deployment create --resource-group <my-resource-group> --template-uri https://raw.githubusercontent.com/Azure/azure-quickstart-templates/master/quickstarts/microsoft.kubernetes/aks-helm/azuredeploy.json
Menginstal dan Mengonfigurasi Azure Cross-Platform Command-Line Interface