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
# Setup Network Observability for Azure Kubernetes Service (AKS) - Azure managed Prometheus and Grafana
14
14
15
-
AKS Network Observability is used to collect the network traffic data of your AKS cluster. Network Observability enables a centralized platform for monitoring application and network health. Prometheus collects AKS Network Observability metrics, and Grafana visualizes them. Both Cilium and non-Cilium data plane are supported. In this article, learn how to enable the Network Observability add-on and use Azure managed Prometheus and Grafana to visualize the scraped metrics.
15
+
AKS Network Observability is used to collect the network traffic data of your AKS cluster.
16
+
Network Observability enables a centralized platform for monitoring application and network health.
17
+
Prometheus collects AKS Network Observability metrics, and Grafana visualizes them. Both Cilium and non-Cilium data plane are supported.
18
+
In this article, learn how to enable Network Observability and use Azure managed Prometheus and Grafana to visualize the scraped metrics.
16
19
17
20
For more information about AKS Network Observability, see [What is Azure Kubernetes Service (AKS) Network Observability?](network-observability-overview.md).
18
21
@@ -31,7 +34,7 @@ For more information about AKS Network Observability, see [What is Azure Kuberne
31
34
>
32
35
>For lower Kubernetes versions, extra steps are required to enable Network Observability.
33
36
34
-
#### [**Kubernetes version >= 1.29**](#tab/later-k8s-versions)
37
+
#### [**Kubernetes version >= 1.29**](#tab/newer-k8s-versions)
35
38
36
39
#### Create a resource group
37
40
@@ -45,14 +48,13 @@ az group create \
45
48
46
49
#### Create AKS cluster
47
50
48
-
Create an AKS cluster with [az aks create](/cli/azure/aks#az-aks-create). The following example creates an AKS cluster named **myAKSCluster** in the **myResourceGroup** resource group:
51
+
Create an AKS cluster with [az aks create](/cli/azure/aks#az-aks-create).
52
+
The following examples each create an AKS cluster named **myAKSCluster** in the **myResourceGroup** resource group.
49
53
50
-
##### [**Non-Cilium**](#tab/non-cilium)
54
+
##### Example 1: **Non-Cilium**
51
55
52
56
Use [az aks create](/cli/azure/aks#az-aks-create) in the following example to create a non-Cilium AKS cluster.
53
57
54
-
##### New cluster
55
-
56
58
```azurecli-interactive
57
59
az aks create \
58
60
--name myAKSCluster \
@@ -65,7 +67,7 @@ az aks create \
65
67
--kubernetes-version 1.29
66
68
```
67
69
68
-
#### [**Cilium**](#tab/cilium)
70
+
#### Example 2: **Cilium**
69
71
70
72
Use [az aks create](/cli/azure/aks#az-aks-create) in the following example to create a Cilium AKS cluster.
71
73
@@ -83,8 +85,6 @@ az aks create \
83
85
--pod-cidr 192.168.0.0/16
84
86
```
85
87
86
-
---
87
-
88
88
#### [**Kubernetes version < 1.29**](#tab/older-k8s-versions)
89
89
90
90
#### Install the `aks-preview` Azure CLI extension
@@ -137,15 +137,15 @@ az group create \
137
137
--location eastus
138
138
```
139
139
140
-
#### Create AKS cluster
140
+
#### Create or Update an AKS cluster
141
141
142
-
Create an AKS cluster with [az aks create](/cli/azure/aks#az-aks-create). The following example creates an AKS cluster named **myAKSCluster** in the **myResourceGroup** resource group:
142
+
The following examples each create or update an AKS cluster named **myAKSCluster** in the **myResourceGroup** resource group.
143
143
144
-
##### [**Non-Cilium**](#tab/non-cilium)
144
+
##### Example 1: **Non-Cilium**
145
145
146
-
Use [az aks create](/cli/azure/aks#az-aks-create) in the following example to create a non-Cilium AKS cluster with Network Observability.
146
+
###### Create Cluster
147
147
148
-
###### New cluster
148
+
Use [az aks create](/cli/azure/aks#az-aks-create) in the following example to create a non-Cilium AKS cluster with Network Observability.
149
149
150
150
```azurecli-interactive
151
151
az aks create \
@@ -159,9 +159,9 @@ az aks create \
159
159
--enable-network-observability
160
160
```
161
161
162
-
###### Existing cluster
162
+
###### Update Existing Cluster
163
163
164
-
Use [az aks update](/cli/azure/aks#az-aks-update) to enable Network Observability for an existing cluster.
164
+
Use [az aks update](/cli/azure/aks#az-aks-update) to enable Network Observability for an existing non-Cilium cluster.
165
165
166
166
```azurecli-interactive
167
167
az aks update \
@@ -170,7 +170,7 @@ az aks update \
170
170
--enable-network-observability
171
171
```
172
172
173
-
##### [**Cilium**](#tab/cilium)
173
+
##### Example 2: **Cilium**
174
174
175
175
Use [az aks create](/cli/azure/aks#az-aks-create) in the following example to create a Cilium AKS cluster.
176
176
@@ -190,8 +190,6 @@ az aks create \
190
190
191
191
---
192
192
193
-
---
194
-
195
193
## Azure managed Prometheus and Grafana
196
194
197
195
Use the following example to install and enable Prometheus and Grafana for your AKS cluster.
0 commit comments