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
Copy file name to clipboardExpand all lines: articles/aks/api-server-vnet-integration.md
+21-18Lines changed: 21 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,8 +12,6 @@ ms.custom: references_regions
12
12
13
13
An Azure Kubernetes Service (AKS) cluster configured with API Server VNet Integration (Preview) projects the API server endpoint directly into a delegated subnet in the VNet where AKS is deployed. API Server VNet Integartion enables network communication between the API server and the cluster nodes without requiring a private link or tunnel. The API server is available behind an Internal Load Balancer VIP in the delegated subnet, which the nodes are configured to utilize. By using API Server VNet Integration, you can ensure network traffic between your API server and your node pools remains on the private network only.
14
14
15
-
[!INCLUDE [preview features callout](./includes/preview/preview-callout.md)]
16
-
17
15
## API server connectivity
18
16
19
17
The control plane or API server is in an Azure Kubernetes Service (AKS)-managed Azure subscription. A customer's cluster or node pool is in the customer's subscription. The server and the virtual machines that make up the cluster nodes can communicate with each other through the API server VIP and pod IPs that are projected into the delegated subnet.
@@ -31,33 +29,37 @@ API Server VNet Integration is available in all global Azure regions except the
31
29
* Azure CLI with aks-preview extension 0.5.97 or later.
32
30
* If using ARM or the REST API, the AKS API version must be 2022-04-02-preview or later.
33
31
34
-
###Install the aks-preview CLI extension
32
+
## Install the aks-preview Azure CLI extension
35
33
36
-
```azurecli-interactive
37
-
# Install the aks-preview extension
34
+
[!INCLUDE [preview features callout](includes/preview/preview-callout.md)]
35
+
36
+
To install the aks-preview extension, run the following command:
37
+
38
+
```azurecli
38
39
az extension add --name aks-preview
40
+
```
41
+
42
+
Run the following command to update to the latest version of the extension released:
39
43
40
-
# Update the extension to make sure you have the latest version installed
44
+
```azurecli
41
45
az extension update --name aks-preview
42
46
```
43
47
44
-
### Register the `EnableAPIServerVnetIntegrationPreview` preview feature
45
-
46
-
To create an AKS cluster with API Server VNet Integration, you must enable the `EnableAPIServerVnetIntegrationPreview` feature flag on your subscription.
48
+
## Register the 'EnableAPIServerVnetIntegrationPreview' feature flag
47
49
48
-
Register the `EnableAPIServerVnetIntegrationPreview` feature flag by using the `az feature register` command, as shown in the following example:
50
+
Register the `EnableAPIServerVnetIntegrationPreview` feature flag by using the [az feature register][az-feature-register] command, as shown in the following example:
49
51
50
52
```azurecli-interactive
51
53
az feature register --namespace "Microsoft.ContainerService" --name "EnableAPIServerVnetIntegrationPreview"
52
54
```
53
55
54
-
It takes a few minutes for the status to show *Registered*. Verify the registration status by using the `az feature list` command:
56
+
It takes a few minutes for the status to show *Registered*. Verify the registration status by using the [az feature show][az-feature-show] command:
55
57
56
58
```azurecli-interactive
57
-
az feature list -o table --query "[?contains(name, 'Microsoft.ContainerService/EnableAPIServerVnetIntegrationPreview')].{Name:name,State:properties.state}"
59
+
az feature show --namespace "Microsoft.ContainerService" --name "EnableAPIServerVnetIntegrationPreview"
58
60
```
59
61
60
-
When the feature has been registered, refresh the registration of the *Microsoft.ContainerService* resource provider by using the `az provider register` command:
62
+
When the status reflects *Registered*, refresh the registration of the *Microsoft.ContainerService* resource provider by using the [az provider register][az-provider-register] command:
61
63
62
64
```azurecli-interactive
63
65
az provider register --namespace Microsoft.ContainerService
@@ -227,11 +229,12 @@ az aks update -n <cluster-name> \
227
229
For associated best practices, see [Best practices for network connectivity and security in AKS][operator-best-practices-network].
Copy file name to clipboardExpand all lines: articles/aks/azure-cni-overlay.md
+9-4Lines changed: 9 additions & 4 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -115,13 +115,13 @@ Register the `AzureOverlayPreview` feature flag by using the [az feature registe
115
115
az feature register --namespace "Microsoft.ContainerService" --name "AzureOverlayPreview"
116
116
```
117
117
118
-
It takes a few minutes for the status to show *Registered*. Verify the registration status by using the [az feature list][az-feature-list] command:
118
+
It takes a few minutes for the status to show *Registered*. Verify the registration status by using the [az feature show][az-feature-show] command:
119
119
120
120
```azurecli-interactive
121
-
az feature list -o table --query "[?contains(name, 'Microsoft.ContainerService/AzureOverlayPreview')].{Name:name,State:properties.state}"
121
+
az feature show --namespace "Microsoft.ContainerService" --name "AzureOverlayPreview"
122
122
```
123
123
124
-
When ready, refresh the registration of the *Microsoft.ContainerService* resource provider by using the [az provider register][az-provider-register] command:
124
+
When the status reflects *Registered*, refresh the registration of the *Microsoft.ContainerService* resource provider by using the [az provider register][az-provider-register] command:
125
125
126
126
```azurecli-interactive
127
127
az provider register --namespace Microsoft.ContainerService
@@ -157,4 +157,9 @@ The following steps create a new virtual network with a subnet for the cluster n
157
157
158
158
## Next steps
159
159
160
-
To learn how to utilize AKS with your own Container Network Interface (CNI) plugin, see [Bring your own Container Network Interface (CNI) plugin](use-byo-cni.md).
160
+
To learn how to utilize AKS with your own Container Network Interface (CNI) plugin, see [Bring your own Container Network Interface (CNI) plugin](use-byo-cni.md).
Copy file name to clipboardExpand all lines: articles/aks/azure-cni-powered-by-cilium.md
+18-13Lines changed: 18 additions & 13 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -19,8 +19,6 @@ By making use of eBPF programs loaded into the Linux kernel and a more efficient
19
19
- Better observability of cluster traffic
20
20
- Support for larger clusters (more nodes, pods, and services)
21
21
22
-
[!INCLUDE [preview features callout](./includes/preview/preview-callout.md)]
23
-
24
22
## IP Address Management (IPAM) with Azure CNI Powered by Cilium
25
23
26
24
Azure CNI Powered by Cilium can be deployed using two different methods for assigning pod IPs:
@@ -55,33 +53,37 @@ Azure CNI powered by Cilium currently has the following limitations:
55
53
* Azure CLI with aks-preview extension 0.5.109 or later.
56
54
* If using ARM templates or the REST API, the AKS API version must be 2022-09-02-preview or later.
57
55
58
-
###Install the aks-preview CLI extension
56
+
## Install the aks-preview Azure CLI extension
59
57
60
-
```azurecli-interactive
61
-
# Install the aks-preview extension
58
+
[!INCLUDE [preview features callout](includes/preview/preview-callout.md)]
59
+
60
+
To install the aks-preview extension, run the following command:
61
+
62
+
```azurecli
62
63
az extension add --name aks-preview
64
+
```
65
+
66
+
Run the following command to update to the latest version of the extension released:
63
67
64
-
# Update the extension to make sure you have the latest version installed
68
+
```azurecli
65
69
az extension update --name aks-preview
66
70
```
67
71
68
-
### Register the `CiliumDataplanePreview` preview feature
69
-
70
-
To create an AKS cluster with Azure CNI powered by Cilium, you must enable the `CiliumDataplanePreview` feature flag on your subscription.
72
+
## Register the 'CiliumDataplanePreview' feature flag
71
73
72
-
Register the `CiliumDataplanePreview` feature flag by using the `az feature register` command, as shown in the following example:
74
+
Register the `CiliumDataplanePreview` feature flag by using the [az feature register][az-feature-register] command, as shown in the following example:
73
75
74
76
```azurecli-interactive
75
77
az feature register --namespace "Microsoft.ContainerService" --name "CiliumDataplanePreview"
76
78
```
77
79
78
-
It takes a few minutes for the status to show *Registered*. Verify the registration status by using the `az feature list` command:
80
+
It takes a few minutes for the status to show *Registered*. Verify the registration status by using the [az feature show][az-feature-show] command:
79
81
80
82
```azurecli-interactive
81
-
az feature list -o table --query "[?contains(name, 'Microsoft.ContainerService/CiliumDataplanePreview')].{Name:name,State:properties.state}"
83
+
az feature show --namespace "Microsoft.ContainerService" --name "CiliumDataplanePreview"
82
84
```
83
85
84
-
When the feature has been registered, refresh the registration of the *Microsoft.ContainerService* resource provider by using the `az provider register` command:
86
+
When the status reflects *Registered*, refresh the registration of the *Microsoft.ContainerService* resource provider by using the [az provider register][az-provider-register] command:
85
87
86
88
```azurecli-interactive
87
89
az provider register --namespace Microsoft.ContainerService
@@ -174,3 +176,6 @@ Learn more about networking in AKS in the following articles:
Copy file name to clipboardExpand all lines: articles/aks/configure-kube-proxy.md
+19-14Lines changed: 19 additions & 14 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -20,40 +20,42 @@ author: phealy
20
20
21
21
The AKS managed `kube-proxy` DaemonSet can also be disabled entirely if that is desired to support [bring-your-own CNI][aks-byo-cni].
22
22
23
-
[!INCLUDE [preview features callout](./includes/preview/preview-callout.md)]
24
-
25
23
## Prerequisites
26
24
27
25
* Azure CLI with aks-preview extension 0.5.105 or later.
28
26
* If using ARM or the REST API, the AKS API version must be 2022-08-02-preview or later.
29
27
30
-
###Install the aks-preview CLI extension
28
+
## Install the aks-preview Azure CLI extension
31
29
32
-
```azurecli-interactive
33
-
# Install the aks-preview extension
30
+
[!INCLUDE [preview features callout](includes/preview/preview-callout.md)]
31
+
32
+
To install the aks-preview extension, run the following command:
33
+
34
+
```azurecli
34
35
az extension add --name aks-preview
36
+
```
37
+
38
+
Run the following command to update to the latest version of the extension released:
35
39
36
-
# Update the extension to make sure you have the latest version installed
40
+
```azurecli
37
41
az extension update --name aks-preview
38
42
```
39
43
40
-
### Register the `KubeProxyConfigurationPreview` preview feature
41
-
42
-
To create an AKS cluster with custom `kube-proxy` configuration, you must enable the `KubeProxyConfigurationPreview` feature flag on your subscription.
44
+
## Register the 'KubeProxyConfigurationPreview' feature flag
43
45
44
-
Register the `KubeProxyConfigurationPreview` feature flag by using the `az feature register` command, as shown in the following example:
46
+
Register the `KubeProxyConfigurationPreview` feature flag by using the [az feature register][az-feature-register] command, as shown in the following example:
45
47
46
48
```azurecli-interactive
47
49
az feature register --namespace "Microsoft.ContainerService" --name "KubeProxyConfigurationPreview"
48
50
```
49
51
50
-
It takes a few minutes for the status to show *Registered*. Verify the registration status by using the `az feature list` command:
52
+
It takes a few minutes for the status to show *Registered*. Verify the registration status by using the [az feature show][az-feature-show] command:
51
53
52
54
```azurecli-interactive
53
-
az feature list -o table --query "[?contains(name, 'Microsoft.ContainerService/KubeProxyConfigurationPreview')].{Name:name,State:properties.state}"
55
+
az feature show --namespace "Microsoft.ContainerService" --name "KubeProxyConfigurationPreview"
54
56
```
55
57
56
-
When the feature has been registered, refresh the registration of the *Microsoft.ContainerService* resource provider by using the `az provider register` command:
58
+
When the status reflects *Registered*, refresh the registration of the *Microsoft.ContainerService* resource provider by using the [az provider register][az-provider-register] command:
57
59
58
60
```azurecli-interactive
59
61
az provider register --namespace Microsoft.ContainerService
@@ -135,4 +137,7 @@ Learn more about Kubernetes services at the [Kubernetes services documentation][
Copy file name to clipboardExpand all lines: articles/aks/configure-kubenet-dual-stack.md
+23-18Lines changed: 23 additions & 18 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -12,8 +12,6 @@ AKS clusters can now be deployed in a dual-stack (using both IPv4 and IPv6 addre
12
12
13
13
This article shows you how to use dual-stack networking with an AKS cluster. For more information on network options and considerations, see [Network concepts for Kubernetes and AKS][aks-network-concepts].
14
14
15
-
[!INCLUDE [preview features callout](./includes/preview/preview-callout.md)]
16
-
17
15
## Limitations
18
16
> [!NOTE]
19
17
> Dual-stack kubenet networking is currently not available in sovereign clouds. This note will be removed when rollout is complete.
@@ -34,36 +32,40 @@ This article shows you how to use dual-stack networking with an AKS cluster. For
34
32
* Azure CLI with the `aks-preview` extension 0.5.48 or newer.
35
33
* If using Azure Resource Manager templates, schema version 2021-10-01 is required.
36
34
37
-
### Register the `AKS-EnableDualStack`preview feature
35
+
##Install the aks-preview Azure CLI extension
38
36
39
-
To create an AKS dual-stack cluster, you must enable the `AKS-EnableDualStack` feature flag on your subscription.
37
+
[!INCLUDE [preview features callout](includes/preview/preview-callout.md)]
40
38
41
-
Register the `AKS-EnableDualStack` feature flag by using the `az feature register` command, as shown in the following example:
39
+
To install the aks-preview extension, run the following command:
42
40
43
-
```azurecli-interactive
44
-
az feature register --namespace "Microsoft.ContainerService" --name "AKS-EnableDualStack"
41
+
```azurecli
42
+
az extension add --name aks-preview
45
43
```
46
44
47
-
It takes a few minutes for the status to show *Registered*. Verify the registration status by using the `az feature list` command:
45
+
Run the following command to update to the latest version of the extension released:
48
46
49
-
```azurecli-interactive
50
-
az feature list -o table --query "[?contains(name, 'Microsoft.ContainerService/AKS-EnableDualStack')].{Name:name,State:properties.state}"
47
+
```azurecli
48
+
az extension update --name aks-preview
51
49
```
52
50
53
-
When ready, refresh the registration of the *Microsoft.ContainerService* resource provider by using the `az provider register` command:
51
+
## Register the 'AKS-EnableDualStack' feature flag
52
+
53
+
Register the `AKS-EnableDualStack` feature flag by using the [az feature register][az-feature-register] command, as shown in the following example:
54
54
55
55
```azurecli-interactive
56
-
az provider register --namespace Microsoft.ContainerService
56
+
az feature register --namespace "Microsoft.ContainerService" --name "AKS-EnableDualStack"
57
57
```
58
58
59
-
### Install the aks-preview CLI extension
59
+
It takes a few minutes for the status to show *Registered*. Verify the registration status by using the [az feature show][az-feature-show] command:
60
60
61
61
```azurecli-interactive
62
-
# Install the aks-preview extension
63
-
az extension add --name aks-preview
62
+
az feature show --namespace "Microsoft.ContainerService" --name "AKS-EnableDualStack"
63
+
```
64
64
65
-
# Update the extension to make sure you have the latest version installed
66
-
az extension update --name aks-preview
65
+
When the status reflects *Registered*, refresh the registration of the *Microsoft.ContainerService* resource provider by using the [az provider register][az-provider-register] command:
66
+
67
+
```azurecli-interactive
68
+
az provider register --namespace Microsoft.ContainerService
67
69
```
68
70
69
71
## Overview of dual-stack networking in Kubernetes
@@ -400,4 +402,7 @@ curl -s "http://[${SERVICE_IP}]" | head -n5
0 commit comments