You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
description: Learn how to configure a cluster in Azure Kubernetes Service (AKS)
4
4
services: container-service
5
5
ms.topic: article
6
-
ms.date: 08/05/2022
6
+
ms.date: 08/31/2022
7
7
ms.author: jpalma
8
8
author: palma21
9
9
---
@@ -140,6 +140,53 @@ As you work with the node resource group, keep in mind that you can't:
140
140
- Specify names for the managed resources within the node resource group.
141
141
- Modify or delete Azure-created tags of managed resources within the node resource group.
142
142
143
+
## Node Restriction (Preview)
144
+
145
+
The [Node Restriction](https://kubernetes.io/docs/reference/access-authn-authz/admission-controllers/#noderestriction) admission controller limits the Node and Pod objects a kubelet can modify. Node Restriction is on by default in AKS 1.24+ clusters. If you are using an older version use the below commands to create a cluster with Node Restriction or Update an existing cluster to add Node Restriction.
146
+
147
+
[!INCLUDE [preview features callout](./includes/preview/preview-callout.md)]
148
+
149
+
### Before you begin
150
+
151
+
You must have the following resource installed:
152
+
153
+
* The Azure CLI
154
+
* The `aks-preview` extension version 0.5.95 or later
155
+
156
+
#### Install the aks-preview CLI extension
157
+
158
+
```azurecli-interactive
159
+
# Install the aks-preview extension
160
+
az extension add --name aks-preview
161
+
162
+
# Update the extension to make sure you have the latest version installed
163
+
az extension update --name aks-preview
164
+
```
165
+
166
+
### Create an AKS cluster with Node Restriction
167
+
168
+
To create a cluster using Node Restriction.
169
+
170
+
```azurecli-interactive
171
+
az aks create -n aks -g myResourceGroup --enable-node-restriction
172
+
```
173
+
174
+
### Update an AKS cluster with Node Restriction
175
+
176
+
To update a cluster to use Node Restriction.
177
+
178
+
```azurecli-interactive
179
+
az aks update -n aks -g myResourceGroup --enable-node-restriction
180
+
```
181
+
182
+
### Remove Node Restriction from an AKS cluster
183
+
184
+
To remove Node Restriction from a cluster.
185
+
186
+
```azurecli-interactive
187
+
az aks update -n aks -g myResourceGroup --disable-node-restriction
188
+
```
189
+
143
190
## OIDC Issuer (Preview)
144
191
145
192
This enables an OIDC Issuer URL of the provider which allows the API server to discover public signing keys.
0 commit comments