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
13
+
# Set up Network Observability for Azure Kubernetes Service (AKS) - Azure managed Prometheus and Grafana
14
14
15
15
AKS Network Observability is used to collect the network traffic data of your AKS cluster.
16
16
Network Observability enables a centralized platform for monitoring application and network health.
17
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.
18
+
In this article, learn how to set up Network Observability and use Azure managed Prometheus and Grafana to visualize the scraped metrics.
19
19
20
20
For more information about AKS Network Observability, see [What is Azure Kubernetes Service (AKS) Network Observability?](network-observability-overview.md).
21
21
@@ -27,14 +27,14 @@ For more information about AKS Network Observability, see [What is Azure Kuberne
27
27
28
28
- Minimum version of **Azure CLI** required for the steps in this article is **2.44.0**. Run `az --version` to find the version. If you need to install or upgrade, see [Install Azure CLI](/cli/azure/install-azure-cli).
29
29
30
-
###Create Cluster
30
+
## Create cluster
31
31
32
32
> [!NOTE]
33
-
>For Kubernetes version 1.29 or higher, Network Observability is included in clusters with Azure Managed Prometheus. Metric scraping is defined via the [AMA metrics profile](/azure/azure-monitor/containers/prometheus-metrics-scrape-configuration).
33
+
>For Kubernetes version >= 1.29, Network Observability is included in clusters with Azure Managed Prometheus. Metric scraping is defined via the [AMA metrics profile](/azure/azure-monitor/containers/prometheus-metrics-scrape-configuration).
34
34
>
35
35
>For lower Kubernetes versions, extra steps are required to enable Network Observability.
36
36
37
-
####[**Kubernetes version >= 1.29**](#tab/newer-k8s-versions)
37
+
### [**Kubernetes version >= 1.29**](#tab/newer-k8s-versions)
38
38
39
39
#### Create a resource group
40
40
@@ -85,7 +85,7 @@ az aks create \
85
85
--pod-cidr 192.168.0.0/16
86
86
```
87
87
88
-
####[**Kubernetes version < 1.29**](#tab/older-k8s-versions)
88
+
### [**Kubernetes version < 1.29**](#tab/older-k8s-versions)
89
89
90
90
#### Install the `aks-preview` Azure CLI extension
91
91
@@ -137,13 +137,13 @@ az group create \
137
137
--location eastus
138
138
```
139
139
140
-
#### Create or Update an AKS cluster
140
+
#### Create or Update AKS cluster
141
141
142
142
The following examples each create or update an AKS cluster named **myAKSCluster** in the **myResourceGroup** resource group.
143
143
144
144
##### Example 1: **Non-Cilium**
145
145
146
-
###### Create Cluster
146
+
###### Create cluster
147
147
148
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
@@ -159,7 +159,7 @@ az aks create \
159
159
--enable-network-observability
160
160
```
161
161
162
-
###### Update Existing Cluster
162
+
###### Update Existing cluster
163
163
164
164
Use [az aks update](/cli/azure/aks#az-aks-update) to enable Network Observability for an existing non-Cilium cluster.
165
165
@@ -190,7 +190,7 @@ az aks create \
190
190
191
191
---
192
192
193
-
## Azure managed Prometheus and Grafana
193
+
## Set up Azure managed Prometheus and Grafana
194
194
195
195
Use the following example to install and enable Prometheus and Grafana for your AKS cluster.
196
196
@@ -248,6 +248,12 @@ az aks update \
248
248
--grafana-resource-id $grafanaId
249
249
```
250
250
251
+
## Get cluster credentials
252
+
253
+
```azurecli-interactive
254
+
az aks get-credentials --name myAKSCluster --resource-group myResourceGroup
0 commit comments