你当前正在访问 Microsoft Azure Global Edition 技术文档网站。 如果需要访问由世纪互联运营的 Microsoft Azure 中国技术文档网站,请访问 https://docs.azure.cn。
Az.Aks
Commands to interact with Azure managed Kubernetes clusters.
Kubernetes Service
Disable-AzAksAddOn |
Disable the addons for aks. |
Enable-AzAksAddOn |
Enable the addons for aks. |
Get-AzAksCluster |
List Kubernetes managed clusters. |
Get-AzAksMaintenanceConfiguration |
Gets the specified maintenance configuration of a managed cluster. |
Get-AzAksManagedClusterCommandResult |
Gets the results of a command which has been run on the Managed Cluster. |
Get-AzAksManagedClusterOSOption |
Gets supported OS options in the specified subscription. |
Get-AzAksManagedClusterOutboundNetworkDependencyEndpoint |
Gets a list of egress endpoints (network endpoints of all outbound dependencies) in the specified managed cluster. The operation returns properties of each egress endpoint. |
Get-AzAksNodePool |
List node pools in specified cluster. |
Get-AzAksNodePoolUpgradeProfile |
Gets the upgrade profile for an agent pool. |
Get-AzAksSnapshot |
Gets a snapshot. |
Get-AzAksUpgradeProfile |
Gets the upgrade profile of a managed cluster. |
Get-AzAksVersion |
List available version for creating managed Kubernetes cluster. The operation returns properties of each orchestrator including version, available upgrades and whether that version or upgrades are in preview. |
Import-AzAksCredential |
Import and merge Kubectl config for a managed Kubernetes Cluster. |
Install-AzAksCliTool |
Download and install kubectl and kubelogin. |
Invoke-AzAksAbortAgentPoolLatestOperation |
Aborts the currently running operation on the agent pool. The Agent Pool will be moved to a Canceling state and eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can take place, a 409 error code is returned. |
Invoke-AzAksAbortManagedClusterLatestOperation |
Aborts the currently running operation on the managed cluster. The Managed Cluster will be moved to a Canceling state and eventually to a Canceled state when cancellation finishes. If the operation completes before cancellation can take place, a 409 error code is returned. |
Invoke-AzAksRotateManagedClusterServiceAccountSigningKey |
Rotates the service account signing keys of a managed cluster. |
Invoke-AzAksRunCommand |
Run a shell command (with kubectl, helm) on your aks cluster, support attaching files as well. |
New-AzAksCluster |
Create a new managed Kubernetes cluster. The cmdlet may call below Microsoft Graph API according to input parameters:
|
New-AzAksMaintenanceConfiguration |
Creates or updates a maintenance configuration in the specified managed cluster. |
New-AzAksNodePool |
Create a new node pool in specified cluster. |
New-AzAksSnapshot |
Creates or updates a snapshot. |
New-AzAksTimeInWeekObject |
Create an in-memory object for TimeInWeek. |
New-AzAksTimeSpanObject |
Create an in-memory object for TimeSpan. |
Remove-AzAksCluster |
Delete a managed Kubernetes cluster. |
Remove-AzAksMaintenanceConfiguration |
Deletes a maintenance configuration. |
Remove-AzAksNodePool |
Delete node pool from managed cluster. |
Remove-AzAksSnapshot |
Deletes a snapshot. |
Set-AzAksCluster |
Update or create a managed Kubernetes cluster. |
Set-AzAksClusterCredential |
Reset the ServicePrincipal of an existing AKS cluster. |
Start-AzAksCluster |
See starting a cluster for more details about starting a cluster. |
Start-AzAksDashboard |
Create a Kubectl SSH tunnel to the managed cluster's dashboard. |
Start-AzAksManagedClusterCommand |
AKS will create a pod to run the command. This is primarily useful for private clusters. For more information see AKS Run Command. |
Stop-AzAksCluster |
This can only be performed on Azure Virtual Machine Scale set backed clusters. Stopping a cluster stops the control plane and agent nodes entirely, while maintaining all object and cluster state. A cluster does not accrue charges while it is stopped. See stopping a cluster for more details about stopping a cluster. |
Stop-AzAksDashboard |
Stop the Kubectl SSH tunnel created in Start-AzKubernetesDashboard. |
Update-AzAksNodePool |
Update node pool in a managed cluster. |