Skip to content

Commit 36cc4ad

Browse files
Merge pull request #210527 from shanhix1/patch-7
Deprecation note updates for AKS-Engine and Helm-Model add-on
2 parents 3f961bb + 48211d5 commit 36cc4ad

File tree

1 file changed

+6
-17
lines changed

1 file changed

+6
-17
lines changed

articles/governance/policy/concepts/policy-for-kubernetes.md

Lines changed: 6 additions & 17 deletions
Original file line numberDiff line numberDiff line change
@@ -25,16 +25,9 @@ Azure Policy for Kubernetes supports the following cluster environments:
2525

2626
- [Azure Kubernetes Service (AKS)](../../../aks/intro-kubernetes.md)
2727
- [Azure Arc enabled Kubernetes](../../../azure-arc/kubernetes/overview.md)
28-
- [AKS Engine](https://github.com/Azure/aks-engine/blob/master/docs/README.md)
2928

3029
> [!IMPORTANT]
31-
> The add-ons for AKS Engine and Arc enabled Kubernetes are in **preview**. Azure Policy for
32-
> Kubernetes only supports Linux node pools and built-in policy definitions (custom policy
33-
> definitions is a _public preview_ feature). Built-in policy definitions are in the **Kubernetes**
34-
> category. The limited preview policy definitions with **EnforceOPAConstraint** and
35-
> **EnforceRegoPolicy** effect and the related **Kubernetes Service** category are _deprecated_.
36-
> Instead, use the effects _audit_ and _deny_ with Resource Provider mode
37-
> `Microsoft.Kubernetes.Data`.
30+
> The Azure Policy Add-on Helm model and the add-on for AKS Engine have been _deprecated_. Instructions can be found below for [removal of those add-ons](#remove-the-add-on). The Azure Policy Extension for Azure Arc enabled Kubernetes is in _preview_.
3831
3932
## Overview
4033

@@ -370,9 +363,6 @@ role-based access control (Azure RBAC) policy assignment operations. The Azure b
370363
**Resource Policy Contributor** and **Owner** have these operations. To learn more, see
371364
[Azure RBAC permissions in Azure Policy](../overview.md#azure-rbac-permissions-in-azure-policy).
372365

373-
> [!NOTE]
374-
> Custom policy definitions is a _public preview_ feature.
375-
376366
Find the built-in policy definitions for managing your cluster using the Azure portal with the
377367
following steps. If using a custom policy definition, search for it by name or the category that
378368
you created it with.
@@ -392,8 +382,7 @@ you created it with.
392382

393383
> [!NOTE]
394384
> When assigning the Azure Policy for Kubernetes definition, the **Scope** must include the
395-
> cluster resource. For an AKS Engine cluster, the **Scope** must be the resource group of the
396-
> cluster.
385+
> cluster resource.
397386
398387
1. Give the policy assignment a **Name** and **Description** that you can use to identify it easily.
399388

@@ -662,23 +651,23 @@ To remove the Azure Policy Add-on from your AKS cluster, use either the Azure po
662651
az aks disable-addons --addons azure-policy --name MyAKSCluster --resource-group MyResourceGroup
663652
```
664653

654+
### Remove the add-on from Azure Arc enabled Kubernetes
655+
665656
> [!NOTE]
666657
> Azure Policy Add-on Helm model is now deprecated. Please opt for the [Azure Policy Extension for Azure Arc enabled Kubernetes](#install-azure-policy-extension-for-azure-arc-enabled-kubernetes) instead.
667658
668-
### Remove the add-on from Azure Arc enabled Kubernetes
669-
670659
To remove the Azure Policy Add-on and Gatekeeper from your Azure Arc enabled Kubernetes cluster, run
671660
the following Helm command:
672661

673662
```bash
674663
helm uninstall azure-policy-addon
675664
```
676665

666+
### Remove the add-on from AKS Engine
667+
677668
> [!NOTE]
678669
> The AKS Engine product is now deprecated for Azure public cloud customers. Please consider using [Azure Kubernetes Service (AKS)](https://azure.microsoft.com/services/kubernetes-service/) for managed Kubernetes or [Cluster API Provider Azure](https://github.com/kubernetes-sigs/cluster-api-provider-azure) for self-managed Kubernetes. There are no new features planned; this project will only be updated for CVEs & similar, with Kubernetes 1.24 as the final version to receive updates.
679670
680-
### Remove the add-on from AKS Engine
681-
682671
To remove the Azure Policy Add-on and Gatekeeper from your AKS Engine cluster, use the method that
683672
aligns with how the add-on was installed:
684673

0 commit comments

Comments
 (0)