Skip to content

Commit 4cb214f

Browse files
committed
AKS managed identity updates
1 parent b53df0f commit 4cb214f

File tree

2 files changed

+6
-39
lines changed

2 files changed

+6
-39
lines changed

articles/aks/TOC.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -204,7 +204,7 @@
204204
items:
205205
- name: Create service principal
206206
href: kubernetes-service-principal.md
207-
- name: Use managed identities (preview)
207+
- name: Use managed identities
208208
href: use-managed-identity.md
209209
- name: Limit access to cluster configuration file
210210
href: control-kubeconfig-access.md

articles/aks/use-managed-identity.md

Lines changed: 5 additions & 38 deletions
Original file line numberDiff line numberDiff line change
@@ -5,11 +5,11 @@ services: container-service
55
author: saudas
66
manager: saudas
77
ms.topic: article
8-
ms.date: 09/11/2019
8+
ms.date: 03/10/2019
99
ms.author: saudas
1010
---
1111

12-
# Preview - Use managed identities in Azure Kubernetes Service
12+
# Use managed identities in Azure Kubernetes Service
1313

1414
Currently, an Azure Kubernetes Service (AKS) cluster (specifically, the Kubernetes cloud provider) requires a *service principal* to create additional resources like load balancers and managed disks in Azure. Either you must provide a service principal or AKS creates one on your behalf. Service principals typically have an expiration date. Clusters eventually reach a state in which the service principal must be renewed to keep the cluster working. Managing service principals adds complexity.
1515

@@ -20,46 +20,13 @@ AKS creates two managed identities:
2020
- **System-assigned managed identity**: The identity that the Kubernetes cloud provider uses to create Azure resources on behalf of the user. The life cycle of the system-assigned identity is tied to that of the cluster. The identity is deleted when the cluster is deleted.
2121
- **User-assigned managed identity**: The identity that's used for authorization in the cluster. For example, the user-assigned identity is used to authorize AKS to use access control records (ACRs), or to authorize the kubelet to get metadata from Azure.
2222

23-
In this preview period, a service principal is still required. It's used for authorization of add-ons such as monitoring, virtual nodes, Azure Policy, and HTTP application routing. Work is underway to remove the dependency of add-ons on the service principal name (SPN). Eventually, the requirement of an SPN in AKS will be removed completely.
24-
25-
> [!IMPORTANT]
26-
> AKS preview features are available on a self-service, opt-in basis. Previews are provided "as-is" and "as available," and are excluded from the Service Level Agreements and limited warranty. AKS previews are partially covered by customer support on best-effort basis. As such, these features are not meant for production use. For more information, see the following support articles:
27-
>
28-
> - [AKS Support Policies](support-policies.md)
29-
> - [Azure Support FAQ](faq.md)
23+
Any add-ons also authenticate using a managed identity created by the service.
3024

3125
## Before you begin
3226

33-
You must have the following resources installed:
34-
35-
- The Azure CLI, version 2.0.70 or later
36-
- The aks-preview 0.4.14 extension
37-
38-
To install the aks-preview 0.4.14 extension or later, use the following Azure CLI commands:
39-
40-
```azurecli
41-
az extension add --name aks-preview
42-
az extension list
43-
```
44-
45-
> [!CAUTION]
46-
> After you register a feature on a subscription, you can't currently unregister that feature. When you enable some preview features, defaults might be used for all AKS clusters created afterward in the subscription. Don't enable preview features on production subscriptions. Instead, use a separate subscription to test preview features and gather feedback.
47-
48-
```azurecli-interactive
49-
az feature register --name MSIPreview --namespace Microsoft.ContainerService
50-
```
51-
52-
It might take several minutes for the status to show as **Registered**. You can check the registration status by using the [az feature list](https://docs.microsoft.com/cli/azure/feature?view=azure-cli-latest#az-feature-list) command:
27+
You must have the following resource installed:
5328

54-
```azurecli-interactive
55-
az feature list -o table --query "[?contains(name, 'Microsoft.ContainerService/MSIPreview')].{Name:name,State:properties.state}"
56-
```
57-
58-
When the status shows as registered, refresh the registration of the `Microsoft.ContainerService` resource provider by using the [az provider register](https://docs.microsoft.com/cli/azure/provider?view=azure-cli-latest#az-provider-register) command:
59-
60-
```azurecli-interactive
61-
az provider register --namespace Microsoft.ContainerService
62-
```
29+
- The Azure CLI, version 2.2.0 or later
6330

6431
## Create an AKS cluster with managed identities
6532

0 commit comments

Comments
 (0)